	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hex_convert_memory
_hex_convert_memory:                    ## @hex_convert_memory
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	%rdx, %r9
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	leaq	-1(%rcx), %r10
	leaq	-1(%rsi), %r11
	xorl	%r8d, %r8d
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r8
	movq	%rax, %r9
	cmpq	%r8, %rsi
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%r8), %eax
	movq	%rax, %rdx
	shrq	$4, %rdx
	movzbl	(%rdx,%rbx), %edx
	movb	%dl, (%r9)
	andl	$15, %eax
	movzbl	(%rax,%rbx), %eax
	movb	%al, 1(%r9)
	movq	%r8, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r8, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	2(%r9), %rax
	cmpq	%r8, %r11
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r10, %rdx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$32, 2(%r9)
	addq	$3, %r9
	movq	%r9, %rax
	jmp	LBB0_9
LBB0_1:
	movq	%r9, %rax
LBB0_10:
	movb	$0, (%rax)
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789abcdef"

	.no_dead_strip	_hex_convert_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hex_convert_memory
_hex_convert_memory:                    ; @hex_convert_memory
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_7
; %bb.1:
	mov	x8, #0
	sub	x9, x3, #1
	sub	x10, x1, #1
	mov	w11, #32
Lloh0:
	adrp	x12, l_.str@PAGE
Lloh1:
	add	x12, x12, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	mov	x2, x13
	cmp	x1, x8
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x0, x8]
	lsr	x14, x13, #4
	ldrb	w14, [x12, x14]
	strb	w14, [x2]
	and	x13, x13, #0xf
	ldrb	w14, [x12, x13]
	add	x13, x2, #2
	strb	w14, [x2, #1]
	cmp	x10, x8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	udiv	x14, x8, x3
	msub	x14, x14, x3, x8
	cmp	x14, x9
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x2, #3
	strb	w11, [x2, #2]
	b	LBB0_2
LBB0_6:
	strb	wzr, [x13]
	ret
LBB0_7:
	strb	wzr, [x2]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789abcdef"

	.no_dead_strip	_hex_convert_memory
.subsections_via_symbols
