	.file	"1141805.c"
	.intel_syntax noprefix
	.text
	.globl	combination
	.type	combination, @function
combination:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jle	.L2
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -24[rbp], eax
.L2:
	mov	QWORD PTR -8[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -12[rbp], 1
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rcx, edx
	mov	edx, 0
	div	rcx
	mov	QWORD PTR -8[rbp], rax
	sub	DWORD PTR -16[rbp], 1
	add	DWORD PTR -12[rbp], 1
.L3:
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	combination, .-combination
	.globl	uniquePaths
	.type	uniquePaths, @function
uniquePaths:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	sub	eax, 2
	mov	esi, edx
	mov	edi, eax
	call	combination
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	uniquePaths, .-uniquePaths
	.section	.rodata
.LC0:
	.string	"PASS"
.LC1:
	.string	"fail"
.LC2:
	.string	"%d %d %d ?= %d %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	esi, 15
	mov	edi, 10
	call	uniquePaths
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 817190
	jne	.L9
	lea	rax, .LC0[rip]
	jmp	.L10
.L9:
	lea	rax, .LC1[rip]
.L10:
	mov	edx, DWORD PTR -8[rbp]
	mov	r9, rax
	mov	r8d, 817190
	mov	ecx, edx
	mov	edx, 15
	mov	esi, 10
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 10
	mov	edi, 15
	call	uniquePaths
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 817190
	jne	.L11
	lea	rax, .LC0[rip]
	jmp	.L12
.L11:
	lea	rax, .LC1[rip]
.L12:
	mov	edx, DWORD PTR -4[rbp]
	mov	r9, rax
	mov	r8d, 817190
	mov	ecx, edx
	mov	edx, 10
	mov	esi, 15
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"1141805.c"
	.text
	.global	__aeabi_uldivmod
	.align	2
	.global	combination
	.syntax unified
	.arm
	.fpu softvfp
	.type	combination, %function
combination:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	ble	.L2
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
.L2:
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L3
.L4:
	ldr	r3, [fp, #-20]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, [fp, #-12]
	mul	r0, r3, r1
	ldr	r1, [fp, #-8]
	mul	r1, r2, r1
	add	ip, r0, r1
	ldr	lr, [fp, #-12]
	umull	r0, r1, lr, r2
	add	r3, ip, r1
	mov	r1, r3
	ldr	r3, [fp, #-16]
	mov	r2, r3
	asr	r3, r2, #31
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	combination, .-combination
	.align	2
	.global	uniquePaths
	.syntax unified
	.arm
	.fpu softvfp
	.type	uniquePaths, %function
uniquePaths:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	sub	r2, r3, #2
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	combination
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	uniquePaths, .-uniquePaths
	.section	.rodata
	.align	2
.LC0:
	.ascii	"PASS\000"
	.align	2
.LC1:
	.ascii	"fail\000"
	.align	2
.LC2:
	.ascii	"%d %d %d ?= %d %s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r1, #15
	mov	r0, #10
	bl	uniquePaths
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, .L14
	cmp	r3, r2
	bne	.L9
	ldr	r3, .L14+4
	b	.L10
.L9:
	ldr	r3, .L14+8
.L10:
	str	r3, [sp, #4]
	ldr	r3, .L14
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	mov	r2, #15
	mov	r1, #10
	ldr	r0, .L14+12
	bl	printf
	mov	r1, #10
	mov	r0, #15
	bl	uniquePaths
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L14
	cmp	r3, r2
	bne	.L11
	ldr	r3, .L14+4
	b	.L12
.L11:
	ldr	r3, .L14+8
.L12:
	str	r3, [sp, #4]
	ldr	r3, .L14
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	mov	r2, #10
	mov	r1, #15
	ldr	r0, .L14+12
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	817190
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
