	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_diff                       ## -- Begin function xdl_diff
	.p2align	4, 0x90
_xdl_diff:                              ## @xdl_diff
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %rbx
	cmpq	$0, (%rcx)
	jne	LBB0_1
## %bb.2:
	movq	_xdl_emit_diff@GOTPCREL(%rip), %r14
	jmp	LBB0_3
LBB0_1:
	movq	_xdl_call_hunk_func@GOTPCREL(%rip), %r14
LBB0_3:
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdx
	callq	_xdl_do_diff
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %r13
	movl	(%rbx), %edx
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	callq	_xdl_change_compact
	movl	$-1, %r12d
	testq	%rax, %rax
	js	LBB0_13
## %bb.6:
	movl	(%rbx), %edx
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_xdl_change_compact
	testq	%rax, %rax
	js	LBB0_13
## %bb.7:
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_xdl_build_script
	testq	%rax, %rax
	js	LBB0_13
## %bb.8:
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.9:
	movl	(%rbx), %edx
	movq	_XDF_IGNORE_BLANK_LINES@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_11
## %bb.10:
	leaq	-48(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_xdl_mark_ignorable
	movq	-56(%rbp), %rsi
LBB0_11:
	leaq	-48(%rbp), %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	*%r14
	movq	%rax, %rbx
	movq	-56(%rbp), %rdi
	callq	_xdl_free_script
	testq	%rbx, %rbx
	js	LBB0_13
LBB0_12:
	xorl	%r12d, %r12d
LBB0_13:
	leaq	-48(%rbp), %rdi
	callq	_xdl_free_env
	jmp	LBB0_14
LBB0_4:
	movl	$-1, %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XDF_IGNORE_BLANK_LINES,4,2     ## @XDF_IGNORE_BLANK_LINES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_diff                       ; -- Begin function xdl_diff
	.p2align	2
_xdl_diff:                              ; @xdl_diff
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	ldr	x8, [x3]
Lloh0:
	adrp	x9, _xdl_call_hunk_func@GOTPAGE
Lloh1:
	ldr	x9, [x9, _xdl_call_hunk_func@GOTPAGEOFF]
Lloh2:
	adrp	x10, _xdl_emit_diff@GOTPAGE
Lloh3:
	ldr	x10, [x10, _xdl_emit_diff@GOTPAGEOFF]
	cmp	x8, #0
	csel	x23, x10, x9, eq
	mov	x22, sp
	mov	x3, sp
	bl	_xdl_do_diff
	tbnz	x0, #63, LBB0_11
; %bb.1:
	orr	x22, x22, #0x4
	ldr	w2, [x21]
	mov	x0, sp
	mov	x1, x22
	bl	_xdl_change_compact
	tbnz	x0, #63, LBB0_9
; %bb.2:
	ldr	w2, [x21]
	mov	x1, sp
	mov	x0, x22
	bl	_xdl_change_compact
	tbnz	x0, #63, LBB0_9
; %bb.3:
	mov	x0, sp
	add	x1, sp, #8
	bl	_xdl_build_script
	tbnz	x0, #63, LBB0_9
; %bb.4:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	w2, [x21]
Lloh4:
	adrp	x9, _XDF_IGNORE_BLANK_LINES@GOTPAGE
Lloh5:
	ldr	x9, [x9, _XDF_IGNORE_BLANK_LINES@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w2
	b.eq	LBB0_7
; %bb.6:
	mov	x1, sp
	mov	x0, x8
	bl	_xdl_mark_ignorable
	ldr	x8, [sp, #8]
LBB0_7:
	mov	x0, sp
	mov	x1, x8
	mov	x2, x20
	mov	x3, x19
	blr	x23
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_xdl_free_script
	tbnz	x19, #63, LBB0_9
LBB0_8:
	mov	w19, #0
	b	LBB0_10
LBB0_9:
	mov	w19, #-1
LBB0_10:
	mov	x0, sp
	bl	_xdl_free_env
	b	LBB0_12
LBB0_11:
	mov	w19, #-1
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_XDF_IGNORE_BLANK_LINES,4,2     ; @XDF_IGNORE_BLANK_LINES
.subsections_via_symbols
