	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xdl_call_hunk_func
_xdl_call_hunk_func:                    ## @xdl_call_hunk_func
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)
	xorl	%r14d, %r14d
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rcx, %r13
	movq	%rdx, %r15
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_xdl_get_hunk
	movq	%rax, %rbx
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rdx
	movq	16(%rax), %rdi
	movq	(%rbx), %rcx
	movq	16(%rbx), %rsi
	subq	%rdi, %rsi
	addq	24(%rbx), %rsi
	subq	%rdx, %rcx
	addq	8(%rbx), %rcx
	movl	(%r15), %r8d
	callq	*(%r13)
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rax
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_6
LBB0_4:
	movl	$-1, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xdl_call_hunk_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xdl_call_hunk_func
_xdl_call_hunk_func:                    ; @xdl_call_hunk_func
	.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
	str	x1, [sp, #8]
	cbz	x1, LBB0_5
; %bb.1:
	mov	x19, x3
	mov	x20, x2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, x19
	bl	_xdl_get_hunk
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	ldr	x9, [x19]
	ldr	x0, [x8, #16]
	ldp	x10, x11, [x21, #16]
	sub	x10, x10, x0
	add	x1, x10, x11
	ldr	x2, [x8]
	ldp	x8, x10, [x21]
	sub	x8, x8, x2
	add	x3, x8, x10
	ldr	w4, [x20]
	blr	x9
	tbnz	x0, #63, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #32]
	str	x8, [sp, #8]
	cbnz	x8, LBB0_2
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xdl_call_hunk_func
.subsections_via_symbols
