	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_hex_totext                 ## -- Begin function isc_hex_totext
	.p2align	4, 0x90
_isc_hex_totext:                        ## @isc_hex_totext
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	cmpl	$3, %esi
	movl	$2, %r13d
	cmovgel	%esi, %r13d
	leaq	-43(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$3, %edx
	callq	_memset
	cmpq	$0, (%rbx)
	jle	LBB0_7
## %bb.1:
	leaq	-43(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_str_totext
	movl	%eax, %edi
	callq	_RETERR
	movq	(%rbx), %rax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jle	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_hex@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	shrl	$4, %edx
	andl	$15, %edx
	movzbl	(%rax,%rdx), %edx
	movb	%dl, -43(%rbp)
	andl	$15, %ecx
	movzbl	(%rax,%rcx), %eax
	movb	%al, -42(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_str_totext
	movl	%eax, %edi
	callq	_RETERR
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_isc_region_consume
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	(%r14,%r14), %ecx
	addl	$4, %ecx
	cmpl	%r13d, %ecx
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	testq	%rax, %rax
	jg	LBB0_2
LBB0_7:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hex,8,3                        ## @hex
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_hex_totext                 ; -- Begin function isc_hex_totext
	.p2align	2
_isc_hex_totext:                        ; @isc_hex_totext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x3
	mov	x20, x2
	mov	x21, x0
	mov	w8, #2
	cmp	w1, #2
	csel	w22, w1, w8, gt
	add	x0, sp, #13
	mov	w1, #0
	mov	w2, #3
	bl	_memset
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w24, #0
Lloh0:
	adrp	x23, _hex@GOTPAGE
Lloh1:
	ldr	x23, [x23, _hex@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_str_totext
	bl	_RETERR
	mov	w24, #0
	ldr	x8, [x21]
	cmp	x8, #0
	b.le	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x21, #8]
	ldr	w9, [x9]
	ubfx	x10, x9, #4, #4
	ldrb	w10, [x8, x10]
	strb	w10, [sp, #13]
	and	x9, x9, #0xf
	ldrb	w8, [x8, x9]
	strb	w8, [sp, #14]
	add	x0, sp, #13
	mov	x1, x19
	bl	_str_totext
	bl	_RETERR
	mov	x0, x21
	mov	w1, #1
	bl	_isc_region_consume
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	w9, w24, #1
	add	w9, w9, #4
	cmp	w9, w22
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	cmp	x8, #0
	b.gt	LBB0_3
LBB0_6:
Lloh2:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_hex,8,3                        ; @hex
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
.subsections_via_symbols
