	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delta_encode
_delta_encode:                          ## @delta_encode
	.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	%r9, %r15
	movq	%rdi, %r13
	movl	32(%rbp), %r10d
	movq	24(%rbp), %rax
	movq	16(%rbp), %r9
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.5:
	movq	(%r9), %r12
	movl	(%r13), %edi
	subq	$8, %rsp
	movq	%r9, %r11
	movq	%r15, %r9
	pushq	%r10
	pushq	%rax
	pushq	%r11
	callq	*%rbx
	addq	$32, %rsp
	movl	%eax, %r14d
	leaq	(%r15,%r12,4), %rsi
	movq	16(%rbp), %rax
	movq	(%rax), %rdx
	subq	%r12, %rdx
	movq	%r13, %rdi
	callq	_encode_in_place
	movl	%r14d, %eax
	jmp	LBB0_4
LBB0_1:
	movq	(%rcx), %r12
	movq	%r8, %rdi
	subq	%r12, %rdi
	movq	(%r9), %rbx
	subq	%rbx, %rax
	movq	%rax, %rsi
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_my_min
	movq	%rax, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %rsi
	leaq	(%r15,%rbx,4), %rdx
	movq	%r13, %rdi
	movq	%r14, %rcx
	callq	_copy_and_encode
	addq	%r14, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	addq	%r14, %rbx
	movq	16(%rbp), %rax
	movq	%rbx, (%rax)
	movq	_LZMA_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
	movq	%rax, %rdx
	cmpq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	jne	LBB0_3
## %bb.2:
	movq	_LZMA_STREAM_END@GOTPCREL(%rip), %rdx
LBB0_3:
	movl	32(%rbp), %esi
	cmpl	%esi, %ecx
	cmovneq	%rdx, %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_RUN,4,2                   ## @LZMA_RUN
	.comm	_LZMA_STREAM_END,4,2            ## @LZMA_STREAM_END
	.comm	_LZMA_OK,4,2                    ## @LZMA_OK
	.no_dead_strip	_delta_encode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delta_encode
_delta_encode:                          ; @delta_encode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	mov	x23, x5
	mov	x20, x4
	mov	x21, x3
	mov	x24, x2
	mov	x22, x0
	ldr	w26, [x29, #16]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x25, [x19]
	ldr	w0, [x22]
	str	w26, [sp]
	mov	x2, x24
	mov	x3, x21
	mov	x4, x20
	mov	x5, x23
	mov	x6, x19
	blr	x8
	mov	x20, x0
	add	x1, x23, x25, lsl #2
	ldr	x8, [x19]
	sub	x2, x8, x25
	mov	x0, x22
	bl	_encode_in_place
	mov	x0, x20
	b	LBB0_3
LBB0_2:
	ldr	x27, [x21]
	sub	x0, x20, x27
	ldr	x28, [x19]
	sub	x1, x7, x28
	bl	_my_min
	mov	x25, x0
	add	x1, x24, x27, lsl #2
	add	x2, x23, x28, lsl #2
	mov	x0, x22
	mov	x3, x25
	bl	_copy_and_encode
	add	x8, x27, x25
	cmp	x8, x20
	str	x8, [x21]
	add	x8, x28, x25
	str	x8, [x19]
Lloh0:
	adrp	x8, _LZMA_RUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_RUN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LZMA_STREAM_END@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LZMA_STREAM_END@GOTPAGEOFF]
	ccmp	w8, w26, #4, eq
Lloh5:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
	csel	x8, x9, x8, ne
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_RUN,4,2                   ; @LZMA_RUN
	.comm	_LZMA_STREAM_END,4,2            ; @LZMA_STREAM_END
	.comm	_LZMA_OK,4,2                    ; @LZMA_OK
	.no_dead_strip	_delta_encode
.subsections_via_symbols
