	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function save_a
_save_a:                                ## @save_a
	.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
	movl	%r9d, %r12d
	movq	%r8, %r15
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movl	(%rsi), %edi
	movl	%edx, %esi
	callq	_ns_msg_count
	testl	%eax, %eax
	jle	LBB0_23
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_2
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	%r12, %rax
	addq	$16, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edi
	callq	_ns_rr_rdata
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	$16, %edx
	callq	_memcpy
	movq	_NAMESERVER_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, 8(%r12)
	movq	_RR_NS_HAVE_V6@GOTPCREL(%rip), %rax
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movq	16(%rbp), %rcx
	orl	%eax, 4(%rcx)
	movl	(%rcx), %edi
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_APPEND
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movl	%r13d, %esi
	callq	_ns_msg_count
	incq	%r14
	cmpl	%eax, %r14d
	jge	LBB0_23
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	leaq	-44(%rbp), %rcx
	callq	_ns_parserr
	testq	%rax, %rax
	js	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	callq	_ns_rr_type
	cmpl	$129, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	callq	_ns_rr_type
	cmpl	$128, %eax
	jne	LBB0_22
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	callq	_ns_rr_class
	cmpq	%r15, %rax
	jne	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	callq	_ns_rr_name
	movl	%eax, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_ns_samename
	cmpl	$1, %eax
	jne	LBB0_22
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	callq	_ns_rr_rdlen
	movq	_NS_INADDRSZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_RES_IPV6ONLY@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	callq	_ns_rr_type
	cmpl	$128, %eax
	jne	LBB0_22
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_RES_IPV4ONLY@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	callq	_ns_rr_type
	cmpl	$129, %eax
	jne	LBB0_22
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	$48, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_INIT_LINK
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	-44(%rbp), %edi
	callq	_ns_rr_type
	cmpl	$128, %eax
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %eax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r12)
	movq	%r12, %rax
	addq	$40, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edi
	callq	_ns_rr_rdata
	movq	_NS_INADDRSZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_memcpy
	movq	_NAMESERVER_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, 32(%r12)
	movq	_RR_NS_HAVE_V4@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_23:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_3:
	movq	_ns_o_query@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_p_section
	movq	%r14, %rdi
LBB0_4:
	callq	_DPRINTF
	movl	$-1, %eax
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_19:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_ns_o_query,4,2                 ## @ns_o_query
	.comm	_NS_INADDRSZ,8,3                ## @NS_INADDRSZ
	.comm	_RES_IPV6ONLY,4,2               ## @RES_IPV6ONLY
	.comm	_RES_IPV4ONLY,4,2               ## @RES_IPV4ONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"save_a: malloc failed"

	.comm	_link,4,2                       ## @link
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_NAMESERVER_PORT,4,2            ## @NAMESERVER_PORT
	.comm	_RR_NS_HAVE_V4,4,2              ## @RR_NS_HAVE_V4
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_RR_NS_HAVE_V6,4,2              ## @RR_NS_HAVE_V6
	.no_dead_strip	_save_a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function save_a
_save_a:                                ; @save_a
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x20, x2
	mov	x25, x1
	ldr	w0, [x1]
	mov	x1, x2
	bl	_ns_msg_count
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.1:
	mov	x19, #0
Lloh0:
	adrp	x28, _NS_INADDRSZ@GOTPAGE
Lloh1:
	ldr	x28, [x28, _NS_INADDRSZ@GOTPAGEOFF]
Lloh2:
	adrp	x27, _RES_IPV6ONLY@GOTPAGE
Lloh3:
	ldr	x27, [x27, _RES_IPV6ONLY@GOTPAGEOFF]
Lloh4:
	adrp	x26, _RES_IPV4ONLY@GOTPAGE
