	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hex_to_ascii                   ## -- Begin function hex_to_ascii
	.p2align	4, 0x90
_hex_to_ascii:                          ## @hex_to_ascii
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	%rsi, %rdi
	movl	$48, %esi
	callq	_append
	movq	%r14, %rdi
	movl	$120, %esi
	callq	_append
	cmpl	$268435456, %ebx                ## imm = 0x10000000
	jae	LBB0_1
## %bb.2:
	movl	%ebx, %eax
	cmpl	$16777216, %ebx                 ## imm = 0x1000000
	jae	LBB0_3
## %bb.5:
	shrl	$20, %eax
	andl	$15, %eax
	jne	LBB0_6
## %bb.7:
	movl	%ebx, %eax
	shrl	$16, %eax
	andl	$15, %eax
	jne	LBB0_8
## %bb.9:
	movl	%ebx, %eax
	shrl	$12, %eax
	andl	$15, %eax
	jne	LBB0_10
## %bb.11:
	movl	%ebx, %eax
	shrl	$8, %eax
	andl	$15, %eax
	jne	LBB0_12
## %bb.13:
	movl	%ebx, %eax
	shrl	$4, %eax
	andl	$15, %eax
	jne	LBB0_14
	jmp	LBB0_15
LBB0_1:
	movl	%ebx, %esi
	shrl	$28, %esi
	leal	87(%rsi), %eax
	orl	$48, %esi
	cmpl	$-1342177280, %ebx              ## imm = 0xB0000000
	cmovael	%eax, %esi
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_append
	movl	%ebx, %eax
	shrl	$24, %eax
	andl	$15, %eax
	jmp	LBB0_4
LBB0_3:
	shrl	$24, %eax
LBB0_4:
	leal	87(%rax), %ecx
	movl	%eax, %esi
	orl	$48, %esi
	cmpl	$11, %eax
	cmovael	%ecx, %esi
	movq	%r14, %rdi
	callq	_append
	movl	%ebx, %eax
	shrl	$20, %eax
	andl	$15, %eax
LBB0_6:
	leal	87(%rax), %ecx
	leal	48(%rax), %esi
	cmpl	$11, %eax
	cmovael	%ecx, %esi
	movq	%r14, %rdi
	callq	_append
	movl	%ebx, %eax
	shrl	$16, %eax
	andl	$15, %eax
LBB0_8:
	leal	87(%rax), %ecx
	leal	48(%rax), %esi
	cmpl	$11, %eax
	cmovael	%ecx, %esi
	movq	%r14, %rdi
	callq	_append
	movl	%ebx, %eax
	shrl	$12, %eax
	andl	$15, %eax
LBB0_10:
	leal	87(%rax), %ecx
	leal	48(%rax), %esi
	cmpl	$11, %eax
	cmovael	%ecx, %esi
	movq	%r14, %rdi
	callq	_append
	movl	%ebx, %eax
	shrl	$8, %eax
	andl	$15, %eax
LBB0_12:
	leal	87(%rax), %ecx
	leal	48(%rax), %esi
	cmpl	$11, %eax
	cmovael	%ecx, %esi
	movq	%r14, %rdi
	callq	_append
	movl	%ebx, %eax
	shrl	$4, %eax
	andl	$15, %eax
LBB0_14:
	leal	87(%rax), %ecx
	leal	48(%rax), %esi
	cmpl	$11, %eax
	cmovael	%ecx, %esi
	movq	%r14, %rdi
	callq	_append
LBB0_15:
	andl	$15, %ebx
	leal	48(%rbx), %eax
	leal	87(%rbx), %esi
	cmpl	$10, %ebx
	cmovbl	%eax, %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_append                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hex_to_ascii                   ; -- Begin function hex_to_ascii
	.p2align	2
_hex_to_ascii:                          ; @hex_to_ascii
	.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
	mov	x19, x1
	mov	x20, x0
	mov	w21, #48
	mov	x0, x1
	mov	w1, #48
	bl	_append
	mov	x0, x19
	mov	w1, #120
	bl	_append
	lsr	w8, w20, #28
	cbnz	w8, LBB0_7
; %bb.1:
	lsr	w8, w20, #24
	cbnz	w8, LBB0_8
; %bb.2:
	ubfx	w8, w20, #20, #4
	cbnz	w8, LBB0_9
; %bb.3:
	ubfx	w8, w20, #16, #4
	cbnz	w8, LBB0_10
; %bb.4:
	ubfx	w8, w20, #12, #4
	cbnz	w8, LBB0_11
; %bb.5:
	ubfx	w8, w20, #8, #4
	cbnz	w8, LBB0_12
; %bb.6:
	ubfx	w8, w20, #4, #4
	cbnz	w8, LBB0_13
	b	LBB0_14
LBB0_7:
	add	w9, w8, #87
	bfxil	w21, w20, #28, #4
	cmp	w8, #10
	csel	w1, w9, w21, hi
	mov	x0, x19
	bl	_append
	ubfx	w8, w20, #24, #4
LBB0_8:
	add	w9, w8, #87
	orr	w10, w8, #0x30
	cmp	w8, #10
	csel	w1, w9, w10, hi
	mov	x0, x19
	bl	_append
	ubfx	w8, w20, #20, #4
LBB0_9:
	add	w9, w8, #87
	orr	w10, w8, #0x30
	cmp	w8, #10
	csel	w1, w9, w10, hi
	mov	x0, x19
	bl	_append
	ubfx	w8, w20, #16, #4
LBB0_10:
	add	w9, w8, #87
	orr	w10, w8, #0x30
	cmp	w8, #10
	csel	w1, w9, w10, hi
	mov	x0, x19
	bl	_append
	ubfx	w8, w20, #12, #4
LBB0_11:
	add	w9, w8, #87
	orr	w10, w8, #0x30
	cmp	w8, #10
	csel	w1, w9, w10, hi
	mov	x0, x19
	bl	_append
	ubfx	w8, w20, #8, #4
LBB0_12:
	add	w9, w8, #87
	orr	w10, w8, #0x30
	cmp	w8, #10
	csel	w1, w9, w10, hi
	mov	x0, x19
	bl	_append
	ubfx	w8, w20, #4, #4
LBB0_13:
	add	w9, w8, #87
	orr	w10, w8, #0x30
	cmp	w8, #10
	csel	w1, w9, w10, hi
	mov	x0, x19
	bl	_append
LBB0_14:
	and	w8, w20, #0xf
	mov	w9, #48
	bfxil	w9, w20, #0, #4
	add	w10, w8, #87
	cmp	w8, #9
	csel	w1, w10, w9, hi
	mov	x0, x19
	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
	b	_append
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
