	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function QuickHex
LCPI0_0:
	.long	15                              ## 0xf
	.long	15                              ## 0xf
	.long	15                              ## 0xf
	.long	15                              ## 0xf
LCPI0_1:
	.long	10                              ## 0xa
	.long	10                              ## 0xa
	.long	10                              ## 0xa
	.long	10                              ## 0xa
LCPI0_2:
	.byte	55                              ## 0x37
	.byte	55                              ## 0x37
	.byte	55                              ## 0x37
	.byte	55                              ## 0x37
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_3:
	.byte	48                              ## 0x30
	.byte	48                              ## 0x30
	.byte	48                              ## 0x30
	.byte	48                              ## 0x30
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_4:
	.byte	0                               ## 0x0
	.byte	8                               ## 0x8
	.byte	1                               ## 0x1
	.byte	2                               ## 0x2
	.byte	10                              ## 0xa
	.byte	3                               ## 0x3
	.byte	4                               ## 0x4
	.byte	12                              ## 0xc
	.byte	5                               ## 0x5
	.byte	6                               ## 0x6
	.byte	14                              ## 0xe
	.byte	7                               ## 0x7
	.space	1
	.space	1
	.space	1
	.space	1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_QuickHex
	.p2align	4, 0x90
_QuickHex:                              ## @QuickHex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	testl	%edx, %edx
	jle	LBB0_9
## %bb.1:
	movl	%edx, %r9d
	cmpl	$4, %edx
	jb	LBB0_2
## %bb.3:
	leaq	(%rsi,%r9,4), %rax
	cmpq	%rdi, %rax
	jbe	LBB0_5
## %bb.4:
	leaq	(%r9,%r9,2), %rax
	addq	%rdi, %rax
	cmpq	%rsi, %rax
	jbe	LBB0_5
LBB0_2:
	xorl	%r11d, %r11d
	movq	%rdi, %rax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movb	$32, (%rax)
	movl	(%rsi,%r11,4), %ecx
	shrl	$4, %ecx
	andl	$15, %ecx
	leal	55(%rcx), %r8d
	leal	48(%rcx), %edx
	cmpl	$10, %ecx
	movzbl	%dl, %ecx
	movzbl	%r8b, %edx
	cmovbl	%ecx, %edx
	movb	%dl, 1(%rax)
	movl	(%rsi,%r11,4), %ecx
	andl	$15, %ecx
	leal	55(%rcx), %r8d
	leal	48(%rcx), %edx
	cmpl	$10, %ecx
	movzbl	%dl, %ecx
	movzbl	%r8b, %edx
	cmovbl	%ecx, %edx
	movb	%dl, 2(%rax)
	addq	$3, %rax
	incq	%r11
	cmpq	%r11, %r9
	jne	LBB0_8
LBB0_9:
	movb	$0, (%rax)
	subl	%edi, %eax
	incl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
	movl	%r9d, %r11d
	andl	$-4, %r11d
	leaq	(%r11,%r11,2), %r8
	leaq	(%rdi,%r8), %rax
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = [15,15,15,15]
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [10,10,10,10]
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = <55,55,55,55,u,u,u,u,u,u,u,u,u,u,u,u>
	movl	$32, %r10d
	movd	%r10d, %xmm4
	pinsrb	$1, %r10d, %xmm4
	pinsrb	$2, %r10d, %xmm4
	movdqa	LCPI0_3(%rip), %xmm5            ## xmm5 = <48,48,48,48,u,u,u,u,u,u,u,u,u,u,u,u>
	pinsrb	$3, %r10d, %xmm4
	movdqa	LCPI0_4(%rip), %xmm8            ## xmm8 = <0,8,1,2,10,3,4,12,5,6,14,7,u,u,u,u>
	movq	%rsi, %r10
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%r10), %xmm6
	movdqa	%xmm6, %xmm7
	psrld	$4, %xmm7
	pand	%xmm9, %xmm7
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm7, %xmm0
	packssdw	%xmm0, %xmm0
	packsswb	%xmm0, %xmm0
	packusdw	%xmm7, %xmm7
	packuswb	%xmm7, %xmm7
	movdqa	%xmm7, %xmm1
	paddb	%xmm3, %xmm1
	por	%xmm5, %xmm7
	pblendvb	%xmm0, %xmm7, %xmm1
	movdqa	%xmm4, %xmm7
	punpckldq	%xmm1, %xmm7            ## xmm7 = xmm7[0],xmm1[0],xmm7[1],xmm1[1]
	pand	%xmm9, %xmm6
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm6, %xmm0
	packssdw	%xmm0, %xmm0
	packsswb	%xmm0, %xmm0
	packusdw	%xmm6, %xmm6
	packuswb	%xmm6, %xmm6
	movdqa	%xmm6, %xmm1
	paddb	%xmm3, %xmm1
	por	%xmm5, %xmm6
	pblendvb	%xmm0, %xmm6, %xmm1
	punpcklbw	%xmm1, %xmm7            ## xmm7 = xmm7[0],xmm1[0],xmm7[1],xmm1[1],xmm7[2],xmm1[2],xmm7[3],xmm1[3],xmm7[4],xmm1[4],xmm7[5],xmm1[5],xmm7[6],xmm1[6],xmm7[7],xmm1[7]
	pshufb	%xmm8, %xmm7
	pextrd	$2, %xmm7, 8(%rdi,%rcx)
	movq	%xmm7, (%rdi,%rcx)
	addq	$16, %r10
	addq	$12, %rcx
	cmpq	%rcx, %r8
	jne	LBB0_6
