	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_pack_header
_put_pack_header:                       ## @put_pack_header
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	(%rdi), %r15
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	movl	$128, %edx
	callq	_init_put_bits
	movq	_PACK_START_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_put_bits32
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rdi
	movl	$2, %esi
	movl	$1, %edx
	jmp	LBB0_3
LBB0_2:
	leaq	-32(%rbp), %rdi
	movl	$4, %esi
	movl	$2, %edx
LBB0_3:
	callq	_put_bits
	movl	%ebx, %edx
	sarl	$30, %edx
	andl	$7, %edx
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_put_bits
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
	movl	%ebx, %edx
	shrl	$15, %edx
	andl	$32767, %edx                    ## imm = 0x7FFF
	movq	%r14, %rdi
	movl	$15, %esi
	callq	_put_bits
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
	andl	$32767, %ebx                    ## imm = 0x7FFF
	movq	%r14, %rdi
	movl	$15, %esi
	movl	%ebx, %edx
	callq	_put_bits
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
	cmpq	$0, 8(%r15)
	je	LBB0_5
## %bb.4:
	leaq	-32(%rbp), %rdi
	movl	$9, %esi
	xorl	%edx, %edx
	callq	_put_bits
LBB0_5:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$22, %esi
	callq	_put_bits
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
	cmpq	$0, 8(%r15)
	je	LBB0_7
## %bb.6:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_put_bits
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$31, %edx
	callq	_put_bits
	movq	%rbx, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_put_bits
LBB0_7:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_flush_put_bits
	movq	%rbx, %rdi
	callq	_put_bits_ptr
	subl	-32(%rbp), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACK_START_CODE,4,2            ## @PACK_START_CODE
	.no_dead_strip	_put_pack_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_pack_header
_put_pack_header:                       ; @put_pack_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	ldr	x20, [x0]
	add	x0, sp, #8
	mov	w2, #128
	bl	_init_put_bits
Lloh0:
	adrp	x8, _PACK_START_CODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACK_START_CODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_put_bits32
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	w1, #2
	mov	w2, #1
	b	LBB0_3
LBB0_2:
	add	x0, sp, #8
	mov	w1, #4
	mov	w2, #2
LBB0_3:
	bl	_put_bits
	asr	w8, w19, #30
	and	w2, w8, #0x7
	add	x0, sp, #8
	mov	w1, #3
	bl	_put_bits
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
	ubfx	w2, w19, #15, #15
	add	x0, sp, #8
	mov	w1, #15
	bl	_put_bits
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
	and	w2, w19, #0x7fff
	add	x0, sp, #8
	mov	w1, #15
	bl	_put_bits
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.4:
	add	x0, sp, #8
	mov	w1, #9
	mov	w2, #0
	bl	_put_bits
LBB0_5:
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
	ldr	w2, [x20]
	add	x0, sp, #8
	mov	w1, #22
	bl	_put_bits
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.6:
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #1
	bl	_put_bits
	add	x0, sp, #8
	mov	w1, #5
	mov	w2, #31
	bl	_put_bits
	add	x0, sp, #8
	mov	w1, #3
	mov	w2, #0
	bl	_put_bits
LBB0_7:
	add	x0, sp, #8
	bl	_flush_put_bits
	add	x0, sp, #8
	bl	_put_bits_ptr
	ldr	w8, [sp, #8]
	sub	w0, w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PACK_START_CODE,4,2            ; @PACK_START_CODE
	.no_dead_strip	_put_pack_header
.subsections_via_symbols
