	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_block_bind_referenced          ## -- Begin function block_bind_referenced
	.p2align	4, 0x90
_block_bind_referenced:                 ## @block_bind_referenced
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r12d
	movl	%edi, -36(%rbp)
	movl	%edx, %esi
	callq	_block_has_only_binders
	movl	%eax, %edi
	callq	_assert
	movq	_OP_HAS_BINDING@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	leaq	-36(%rbp), %rdi
	callq	_block_take_last
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	-36(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %esi
	callq	_BLOCK
	movl	%eax, %r12d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_block_take_last
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_inst_block
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	%r12d, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_block_bind_subblock
	movl	%ebx, %edi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_block_free
	jmp	LBB0_5
LBB0_6:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_HAS_BINDING,4,2             ## @OP_HAS_BINDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_block_bind_referenced          ; -- Begin function block_bind_referenced
	.p2align	2
_block_bind_referenced:                 ; @block_bind_referenced
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x19, x1
	str	w0, [sp, #12]
	mov	x1, x2
	bl	_block_has_only_binders
	bl	_assert
Lloh0:
	adrp	x8, _OP_HAS_BINDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_HAS_BINDING@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	add	x0, sp, #12
	bl	_block_take_last
	cbz	x0, LBB0_6
; %bb.1:
	orr	w20, w21, w20
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_BLOCK
	mov	x19, x0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	bl	_block_take_last
	cbz	x0, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_inst_block
	mov	x21, x0
	mov	x1, x19
	mov	x2, x20
	mov	w3, #0
	bl	_block_bind_subblock
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_block_free
	b	LBB0_3
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_HAS_BINDING,4,2             ; @OP_HAS_BINDING
.subsections_via_symbols