## %bb.7:
	cmpq	%r9, %r11
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function QuickHex
lCPI0_0:
	.byte	0                               ; 0x0
	.byte	4                               ; 0x4
	.byte	8                               ; 0x8
	.byte	12                              ; 0xc
	.byte	16                              ; 0x10
	.byte	20                              ; 0x14
	.byte	24                              ; 0x18
	.byte	28                              ; 0x1c
	.byte	32                              ; 0x20
	.byte	36                              ; 0x24
	.byte	40                              ; 0x28
	.byte	44                              ; 0x2c
	.byte	48                              ; 0x30
	.byte	52                              ; 0x34
	.byte	56                              ; 0x38
	.byte	60                              ; 0x3c
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_QuickHex
	.p2align	2
_QuickHex:                              ; @QuickHex
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	cmp	w2, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w9, w2
	cmp	w2, #16
	b.lo	LBB0_6
; %bb.2:
	add	x8, x9, x9, lsl #1
	add	x8, x0, x8
	add	x10, x1, x9, lsl #2
	cmp	x10, x0
	ccmp	x8, x1, #0, hi
	b.hi	LBB0_6
; %bb.3:
	and	x10, x9, #0xfffffff0
	add	x8, x10, x10, lsl #1
	add	x8, x0, x8
	movi.4s	v0, #15
	movi.4s	v1, #10
Lloh0:
	adrp	x11, lCPI0_0@PAGE
Lloh1:
	ldr	q2, [x11, lCPI0_0@PAGEOFF]
	movi.16b	v3, #55
	movi.16b	v4, #48
	movi.16b	v5, #32
	mov	x11, x10
	mov	x12, x0
	mov	x13, x1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q16, q17, [x13]
	ldp	q18, q19, [x13, #32]
	ushr.4s	v20, v19, #4
	ushr.4s	v21, v18, #4
	ushr.4s	v22, v17, #4
	ushr.4s	v23, v16, #4
	and.16b	v23, v23, v0
	and.16b	v24, v22, v0
	and.16b	v25, v21, v0
	and.16b	v26, v20, v0
	cmhi.4s	v20, v1, v26
	cmhi.4s	v21, v1, v25
	uzp1.8h	v20, v21, v20
	cmhi.4s	v21, v1, v24
	cmhi.4s	v22, v1, v23
	uzp1.8h	v21, v22, v21
	uzp1.16b	v20, v21, v20
	tbl.16b	v21, { v23, v24, v25, v26 }, v2
	add.16b	v22, v21, v3
	orr.16b	v21, v21, v4
	mov.16b	v6, v20
	bsl.16b	v6, v21, v22
	and.16b	v20, v16, v0
	and.16b	v21, v17, v0
	and.16b	v22, v18, v0
	and.16b	v23, v19, v0
	cmhi.4s	v16, v1, v23
	cmhi.4s	v17, v1, v22
	uzp1.8h	v16, v17, v16
	cmhi.4s	v17, v1, v21
	cmhi.4s	v18, v1, v20
	uzp1.8h	v17, v18, v17
	uzp1.16b	v16, v17, v16
	tbl.16b	v17, { v20, v21, v22, v23 }, v2
	add.16b	v18, v17, v3
	orr.16b	v17, v17, v4
	mov.16b	v7, v16
	bsl.16b	v7, v17, v18
	st3.16b	{ v5, v6, v7 }, [x12], #48
	add	x13, x13, #64
	subs	x11, x11, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x9
	b.ne	LBB0_7
	b	LBB0_10
LBB0_6:
	mov	x10, #0
	mov	x8, x0
LBB0_7:
	add	x11, x1, x10, lsl #2
	sub	x9, x9, x10
	mov	w10, #32
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	strb	w10, [x8]
	ldr	w12, [x11]
	ubfx	w13, w12, #4, #4
	add	w14, w13, #55
	mov	w15, #48
	bfxil	w15, w12, #4, #4
	cmp	w13, #10
	csel	w12, w15, w14, lo
	strb	w12, [x8, #1]
	ldr	w12, [x11], #4
	and	w13, w12, #0xf
	add	w14, w13, #55
	mov	w15, #48
	bfxil	w15, w12, #0, #4
	cmp	w13, #10
	csel	w13, w15, w14, lo
	add	x12, x8, #3
	strb	w13, [x8, #2]
	mov	x8, x12
	subs	x9, x9, #1
	b.ne	LBB0_8
; %bb.9:
	mov	x8, x12
LBB0_10:
	strb	wzr, [x8]
	sub	w8, w8, w0
	add	w0, w8, #1
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
