	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function n_choose_k
_n_choose_k:                            ## @n_choose_k
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	testl	%esi, %esi
	setg	%al
	movl	%edi, %r15d
	subl	%esi, %r15d
	setge	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_Assert
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_Min
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %r8d
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	movl	$1, %eax
	movl	$1, %esi
	jmp	LBB0_6
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_8
LBB0_4:
	movl	%r8d, %edi
	andl	$-2, %edi
	movl	$1, %eax
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %ecx
	imull	%ebx, %eax
	cltd
	idivl	%esi
	addl	$-2, %ebx
	imull	%ecx, %eax
	leal	1(%rsi), %ecx
	cltd
	idivl	%ecx
	addl	$2, %esi
	cmpl	%edi, %ecx
	jne	LBB0_5
LBB0_6:
	testb	$1, %r8b
	je	LBB0_8
## %bb.7:
	imull	%ebx, %eax
	cltd
	idivl	%esi
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_n_choose_k
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function n_choose_k
_n_choose_k:                            ; @n_choose_k
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	cmp	w1, #0
	ccmp	w0, w1, #8, gt
	cset	w0, ge
	bl	_Assert
	sub	w1, w19, w20
	mov	x0, x20
	bl	_Min
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w9, #0
	mov	w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w9, #1
	mul	w8, w8, w19
	sub	w19, w19, #1
	sdiv	w8, w8, w9
	cmp	w0, w9
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w8, #1
LBB0_4:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_n_choose_k
.subsections_via_symbols
