	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_hex_encode                 ## -- Begin function h2o_hex_encode
	.p2align	4, 0x90
_h2o_hex_encode:                        ## @h2o_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
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.1:
	testb	$1, %dl
	jne	LBB0_3
## %bb.2:
	movq	%rsi, %rax
	cmpq	$1, %rdx
	jne	LBB0_5
	jmp	LBB0_7
LBB0_3:
	movzbl	(%rsi), %eax
	shrq	$4, %rax
	leaq	L_.str(%rip), %rcx
	movb	(%rax,%rcx), %al
	movb	%al, (%rdi)
	movzbl	(%rsi), %eax
	andl	$15, %eax
	movb	(%rax,%rcx), %al
	movb	%al, 1(%rdi)
	addq	$2, %rdi
	leaq	1(%rsi), %rax
	cmpq	$1, %rdx
	je	LBB0_7
LBB0_5:
	addq	%rdx, %rsi
	leaq	L_.str(%rip), %rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %edx
	shrq	$4, %rdx
	movzbl	(%rdx,%rcx), %edx
	movb	%dl, (%rdi)
	movzbl	(%rax), %edx
	andl	$15, %edx
	movzbl	(%rdx,%rcx), %edx
	movb	%dl, 1(%rdi)
	movzbl	1(%rax), %edx
	shrq	$4, %rdx
	movzbl	(%rdx,%rcx), %edx
	movb	%dl, 2(%rdi)
	movzbl	1(%rax), %edx
	andl	$15, %edx
	movzbl	(%rdx,%rcx), %edx
	movb	%dl, 3(%rdi)
	addq	$4, %rdi
	addq	$2, %rax
	cmpq	%rsi, %rax
	jne	LBB0_6
LBB0_7:
	movb	$0, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789abcdef"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_hex_encode                 ; -- Begin function h2o_hex_encode
	.p2align	2
_h2o_hex_encode:                        ; @h2o_hex_encode
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x1]
	lsr	x9, x9, #4
	ldrb	w9, [x8, x9]
	strb	w9, [x0]
	ldrb	w9, [x1], #1
	and	x9, x9, #0xf
	ldrb	w10, [x8, x9]
	add	x9, x0, #2
	strb	w10, [x0, #1]
	mov	x0, x9
	subs	x2, x2, #1
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x9
LBB0_4:
	strb	wzr, [x0]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789abcdef"

.subsections_via_symbols
