	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_rdf2buffer_str_hip        ## -- Begin function ldns_rdf2buffer_str_hip
	.p2align	4, 0x90
_ldns_rdf2buffer_str_hip:               ## @ldns_rdf2buffer_str_hip
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_ldns_rdf_data
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_ldns_rdf_size
	cmpq	$5, %rax
	jbe	LBB0_12
## %bb.1:
	movq	(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.2:
	movq	%rax, %r12
	leaq	16(%r13), %rdi
	callq	_ldns_read_uint16
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %r15
	addq	%rbx, %rax
	addq	$4, %rax
	cmpq	%rax, %r12
	jae	LBB0_4
LBB0_12:
	movq	_LDNS_STATUS_WIRE_RDATA_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	8(%r13), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ldns_buffer_printf
	addq	$32, %r13
	testq	%rbx, %rbx
	jle	LBB0_7
## %bb.5:
	incq	%rbx
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ldns_buffer_printf
	addq	$8, %r13
	decq	%rbx
	cmpq	$1, %rbx
	ja	LBB0_6
LBB0_7:
	movl	$32, %esi
	movq	%r14, %rdi
	callq	_ldns_buffer_write_u8
	movq	%r15, %rdi
	callq	_ldns_b64_ntop_calculate_size
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ldns_buffer_reserve
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%r14, %rdi
	callq	_ldns_buffer_current
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_ldns_buffer_remaining
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_ldns_b64_ntop
	testl	%eax, %eax
	jle	LBB0_11
## %bb.9:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_ldns_buffer_remaining
	cmpl	%eax, %ebx
	jge	LBB0_11
## %bb.10:
	addl	%ebx, (%r14)
LBB0_11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ldns_buffer_status             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_STATUS_WIRE_RDATA_ERR,4,2 ## @LDNS_STATUS_WIRE_RDATA_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d "

L_.str.1:                               ## @.str.1
	.asciz	"%02x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_rdf2buffer_str_hip        ; -- Begin function ldns_rdf2buffer_str_hip
	.p2align	2
_ldns_rdf2buffer_str_hip:               ; @ldns_rdf2buffer_str_hip
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_ldns_rdf_data
	mov	x21, x0
	mov	x0, x20
	bl	_ldns_rdf_size
	cmp	x0, #5
	b.ls	LBB0_4
; %bb.1:
	ldr	x23, [x21]
	cbz	x23, LBB0_4
; %bb.2:
	mov	x22, x0
	add	x0, x21, #16
	bl	_ldns_read_uint16
	cbz	x0, LBB0_4
; %bb.3:
	mov	x20, x0
	add	x8, x23, x0
	add	x8, x8, #4
	cmp	x22, x8
	b.hs	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _LDNS_STATUS_WIRE_RDATA_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_STATUS_WIRE_RDATA_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
LBB0_5:
	ldr	w2, [x21, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ldns_buffer_printf
	add	x21, x21, #32
	cmp	x23, #1
	b.lt	LBB0_8
; %bb.6:
	add	x23, x23, #1
Lloh5:
	adrp	x22, l_.str.1@PAGE
Lloh6:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21], #8
	mov	x0, x19
	mov	x1, x22
	bl	_ldns_buffer_printf
	sub	x23, x23, #1
	cmp	x23, #1
	b.hi	LBB0_7
LBB0_8:
	mov	x0, x19
	mov	w1, #32
	bl	_ldns_buffer_write_u8
	mov	x0, x20
	bl	_ldns_b64_ntop_calculate_size
	mov	x1, x0
	mov	x0, x19
	bl	_ldns_buffer_reserve
	cbz	x0, LBB0_12
; %bb.9:
	mov	x0, x19
	bl	_ldns_buffer_current
	mov	x22, x0
	mov	x0, x19
	bl	_ldns_buffer_remaining
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_ldns_b64_ntop
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x20, x0
	mov	x0, x19
	bl	_ldns_buffer_remaining
	cmp	w20, w0
	b.ge	LBB0_12
; %bb.11:
	ldr	w8, [x19]
	add	w8, w8, w20
	str	w8, [x19]
LBB0_12:
	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
	b	_ldns_buffer_status
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_STATUS_WIRE_RDATA_ERR,4,2 ; @LDNS_STATUS_WIRE_RDATA_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d "

l_.str.1:                               ; @.str.1
	.asciz	"%02x"

.subsections_via_symbols
