	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ldns_pkt_push_rr_soa
_ldns_pkt_push_rr_soa:                  ## @ldns_pkt_push_rr_soa
	.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	%r8, %r12
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_LDNS_RR_TYPE_SOA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ldns_rr_new_frm_type
	movq	_LDNS_STATUS_MEM_ERR@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_ldns_rr_set_class
	movq	%rbx, %rdi
	callq	_ldns_rdf_clone
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_ldns_rr_set_owner
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_ldns_rr_set_ttl
	movq	$0, -48(%rbp)
	movq	_LDNS_RDF_TYPE_DNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rdx
	movl	$1, %esi
	callq	_ldns_rdf_new_frm_data
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ldns_rr_set_rdf
	movq	%rbx, %rdi
	callq	_ldns_rdf_clone
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	$1, %edx
	callq	_ldns_rr_set_rdf
	movq	%r12, %rdi
	callq	_htonl
	movq	%rax, -48(%rbp)
	movq	_LDNS_RDF_TYPE_INT32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rdx
	movl	$4, %esi
	callq	_ldns_rdf_new_frm_data
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	$2, %edx
	callq	_ldns_rr_set_rdf
	movq	$0, -48(%rbp)
	movq	_LDNS_RDF_TYPE_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rdx
	movl	$4, %esi
	callq	_ldns_rdf_new_frm_data
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r12
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	$3, %edx
	callq	_ldns_rr_set_rdf
	movq	%r12, %rdi
	callq	_ldns_rdf_clone
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_ldns_rr_set_rdf
	movq	%r12, %rdi
	callq	_ldns_rdf_clone
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	$5, %edx
	callq	_ldns_rr_set_rdf
	movq	%r12, %rdi
	callq	_ldns_rdf_clone
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	$6, %edx
	callq	_ldns_rr_set_rdf
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_ldns_rr_rdf
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_ldns_rr_rdf
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%r13, %rdi
	movl	$5, %esi
	callq	_ldns_rr_rdf
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%r13, %rdi
	movl	$6, %esi
	callq	_ldns_rr_rdf
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	callq	_ldns_pkt_push_rr
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %r15
	jmp	LBB0_11
LBB0_10:
	movq	%r13, %rdi
	callq	_ldns_rr_free
LBB0_11:
	movl	(%r15), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_SOA,4,2           ## @LDNS_RR_TYPE_SOA
	.comm	_LDNS_STATUS_MEM_ERR,4,2        ## @LDNS_STATUS_MEM_ERR
	.comm	_LDNS_RDF_TYPE_DNAME,4,2        ## @LDNS_RDF_TYPE_DNAME
	.comm	_LDNS_RDF_TYPE_INT32,4,2        ## @LDNS_RDF_TYPE_INT32
	.comm	_LDNS_RDF_TYPE_PERIOD,4,2       ## @LDNS_RDF_TYPE_PERIOD
	.comm	_LDNS_STATUS_OK,4,2             ## @LDNS_STATUS_OK
	.no_dead_strip	_ldns_pkt_push_rr_soa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ldns_pkt_push_rr_soa
_ldns_pkt_push_rr_soa:                  ; @ldns_pkt_push_rr_soa
	.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	x22, x4
	mov	x24, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_SOA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_SOA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ldns_rr_new_frm_type
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
	mov	x1, x24
	bl	_ldns_rr_set_class
	mov	x0, x23
	bl	_ldns_rdf_clone
	mov	x1, x0
	mov	x0, x19
	bl	_ldns_rr_set_owner
	mov	x0, x19
	mov	w1, #0
	bl	_ldns_rr_set_ttl
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _LDNS_RDF_TYPE_DNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RDF_TYPE_DNAME@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	w1, #1
	bl	_ldns_rdf_new_frm_data
	cbz	x0, LBB0_10
; %bb.2:
	mov	x23, x0
	mov	x0, x19
	mov	x1, x23
	mov	w2, #0
	bl	_ldns_rr_set_rdf
	mov	x0, x23
	bl	_ldns_rdf_clone
	mov	x1, x0
	mov	x0, x19
	mov	w2, #1
	bl	_ldns_rr_set_rdf
	mov	x0, x22
	bl	_htonl
	str	x0, [sp, #8]
Lloh6:
	adrp	x8, _LDNS_RDF_TYPE_INT32@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LDNS_RDF_TYPE_INT32@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	w1, #4
	bl	_ldns_rdf_new_frm_data
	cbz	x0, LBB0_10
; %bb.3:
	mov	x1, x0
	mov	x0, x19
	mov	w2, #2
	bl	_ldns_rr_set_rdf
	str	xzr, [sp, #8]
Lloh9:
	adrp	x8, _LDNS_RDF_TYPE_PERIOD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LDNS_RDF_TYPE_PERIOD@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	w1, #4
	bl	_ldns_rdf_new_frm_data
	cbz	x0, LBB0_10
; %bb.4:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	mov	w2, #3
	bl	_ldns_rr_set_rdf
	mov	x0, x22
	bl	_ldns_rdf_clone
	mov	x1, x0
	mov	x0, x19
	mov	w2, #4
	bl	_ldns_rr_set_rdf
	mov	x0, x22
	bl	_ldns_rdf_clone
	mov	x1, x0
	mov	x0, x19
	mov	w2, #5
	bl	_ldns_rr_set_rdf
	mov	x0, x22
	bl	_ldns_rdf_clone
	mov	x1, x0
	mov	x0, x19
	mov	w2, #6
	bl	_ldns_rr_set_rdf
	mov	x0, x19
	mov	w1, #1
	bl	_ldns_rr_rdf
	cbz	x0, LBB0_10
; %bb.5:
	mov	x0, x19
	mov	w1, #4
	bl	_ldns_rr_rdf
	cbz	x0, LBB0_10
; %bb.6:
	mov	x0, x19
	mov	w1, #5
	bl	_ldns_rr_rdf
	cbz	x0, LBB0_10
; %bb.7:
	mov	x0, x19
	mov	w1, #6
	bl	_ldns_rr_rdf
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ldns_pkt_push_rr
	cbz	w0, LBB0_10
; %bb.9:
Lloh12:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	bl	_ldns_rr_free
LBB0_11:
Lloh14:
	adrp	x8, _LDNS_STATUS_MEM_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LDNS_STATUS_MEM_ERR@GOTPAGEOFF]
LBB0_12:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_SOA,4,2           ; @LDNS_RR_TYPE_SOA
	.comm	_LDNS_STATUS_MEM_ERR,4,2        ; @LDNS_STATUS_MEM_ERR
	.comm	_LDNS_RDF_TYPE_DNAME,4,2        ; @LDNS_RDF_TYPE_DNAME
	.comm	_LDNS_RDF_TYPE_INT32,4,2        ; @LDNS_RDF_TYPE_INT32
	.comm	_LDNS_RDF_TYPE_PERIOD,4,2       ; @LDNS_RDF_TYPE_PERIOD
	.comm	_LDNS_STATUS_OK,4,2             ; @LDNS_STATUS_OK
	.no_dead_strip	_ldns_pkt_push_rr_soa
.subsections_via_symbols
