	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unpack_delta_entry
_unpack_delta_entry:                    ## @unpack_delta_entry
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movl	%edi, -52(%rbp)
	movq	_OBJ_REF_DELTA@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_7
## %bb.1:
	movq	_the_hash_algo@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_fill
	movq	%rax, %rsi
	callq	_hashcpy
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_use
	movq	%r14, %rdi
	callq	_get_data
	movq	%rax, %r12
	movq	_dry_run@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_19
## %bb.2:
	testq	%r12, %r12
	je	LBB0_19
## %bb.3:
	leaq	-48(%rbp), %rdi
	callq	_has_object_file
	testq	%rax, %rax
	je	LBB0_25
LBB0_4:
	leaq	-48(%rbp), %rsi
	movl	%r15d, %edi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_resolve_against_held
	testq	%rax, %rax
	jne	LBB0_30
## %bb.5:
	leaq	-48(%rbp), %rdi
	leaq	-52(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	callq	_read_object_file
	testq	%rax, %rax
	je	LBB0_31
## %bb.6:
	movq	%rax, %rbx
	movl	-52(%rbp), %esi
	movq	-72(%rbp), %rcx
	movl	%r15d, %edi
	movq	%rax, %rdx
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_resolve_delta
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_30
LBB0_7:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	callq	_fill
	movzbl	(%rax), %r14d
	movl	$1, %edi
	callq	_use
	movl	%r14d, %ebx
	andl	$127, %ebx
	testb	%r14b, %r14b
	js	LBB0_20
LBB0_8:
	movq	_obj_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %r14d
	movl	(%rax,%r14,8), %r13d
	subl	%ebx, %r13d
	testl	%ebx, %ebx
	jle	LBB0_10
## %bb.9:
	testl	%r13d, %r13d
	jg	LBB0_11
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_11:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_data
	movq	%rax, %r12
	movq	_dry_run@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_19
## %bb.12:
	testq	%r12, %r12
	je	LBB0_19
## %bb.13:
	testl	%r15d, %r15d
	movq	_obj_list@GOTPCREL(%rip), %rdi
	je	LBB0_28
## %bb.14:
	movq	(%rdi), %rax
	xorl	%edx, %edx
	movl	%r15d, %ecx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%esi, %ecx
	cmpl	%edx, %ecx
	jbe	LBB0_28
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %esi
	subl	%edx, %esi
	shrl	%esi
	addl	%edx, %esi
	cmpl	(%rax,%rsi,8), %r13d
	jl	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	jle	LBB0_27
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	incl	%esi
	movl	%esi, %edx
	cmpl	%edx, %ecx
	ja	LBB0_16
	jmp	LBB0_28
LBB0_19:
	movq	%r12, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_20:
	leaq	L_.str(%rip), %r12
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%r12, %rdi
	callq	_die
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	$1, %edi
	callq	_fill
	movzbl	(%rax), %r14d
	movl	$1, %edi
	callq	_use
	shll	$7, %ebx
	movl	%r14d, %eax
	andl	$127, %eax
	orl	%eax, %ebx
	testb	%r14b, %r14b
	jns	LBB0_8
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	je	LBB0_21
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	%ebx, %edi
	movl	$7, %esi
	callq	_MSB
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_22
LBB0_25:
	leaq	-48(%rbp), %rsi
	movl	%r15d, %edi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_resolve_against_held
	testq	%rax, %rax
	jne	LBB0_30
## %bb.26:
	movq	_obj_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %ecx
	leaq	(%rax,%rcx,8), %rdi
	addq	$4, %rdi
	callq	_oidclr
	leaq	-48(%rbp), %rsi
	movl	%r15d, %edi
	xorl	%edx, %edx
	movq	%r12, %rcx
	movq	%r14, %r8
	jmp	LBB0_29
LBB0_27:
	movl	%esi, %ecx
	leaq	(%rax,%rcx,8), %rsi
	addq	$4, %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_oidcpy
	movq	%rbx, %rdi
	callq	_is_null_oid
	movq	_obj_list@GOTPCREL(%rip), %rdi
	testl	%eax, %eax
	je	LBB0_33
LBB0_28:
	movq	(%rdi), %rax
	leaq	(%rax,%r14,8), %rdi
	addq	$4, %rdi
	callq	_oidclr
	movq	_null_oid@GOTPCREL(%rip), %rsi
	movl	%r15d, %edi
	movl	%r13d, %edx
	movq	%r12, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
LBB0_29:
	callq	_add_delta_to_list
LBB0_30:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	leaq	-48(%rbp), %rdi
	callq	_oid_to_hex
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_error
	movq	_recover@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_34
## %bb.32:
	movq	_has_errors@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_30
LBB0_33:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_34:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_REF_DELTA,4,2              ## @OBJ_REF_DELTA
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.comm	_dry_run,8,3                    ## @dry_run
	.comm	_obj_list,8,3                   ## @obj_list
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"offset value overflow for delta base object"

L_.str.1:                               ## @.str.1
	.asciz	"offset value out of bound for delta base object"

	.comm	_null_oid,4,2                   ## @null_oid
L_.str.2:                               ## @.str.2
	.asciz	"failed to read delta-pack base object %s"

	.comm	_recover,4,2                    ## @recover
	.comm	_has_errors,4,2                 ## @has_errors
	.no_dead_strip	_unpack_delta_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unpack_delta_entry
_unpack_delta_entry:                    ; @unpack_delta_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x19, x1
	str	w0, [sp, #28]
Lloh0:
	adrp	x8, _OBJ_REF_DELTA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJ_REF_DELTA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_6
; %bb.1:
Lloh3:
	adrp	x21, _the_hash_algo@GOTPAGE
Lloh4:
	ldr	x21, [x21, _the_hash_algo@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_fill
	mov	x1, x0
	bl	_hashcpy
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_use
	mov	x0, x19
	bl	_get_data
	mov	x21, x0
Lloh5:
	adrp	x8, _dry_run@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dry_run@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	x0, #0, #4, eq
	b.eq	LBB0_10
; %bb.2:
	add	x0, sp, #8
	bl	_has_object_file
	cbz	x0, LBB0_26
LBB0_3:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_resolve_against_held
	cbnz	x0, LBB0_20
; %bb.4:
	add	x0, sp, #8
	add	x1, sp, #28
	add	x2, sp, #16
	bl	_read_object_file
	cbz	x0, LBB0_28
; %bb.5:
	mov	x22, x0
	ldr	w1, [sp, #28]
	ldr	x3, [sp, #16]
	mov	x0, x20
	mov	x2, x22
	mov	x4, x21
	mov	x5, x19
	bl	_resolve_delta
	mov	x0, x22
	bl	_free
	b	LBB0_20
LBB0_6:
	mov	w0, #1
	bl	_fill
	ldrb	w21, [x0]
	mov	w0, #1
	bl	_use
	and	w8, w21, #0x7f
	tbnz	w21, #7, LBB0_21
LBB0_7:
Lloh8:
	adrp	x23, _obj_list@GOTPAGE
Lloh9:
	ldr	x23, [x23, _obj_list@GOTPAGEOFF]
	ldr	x9, [x23]
	mov	w24, w20
	lsl	x10, x24, #3
	ldr	w9, [x9, x10]
	sub	w22, w9, w8
	cmp	w8, #1
	ccmp	w22, #0, #4, ge
	b.gt	LBB0_9
; %bb.8:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_9:
	mov	x0, x19
	bl	_get_data
	mov	x21, x0
Lloh12:
	adrp	x8, _dry_run@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dry_run@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	x0, #0, #4, eq
	b.ne	LBB0_11
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_free
LBB0_11:
	cbz	w20, LBB0_18
; %bb.12:
	mov	w9, #0
	ldr	x8, [x23]
	mov	x10, x20
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w9, w11, #1
	mov	x11, x10
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x10, x11
	cmp	w11, w9
	b.ls	LBB0_18
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	sub	w11, w10, w9
	add	w11, w9, w11, lsr #1
	lsl	x12, x11, #3
	ldr	w12, [x8, x12]
	cmp	w22, w12
	b.lt	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	b.gt	LBB0_13
; %bb.17:
	add	x8, x8, w11, uxtw #3
	add	x1, x8, #4
	add	x0, sp, #8
	bl	_oidcpy
	add	x0, sp, #8
	bl	_is_null_oid
	cbz	w0, LBB0_3
LBB0_18:
	ldr	x8, [x23]
	add	x8, x8, x24, lsl #3
	add	x0, x8, #4
	bl	_oidclr
Lloh15:
	adrp	x1, _null_oid@GOTPAGE
Lloh16:
	ldr	x1, [x1, _null_oid@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x22
LBB0_19:
	mov	x3, x21
	mov	x4, x19
	bl	_add_delta_to_list
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_21:
Lloh17:
	adrp	x21, l_.str@PAGE
Lloh18:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	x0, x21
	bl	_die
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	w0, #1
	bl	_fill
	ldrb	w23, [x0]
	mov	w0, #1
	bl	_use
	mov	x8, x23
	bfi	w8, w22, #7, #25
	tbz	w23, #7, LBB0_7
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	adds	w22, w8, #1
	b.hs	LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	x0, x22
	mov	w1, #7
	bl	_MSB
	cbnz	x0, LBB0_22
	b	LBB0_23
LBB0_26:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_resolve_against_held
	cbnz	x0, LBB0_20
; %bb.27:
Lloh19:
	adrp	x8, _obj_list@GOTPAGE
Lloh20:
	ldr	x8, [x8, _obj_list@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	add	x8, x8, w20, uxtw #3
	add	x0, x8, #4
	bl	_oidclr
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #0
	b	LBB0_19
LBB0_28:
	add	x0, sp, #8
	bl	_oid_to_hex
	mov	x1, x0
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
Lloh24:
	adrp	x8, _recover@GOTPAGE
Lloh25:
	ldr	x8, [x8, _recover@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cbz	w8, LBB0_30
; %bb.29:
Lloh27:
	adrp	x8, _has_errors@GOTPAGE
Lloh28:
	ldr	x8, [x8, _has_errors@GOTPAGEOFF]
	mov	w9, #1
Lloh29:
	str	w9, [x8]
	b	LBB0_20
LBB0_30:
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_REF_DELTA,4,2              ; @OBJ_REF_DELTA
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.comm	_dry_run,8,3                    ; @dry_run
	.comm	_obj_list,8,3                   ; @obj_list
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"offset value overflow for delta base object"

l_.str.1:                               ; @.str.1
	.asciz	"offset value out of bound for delta base object"

	.comm	_null_oid,4,2                   ; @null_oid
l_.str.2:                               ; @.str.2
	.asciz	"failed to read delta-pack base object %s"

	.comm	_recover,4,2                    ; @recover
	.comm	_has_errors,4,2                 ; @has_errors
	.no_dead_strip	_unpack_delta_entry
.subsections_via_symbols