Lloh5:
	ldr	x26, [x26, _RES_IPV4ONLY@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x27
Lloh6:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x26, #20]
	add	x27, x26, #16
	ldr	w0, [sp, #12]
	bl	_ns_rr_rdata
	mov	x1, x0
	mov	x0, x27
	mov	w2, #16
	bl	_memcpy
Lloh9:
	adrp	x8, _NAMESERVER_PORT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NAMESERVER_PORT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_htons
	str	x0, [x26, #8]
Lloh12:
	adrp	x8, _RR_NS_HAVE_V6@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RR_NS_HAVE_V6@GOTPAGEOFF]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8]
	ldp	w0, w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21, #4]
Lloh14:
	adrp	x8, _link@GOTPAGE
Lloh15:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x1, x26
	bl	_APPEND
	mov	x27, x22
	ldr	w22, [sp, #8]                   ; 4-byte Folded Reload
Lloh17:
	adrp	x26, _RES_IPV4ONLY@GOTPAGE
Lloh18:
	ldr	x26, [x26, _RES_IPV4ONLY@GOTPAGEOFF]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25]
	mov	x1, x20
	bl	_ns_msg_count
	add	x19, x19, #1
	cmp	w19, w0
	b.ge	LBB0_19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #12
	mov	x0, x25
	mov	x1, x20
	mov	x2, x19
	bl	_ns_parserr
	tbnz	x0, #63, LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #12]
	bl	_ns_rr_type
	cmp	w0, #129
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #12]
	bl	_ns_rr_type
	cmp	w0, #128
	b.ne	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #12]
	bl	_ns_rr_class
	cmp	x0, x23
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #12]
	bl	_ns_rr_name
	mov	x1, x24
	bl	_ns_samename
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #12]
	bl	_ns_rr_rdlen
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x27]
	tst	w8, w22
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #12]
	bl	_ns_rr_type
	cmp	w0, #128
	b.ne	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #12]
	bl	_ns_rr_type
	cmp	w0, #129
	b.ne	LBB0_4
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #48
	bl	_malloc
	cbz	x0, LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x0
Lloh19:
	adrp	x8, _link@GOTPAGE
Lloh20:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_INIT_LINK
	mov	x0, x26
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	w0, [sp, #12]
	bl	_ns_rr_type
	cmp	w0, #128
	str	w22, [sp, #8]                   ; 4-byte Folded Spill
	b.eq	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #129
	b.ne	LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x27
Lloh22:
	adrp	x8, _AF_INET@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x26, #44]
	add	x27, x26, #40
	ldr	w0, [sp, #12]
	bl	_ns_rr_rdata
	mov	x1, x0
	ldr	w2, [x28]
	mov	x0, x27
	bl	_memcpy
Lloh25:
	adrp	x8, _NAMESERVER_PORT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NAMESERVER_PORT@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_htons
	str	x0, [x26, #32]
Lloh28:
	adrp	x8, _RR_NS_HAVE_V4@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RR_NS_HAVE_V4@GOTPAGEOFF]
	b	LBB0_3
LBB0_19:
	mov	w0, #0
	b	LBB0_22
LBB0_20:
Lloh30:
	adrp	x8, _ns_o_query@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ns_o_query@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_p_section
LBB0_21:
	mov	x0, x19
	bl	_DPRINTF
	mov	w0, #-1
LBB0_22:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_23:
Lloh33:
	adrp	x19, l_.str.1@PAGE
Lloh34:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_21
LBB0_24:
	bl	_abort
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_ns_o_query,4,2                 ; @ns_o_query
	.comm	_NS_INADDRSZ,8,3                ; @NS_INADDRSZ
	.comm	_RES_IPV6ONLY,4,2               ; @RES_IPV6ONLY
	.comm	_RES_IPV4ONLY,4,2               ; @RES_IPV4ONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"save_a: malloc failed"

	.comm	_link,4,2                       ; @link
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_NAMESERVER_PORT,4,2            ; @NAMESERVER_PORT
	.comm	_RR_NS_HAVE_V4,4,2              ; @RR_NS_HAVE_V4
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_RR_NS_HAVE_V6,4,2              ; @RR_NS_HAVE_V6
	.no_dead_strip	_save_a
.subsections_via_symbols
