	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_entry_sparse_add_entry ## -- Begin function archive_entry_sparse_add_entry
	.p2align	4, 0x90
_archive_entry_sparse_add_entry:        ## @archive_entry_sparse_add_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rax
	orq	%rsi, %rax
	js	LBB0_14
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	%rdx, %rax
	cmpq	%rsi, %rax
	jl	LBB0_14
## %bb.2:
	movq	%rdi, %r14
	leaq	(%r15,%rbx), %r12
	callq	_archive_entry_size
	cmpq	%rax, %r12
	jg	LBB0_14
## %bb.3:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	8(%rax), %rcx
	movq	(%rax), %rdx
	addq	%rcx, %rdx
	cmpq	%rbx, %rdx
	jg	LBB0_14
## %bb.5:
	jne	LBB0_8
## %bb.6:
	testq	%r12, %r12
	js	LBB0_14
## %bb.7:
	addq	%r15, %rcx
	movq	%rcx, 8(%rax)
	jmp	LBB0_14
LBB0_8:
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rbx, (%rax)
	movq	%r15, 8(%rax)
	movq	$0, 16(%rax)
	cmpq	$0, 8(%r14)
	je	LBB0_10
## %bb.11:
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.12:
	movq	%rax, 16(%rcx)
LBB0_13:
	movq	%rax, (%r14)
	jmp	LBB0_14
LBB0_10:
	movq	%rax, (%r14)
	movq	%rax, 8(%r14)
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_entry_sparse_add_entry ; -- Begin function archive_entry_sparse_add_entry
	.p2align	2
_archive_entry_sparse_add_entry:        ; @archive_entry_sparse_add_entry
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	orr	x8, x2, x1
	tbnz	x8, #63, LBB0_14
; %bb.1:
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x8, x8, x2
	cmp	x8, x1
	b.lt	LBB0_14
; %bb.2:
	mov	x19, x0
	add	x22, x20, x21
	bl	_archive_entry_size
	cmp	x22, x0
	b.gt	LBB0_14
; %bb.3:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.4:
	ldp	x10, x9, [x8]
	add	x10, x9, x10
	cmp	x10, x21
	b.gt	LBB0_14
; %bb.5:
	b.ne	LBB0_8
; %bb.6:
	tbnz	x22, #63, LBB0_14
; %bb.7:
	add	x9, x9, x20
	str	x9, [x8, #8]
	b	LBB0_14
LBB0_8:
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_14
; %bb.9:
	stp	x21, x20, [x0]
	str	xzr, [x0, #16]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_13
; %bb.10:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.11:
	str	x0, [x8, #16]
LBB0_12:
	str	x0, [x19]
	b	LBB0_14
LBB0_13:
	stp	x0, x0, [x19]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
.subsections_via_symbols
