	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_parse_add_rr
_http_parse_add_rr:                     ## @http_parse_add_rr
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LDNS_RR_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	shlq	$2, %r13
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	$0, -56(%rbp)
	movq	%r14, %rdi
	callq	_sldns_buffer_begin
	movq	%rax, %r12
	movq	%r13, -64(%rbp)
	movq	16(%rbx), %r10
	testq	%r10, %r10
	je	LBB0_1
## %bb.2:
	movq	24(%rbx), %r9
	jmp	LBB0_3
LBB0_1:
	xorl	%r9d, %r9d
LBB0_3:
	movl	32(%rbx), %r8d
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	8(%rbx), %r11
	jmp	LBB0_6
LBB0_4:
	xorl	%r11d, %r11d
LBB0_6:
	subq	$8, %rsp
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_sldns_str2wire_rr_buf
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r14d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %r15d
	movl	4(%rax), %r13d
	movl	%r14d, %edi
	callq	_LDNS_WIREPARSE_OFFSET
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_LDNS_WIREPARSE_ERROR
	movl	%eax, %edi
	callq	_sldns_get_errorstr_parse
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	movq	%r12, %r9
	callq	_log_err
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_8:
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.10:
	movq	-56(%rbp), %rcx
	cmpq	$7, %rcx
	ja	LBB0_12
## %bb.11:
	movq	8(%rbx), %rdi
	movq	%r15, %rsi
	movq	%rcx, %rdx
	callq	_memmove
	movq	-56(%rbp), %rcx
	movq	%rcx, (%rbx)
	movq	-64(%rbp), %rdx
LBB0_12:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	xorl	%r8d, %r8d
	callq	_az_insert_rr
	jmp	LBB0_13
LBB0_9:
	movl	$1, %eax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_BUF_SIZE,4,2           ## @LDNS_RR_BUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s parse failure RR[%d]: %s in '%s'"

	.no_dead_strip	_http_parse_add_rr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_parse_add_rr
_http_parse_add_rr:                     ; @http_parse_add_rr
	.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
	sub	sp, sp, #32
	mov	x20, x3
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _LDNS_RR_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_BUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x24, x8, #2
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x7fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	stur	xzr, [x29, #-72]
	mov	x0, x2
	bl	_sldns_buffer_begin
	mov	x22, x0
	stur	x24, [x29, #-64]
	ldr	w4, [x20, #32]
	ldr	x6, [x20, #16]
	cbz	x6, LBB0_3
; %bb.1:
	ldr	x5, [x20, #24]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
LBB0_2:
	ldr	x7, [x20, #8]
	b	LBB0_5
LBB0_3:
	mov	x5, #0
	ldr	x8, [x20]
	cbnz	x8, LBB0_2
LBB0_4:
	mov	x7, #0
LBB0_5:
	str	x8, [sp, #-16]!
	sub	x2, x29, #64
	sub	x3, x29, #72
	mov	x0, x22
	mov	x1, x21
	bl	_sldns_str2wire_rr_buf
	add	sp, sp, #16
	cbz	w0, LBB0_7
; %bb.6:
	mov	x24, x0
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldp	w20, w19, [x8]
	bl	_LDNS_WIREPARSE_OFFSET
	mov	x21, x0
	mov	x0, x24
	bl	_LDNS_WIREPARSE_ERROR
	bl	_sldns_get_errorstr_parse
	mov	x4, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	x5, x22
	bl	_log_err
	mov	w0, #0
	b	LBB0_12
LBB0_7:
	ldur	x2, [x29, #-64]
	cbz	x2, LBB0_11
; %bb.8:
	ldur	x3, [x29, #-72]
	cmp	x3, #7
	b.hi	LBB0_10
; %bb.9:
	ldr	x0, [x20, #8]
	mov	x1, x21
	mov	x2, x3
	bl	_memmove
	ldp	x3, x2, [x29, #-72]
	str	x3, [x20]
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	mov	x4, #0
	bl	_az_insert_rr
	b	LBB0_12
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #48
	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_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_BUF_SIZE,4,2           ; @LDNS_RR_BUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s parse failure RR[%d]: %s in '%s'"

	.no_dead_strip	_http_parse_add_rr
.subsections_via_symbols
