	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rrinternal_spool_hex
_rrinternal_spool_hex:                  ## @rrinternal_spool_hex
	.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	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_4
## %bb.1:
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rcx
	movq	%rcx, %rdx
	shrq	%rdx
	addq	%r12, %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addl	%eax, (%rsi,%rdx,4)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	movq	%rcx, (%r15)
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%r13,%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_4
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r13,%rbx), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %r14
	cmpq	-64(%rbp), %r14                 ## 8-byte Folded Reload
	jae	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rax
	shrq	%rax
	addq	%r12, %rax
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	jae	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%r13,%rbx), %edi
	callq	_sldns_hexdigit_to_int
	testb	$1, %r14b
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %eax
	movq	(%r15), %rcx
	movq	%rcx, %rdx
	shrq	%rdx
	addq	%r12, %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, (%rsi,%rdx,4)
	jmp	LBB0_14
LBB0_4:
	movq	_LDNS_WIREPARSE_ERR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_LDNS_WIREPARSE_ERR_SYNTAX_RDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_10:
	movq	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edi
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RET_ERR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_WIREPARSE_ERR_SYNTAX_RDATA,4,2 ## @LDNS_WIREPARSE_ERR_SYNTAX_RDATA
	.comm	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL,4,2 ## @LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL
	.comm	_LDNS_WIREPARSE_ERR_OK,4,2      ## @LDNS_WIREPARSE_ERR_OK
	.no_dead_strip	_rrinternal_spool_hex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rrinternal_spool_hex
_rrinternal_spool_hex:                  ; @rrinternal_spool_hex
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldrb	w8, [x0]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	mov	x19, #0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21]
	add	x9, x22, x8, lsr #1
	lsl	x9, x9, #2
	ldr	w10, [x24, x9]
	add	w10, w10, w0
	str	w10, [x24, x9]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	str	x8, [x21]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x25, x19
	ldrb	w8, [x8, #1]
	add	x19, x19, #1
	cbz	w8, LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	and	w0, w8, #0xff
	bl	_isspace
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w0, [x25, x19]
	bl	_isxdigit
	cbz	w0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x26, [x21]
	cmp	x26, x20
	b.hs	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x22, x26, lsr #1
	cmp	x8, x23
	b.hs	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w0, [x25, x19]
	bl	_sldns_hexdigit_to_int
	tbnz	w26, #0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	lsl	w9, w0, #4
	ldr	x8, [x21]
	add	x10, x22, x8, lsr #1
	str	w9, [x24, x10, lsl #2]
	b	LBB0_3
LBB0_11:
Lloh0:
	adrp	x8, _LDNS_WIREPARSE_ERR_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_OK@GOTPAGEOFF]
Lloh2:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh3:
	adrp	x8, _LDNS_WIREPARSE_ERR_SYNTAX_RDATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_SYNTAX_RDATA@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh5:
	adrp	x8, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	mov	x1, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_RET_ERR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_WIREPARSE_ERR_SYNTAX_RDATA,4,2 ; @LDNS_WIREPARSE_ERR_SYNTAX_RDATA
	.comm	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL,4,2 ; @LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL
	.comm	_LDNS_WIREPARSE_ERR_OK,4,2      ; @LDNS_WIREPARSE_ERR_OK
	.no_dead_strip	_rrinternal_spool_hex
.subsections_via_symbols
