	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecpg_hex_encode                ## -- Begin function ecpg_hex_encode
	.p2align	4, 0x90
_ecpg_hex_encode:                       ## @ecpg_hex_encode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movl	%eax, %r9d
	addq	%rdi, %r9
	leaq	_ecpg_hex_encode.hextbl(%rip), %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %esi
	shrq	$4, %rsi
	movzbl	(%rsi,%r8), %ecx
	movb	%cl, (%rdx)
	movzbl	(%rdi), %ecx
	andl	$15, %ecx
	movzbl	(%rcx,%r8), %ecx
	movb	%cl, 1(%rdx)
	incq	%rdi
	addq	$2, %rdx
	cmpq	%r9, %rdi
	jb	LBB0_2
LBB0_3:
	addl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @ecpg_hex_encode.hextbl
_ecpg_hex_encode.hextbl:
	.asciz	"0123456789abcdef"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecpg_hex_encode                ; -- Begin function ecpg_hex_encode
	.p2align	2
_ecpg_hex_encode:                       ; @ecpg_hex_encode
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_3
; %bb.1:
	add	x8, x0, w1, uxtw
Lloh0:
	adrp	x9, _ecpg_hex_encode.hextbl@PAGE
Lloh1:
	add	x9, x9, _ecpg_hex_encode.hextbl@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x0]
	lsr	x10, x10, #4
	ldrb	w10, [x9, x10]
	strb	w10, [x2]
	ldrb	w10, [x0], #1
	and	x10, x10, #0xf
	ldrb	w10, [x9, x10]
	strb	w10, [x2, #1]
	add	x2, x2, #2
	cmp	x0, x8
	b.lo	LBB0_2
LBB0_3:
	lsl	w0, w1, #1
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
_ecpg_hex_encode.hextbl:                ; @ecpg_hex_encode.hextbl
	.asciz	"0123456789abcdef"

.subsections_via_symbols
