	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_closure
_make_closure:                          ## @make_closure
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rsi), %eax
	movslq	4(%rsi), %r15
	movl	%eax, %esi
	callq	_frame_get_level
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_stack_block
	movq	%rax, %r14
	movq	_ARG_NEWCLOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%r15d, %ebx
	je	LBB0_2
## %bb.1:
	notl	%ebx
	andl	%r15d, %ebx
	movq	8(%r14), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setl	%dil
	callq	_assert
	movq	8(%r14), %rcx
	movslq	%ebx, %rax
	shlq	$2, %rax
	addq	8(%rcx), %rax
	jmp	LBB0_3
LBB0_2:
	movl	%r15d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movq	8(%r14), %rax
	xorl	%edi, %edi
	cmpl	4(%rax), %r15d
	setl	%dil
	callq	_assert
	movq	(%r14), %rcx
	leaq	(%rcx,%r15,8), %rax
	movl	4(%rcx,%r15,8), %r12d
LBB0_3:
	movl	(%rax), %eax
	shlq	$32, %r12
	orq	%rax, %r12
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARG_NEWCLOSURE,4,2             ## @ARG_NEWCLOSURE
	.no_dead_strip	_make_closure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_closure
_make_closure:                          ; @make_closure
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldp	w8, w21, [x1]
                                        ; kill: def $w21 killed $w21 def $x21
	sxtw	x21, w21
	mov	x1, x8
	bl	_frame_get_level
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_stack_block
	mov	x20, x0
Lloh0:
	adrp	x8, _ARG_NEWCLOSURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARG_NEWCLOSURE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
	bic	w21, w21, w8
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cmp	w21, w8
	cset	w0, lt
	bl	_assert
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	add	x8, x8, w21, sxtw #2
	b	LBB0_3
LBB0_2:
	mvn	w8, w21
	lsr	w0, w8, #31
	bl	_assert
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #4]
	cmp	w21, w8
	cset	w0, lt
	bl	_assert
	ldr	x8, [x20]
	add	x8, x8, x21, lsl #3
	ldr	w19, [x8, #4]
LBB0_3:
	ldr	w0, [x8]
	bfi	x0, x19, #32, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARG_NEWCLOSURE,4,2             ; @ARG_NEWCLOSURE
	.no_dead_strip	_make_closure
.subsections_via_symbols
