	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pack_h
_pack_h:                                ## @pack_h
	.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	%r9d, %r12d
	movq	%r8, %r14
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %edi
	callq	_RSTRING_PTR
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_RSTRING_LEN
	movq	_PACK_FLAG_LSB@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	andl	(%rcx), %r12d
	movq	%rax, %r12
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	sete	%r15b
	cmpq	$-1, %r14
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	cmoveq	%rax, %r14
	movslq	-56(%rbp), %rbx                 ## 4-byte Folded Reload
	leal	(%rbx,%r14), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_str_len_ensure
	movl	%eax, %edi
	callq	_RSTRING_PTR
	xorl	%edx, %edx
	addq	%rbx, %rax
	movq	%rax, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	testq	%r14, %r14
	jle	LBB0_9
## %bb.1:
	movb	%r15b, %dl
	shll	$2, %edx
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r13b
	shll	$2, %r13d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %r12
	movq	%rax, %r15
	cmovlq	%r12, %r15
	cmpq	$-1, %rax
	cmoveq	%r12, %r15
	addq	$2, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %ecx
	shll	%cl, %r12d
	movl	%r13d, %ecx
	shll	%cl, %eax
	addl	%r12d, %eax
	movb	%al, (%rbx)
	incq	%rbx
	addq	$-2, %r14
	cmpq	$2, %r14
	jle	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%r12d, %r12d
	testq	%r15, %r15
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movsbl	(%r13), %edi
	callq	_hex2int
	movl	%eax, %r12d
	cmpq	$1, %r15
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	1(%r13), %edi
	addq	$2, %r13
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	callq	_hex2int
                                        ## kill: def $eax killed $eax def $rax
	addq	$-2, %r15
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_8
LBB0_9:
	subl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACK_FLAG_LSB,4,2              ## @PACK_FLAG_LSB
	.no_dead_strip	_pack_h
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pack_h
_pack_h:                                ; @pack_h
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x5
	mov	x20, x4
	mov	x23, x3
	mov	x24, x2
	mov	x21, x1
	mov	x25, x0
	mov	x0, x1
	bl	_RSTRING_PTR
	mov	x19, x0
	mov	x0, x21
	bl	_RSTRING_LEN
	mov	x21, x0
Lloh0:
	adrp	x8, _PACK_FLAG_LSB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACK_FLAG_LSB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	cset	w26, ne
	cset	w28, eq
	cmn	x20, #1
	csel	x27, x0, x20, eq
	add	w2, w27, w23
	mov	x0, x25
	mov	x1, x24
	bl	_str_len_ensure
	bl	_RSTRING_PTR
	add	x22, x0, w23, sxtw
	mov	x25, x22
	cmp	x27, #1
	b.lt	LBB0_9
; %bb.1:
	lsl	w23, w28, #2
	lsl	w24, w26, #2
	cmp	x21, x20
	csel	x8, x21, x20, lt
	cmn	x20, #1
	csel	x26, x21, x8, eq
	add	x21, x27, #2
	mov	x25, x22
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	mov	w0, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w8, w20, w23
	lsl	w9, w0, w24
	add	w8, w9, w8
	strb	w8, [x25], #1
	sub	x21, x21, #2
	cmp	x21, #2
	b.le	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x26, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, x19
	ldrsb	w0, [x27], #1
	bl	_hex2int
	mov	x20, x0
	cmp	x26, #1
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	mov	x26, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x19, #2
	ldrsb	w0, [x19, #1]
	bl	_hex2int
	sub	x26, x26, #2
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, x27
	b	LBB0_3
LBB0_9:
	sub	w0, w25, w22
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PACK_FLAG_LSB,4,2              ; @PACK_FLAG_LSB
	.no_dead_strip	_pack_h
.subsections_via_symbols
