	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function append_obj_to_pack
_append_obj_to_pack:                    ## @append_obj_to_pack
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_objects@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_nr_objects@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rax
	leal	1(%rax), %edx
	movl	%edx, (%rsi)
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	movl	%r8d, %edx
	shll	$4, %edx
	movl	%ecx, %edi
	andl	$15, %edi
	orq	%rdx, %rdi
	xorl	%r14d, %r14d
	cmpq	$16, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jb	LBB0_3
## %bb.1:
	movq	%rcx, %rdx
	shrq	$4, %rdx
	xorl	%r14d, %r14d
	movq	%rdx, %rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	orb	$-128, %dil
	movb	%dil, -58(%rbp,%r14)
	incq	%r14
	movl	%edx, %edi
	andl	$127, %edi
	shrq	$7, %rsi
	cmpq	$127, %rdx
	movq	%rsi, %rdx
	ja	LBB0_2
LBB0_3:
	leaq	(%rax,%rax,4), %r13
	movl	%r14d, %r15d
	incl	%r14d
	movb	%dil, -58(%rbp,%r15)
	movq	%rbx, %rdi
	callq	_crc32_begin
	leaq	-58(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_hashwrite
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%r12,%r13,8)
	movl	%r14d, 8(%r12,%r13,8)
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%r12,%r13,8)
	movl	%eax, 16(%r12,%r13,8)
	movq	32(%r12,%r13,8), %rax
	leaq	1(%r15,%rax), %rax
	movq	%rax, 72(%r12,%r13,8)
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_write_compressed
	addq	%rax, 72(%r12,%r13,8)
	movq	%rbx, %rdi
	callq	_crc32_end
	movl	%eax, 28(%r12,%r13,8)
	movq	%rbx, %rdi
	callq	_hashflush
	movl	24(%r12,%r13,8), %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_hashcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	(%r12,%r13,8), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_objects,8,3                    ## @objects
	.comm	_nr_objects,4,2                 ## @nr_objects
	.no_dead_strip	_append_obj_to_pack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_obj_to_pack
_append_obj_to_pack:                    ; @append_obj_to_pack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x23, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _objects@GOTPAGE
Lloh4:
	ldr	x8, [x8, _objects@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x10, _nr_objects@GOTPAGE
Lloh7:
	ldr	x10, [x10, _nr_objects@GOTPAGEOFF]
	ldrsw	x9, [x10]
	add	w11, w9, #1
	str	w11, [x10]
	lsl	w10, w4, #4
	bfxil	x10, x3, #0, #4
	cmp	x3, #16
	b.hs	LBB0_2
; %bb.1:
	mov	w11, #0
	b	LBB0_4
LBB0_2:
	mov	x11, #0
	lsr	x12, x21, #4
	add	x13, sp, #14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	orr	w10, w10, #0x80
	strb	w10, [x13, x11]
	add	x11, x11, #1
	and	x10, x12, #0x7f
	lsr	x14, x12, #7
	cmp	x12, #127
	mov	x12, x14
	b.hi	LBB0_3
LBB0_4:
	mov	w12, #40
	madd	x24, x9, x12, x8
	add	w25, w11, #1
	add	x8, sp, #14
	strb	w10, [x8, w11, uxtw]
	mov	x0, x20
	bl	_crc32_begin
	add	x1, sp, #14
	mov	x0, x20
	mov	x2, x25
	bl	_hashwrite
	str	x21, [x24]
	stp	w25, w23, [x24, #8]
	str	w23, [x24, #16]
	ldr	x8, [x24, #32]
	add	x8, x8, x25
	str	x8, [x24, #72]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_write_compressed
	ldr	x8, [x24, #72]
	add	x8, x8, x0
	str	x8, [x24, #72]
	mov	x0, x20
	bl	_crc32_end
	str	w0, [x24, #28]
	mov	x0, x20
	bl	_hashflush
	ldr	w0, [x24, #24]
	mov	x1, x19
	bl	_hashcpy
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x24
	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
	add	sp, sp, #112
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_objects,8,3                    ; @objects
	.comm	_nr_objects,4,2                 ; @nr_objects
	.no_dead_strip	_append_obj_to_pack
.subsections_via_symbols
