	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hexencode
_hexencode:                             ## @hexencode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	$2147483649, %eax               ## imm = 0x80000001
	leaq	(%rax,%rsi,2), %rax
	shrq	$32, %rax
	jne	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	leaq	(%r14,%r14), %rdi
	incq	%rdi
	cmpq	%r14, %rdi
	jb	LBB0_11
## %bb.2:
	testl	%edi, %edi
	js	LBB0_11
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_app_malloc
	movq	%rax, %rdx
	testq	%r14, %r14
	je	LBB0_10
## %bb.4:
	testb	$1, %r14b
	jne	LBB0_6
## %bb.5:
	movq	%r14, %r8
	movq	%rax, %rdx
	cmpq	$1, %r14
	jne	LBB0_8
	jmp	LBB0_10
LBB0_6:
	leaq	-1(%r14), %r8
	movzbl	(%rbx), %edx
	shrq	$4, %rdx
	leaq	L_.str(%rip), %rsi
	movb	(%rdx,%rsi), %dl
	movb	%dl, (%rax)
	movzbl	(%rbx), %edx
	incq	%rbx
	andl	$15, %edx
	movb	(%rdx,%rsi), %sil
	movq	%rax, %rdx
	addq	$2, %rdx
	movb	%sil, 1(%rax)
	cmpq	$1, %r14
	je	LBB0_10
LBB0_8:
	xorl	%esi, %esi
	leaq	L_.str(%rip), %rdi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rsi), %ecx
	shrq	$4, %rcx
	movzbl	(%rcx,%rdi), %ecx
	movb	%cl, (%rdx)
	movzbl	(%rbx,%rsi), %ecx
	andl	$15, %ecx
	movzbl	(%rcx,%rdi), %ecx
	movb	%cl, 1(%rdx)
	movzbl	1(%rbx,%rsi), %ecx
	shrq	$4, %rcx
	movzbl	(%rcx,%rdi), %ecx
	movb	%cl, 2(%rdx)
	movzbl	1(%rbx,%rsi), %ecx
	andl	$15, %ecx
	movzbl	(%rcx,%rdi), %ecx
	movb	%cl, 3(%rdx)
	addq	$4, %rdx
	addq	$2, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_9
LBB0_10:
	movb	$0, (%rdx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_opt_getprog
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_BIO_printf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789abcdef"

	.comm	_bio_err,4,2                    ## @bio_err
L_.str.1:                               ## @.str.1
	.asciz	"%s: %zu-byte buffer too large to hexencode\n"

L_.str.2:                               ## @.str.2
	.asciz	"TLSA hex data buffer"

	.no_dead_strip	_hexencode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hexencode
_hexencode:                             ; @hexencode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	w0, #1
	bfi	x0, x1, #1, #63
	mov	w8, #-2147483647
	add	x8, x8, x1, lsl #1
	lsr	x8, x8, #32
	cmp	x8, #0
	ccmp	x0, x1, #0, eq
	b.lo	LBB0_6
; %bb.1:
	tbnz	w0, #31, LBB0_6
; %bb.2:
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_app_malloc
	mov	x10, x0
	cbz	x19, LBB0_5
; %bb.3:
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
	mov	x9, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20]
	lsr	x10, x10, #4
	ldrb	w10, [x8, x10]
	strb	w10, [x9]
	ldrb	w10, [x20], #1
	and	x10, x10, #0xf
	ldrb	w11, [x8, x10]
	add	x10, x9, #2
	strb	w11, [x9, #1]
	mov	x9, x10
	subs	x19, x19, #1
	b.ne	LBB0_4
LBB0_5:
	strb	wzr, [x10]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh4:
	adrp	x8, _bio_err@GOTPAGE
Lloh5:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
	bl	_opt_getprog
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_BIO_printf
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789abcdef"

	.comm	_bio_err,4,2                    ; @bio_err
l_.str.1:                               ; @.str.1
	.asciz	"%s: %zu-byte buffer too large to hexencode\n"

l_.str.2:                               ; @.str.2
	.asciz	"TLSA hex data buffer"

	.no_dead_strip	_hexencode
.subsections_via_symbols
