	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hexnumnstr
_hexnumnstr:                            ## @hexnumnstr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
                                        ## kill: def $esi killed $esi def $rsi
	movslq	%edx, %rcx
	movb	$0, (%rdi,%rcx)
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movl	%eax, %ecx
	testb	$1, %cl
	je	LBB0_3
## %bb.2:
	decq	%rcx
	movl	%esi, %r8d
	andl	$15, %r8d
	leaq	L_.str(%rip), %rdx
	movb	(%r8,%rdx), %r8b
	movl	%ecx, %edx
	movb	%r8b, (%rdi,%rdx)
	sarl	$4, %esi
LBB0_3:
	cmpl	$1, %eax
	je	LBB0_6
## %bb.4:
	addq	$-2, %rcx
	leaq	L_.str(%rip), %r8
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %r9
	movl	%esi, %edx
	andl	$15, %edx
	movzbl	(%rdx,%r8), %r10d
	movl	%r9d, %edx
	movb	%r10b, (%rdi,%rdx)
	movl	%esi, %edx
	shrl	$4, %edx
	andl	$15, %edx
	movzbl	(%rdx,%r8), %r10d
	movl	%ecx, %edx
	movb	%r10b, (%rdi,%rdx)
	sarl	$8, %esi
	addq	$-2, %rcx
	cmpq	$1, %r9
	ja	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789abcdef"

	.no_dead_strip	_hexnumnstr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hexnumnstr
_hexnumnstr:                            ; @hexnumnstr
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	strb	wzr, [x0, w2, sxtw]
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, w2
	add	x8, x8, #1
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	x10, x1, #0xf
	ldrb	w10, [x9, x10]
	sub	w11, w8, #2
	strb	w10, [x0, w11, uxtw]
	asr	w1, w1, #4
	sub	x8, x8, #1
	cmp	x8, #1
	b.hi	LBB0_2
LBB0_3:
	mov	x0, x2
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789abcdef"

	.no_dead_strip	_hexnumnstr
.subsections_via_symbols
