	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdi_diff                       ## -- Begin function xdi_diff
	.p2align	4, 0x90
_xdi_diff:                              ## @xdi_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	(%rdi), %rdi
	movq	%rdi, -40(%rbp)
	movq	(%rsi), %rcx
	movq	%rcx, -32(%rbp)
	movq	_MAX_XDIFF_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$-1, %eax
	cmpq	%rdx, %rdi
	jg	LBB0_6
## %bb.1:
	cmpq	%rdx, %rcx
	jg	LBB0_6
## %bb.2:
	movq	%r8, %r14
	cmpl	$0, 4(%rbx)
	jne	LBB0_5
## %bb.3:
	movq	_XDL_EMIT_FUNCCONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_trim_common_tail
LBB0_5:
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_xdl_diff
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_XDIFF_SIZE,8,3             ## @MAX_XDIFF_SIZE
	.comm	_XDL_EMIT_FUNCCONTEXT,4,2       ## @XDL_EMIT_FUNCCONTEXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdi_diff                       ; -- Begin function xdi_diff
	.p2align	2
_xdi_diff:                              ; @xdi_diff
	.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
	ldr	x8, [x0]
	ldr	x9, [x1]
	stp	x9, x8, [sp]
Lloh0:
	adrp	x10, _MAX_XDIFF_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_XDIFF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x8, x10
	ccmp	x9, x10, #0, le
	b.le	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_6
LBB0_2:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	ldr	w8, [x3, #4]
	cbnz	w8, LBB0_5
; %bb.3:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _XDL_EMIT_FUNCCONTEXT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XDL_EMIT_FUNCCONTEXT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
	add	x0, sp, #8
	mov	x1, sp
	bl	_trim_common_tail
LBB0_5:
	add	x0, sp, #8
	mov	x1, sp
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_xdl_diff
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_XDIFF_SIZE,8,3             ; @MAX_XDIFF_SIZE
	.comm	_XDL_EMIT_FUNCCONTEXT,4,2       ; @XDL_EMIT_FUNCCONTEXT
.subsections_via_symbols
