	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hex_encode
_hex_encode:                            ## @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
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	%rdi, %r14
	movq	_APR_MD5_DIGESTSIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leal	(%rcx,%rcx), %esi
	incl	%esi
	movq	%rax, %rdi
	callq	_apr_palloc
	movq	%rax, %r12
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%rbx), %eax
	shrb	$4, %al
	movzbl	%al, %edi
	callq	_int_to_hex
	movb	%al, (%r12,%rbx,2)
	movzbl	(%r14,%rbx), %edi
	andl	$15, %edi
	callq	_int_to_hex
	movb	%al, 1(%r12,%rbx,2)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	cltq
	movb	$0, (%r12,%rax,2)
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_MD5_DIGESTSIZE,4,2         ## @APR_MD5_DIGESTSIZE
	.no_dead_strip	_hex_encode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hex_encode
_hex_encode:                            ; @hex_encode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x8, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _APR_MD5_DIGESTSIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _APR_MD5_DIGESTSIZE@GOTPAGEOFF]
	ldr	w9, [x21]
	mov	w1, #1
	bfi	w1, w9, #1, #31
	mov	x0, x8
	bl	_apr_palloc
	mov	x19, x0
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	add	x23, x19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20, x22]
	lsr	w0, w8, #4
	bl	_int_to_hex
	sturb	w0, [x23, #-1]
	ldrb	w8, [x20, x22]
	and	w0, w8, #0xf
	bl	_int_to_hex
	strb	w0, [x23], #2
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sbfiz	x8, x8, #1, #32
	strb	wzr, [x19, x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_MD5_DIGESTSIZE,4,2         ; @APR_MD5_DIGESTSIZE
	.no_dead_strip	_hex_encode
.subsections_via_symbols
