	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function save_ns
_save_ns:                               ## @save_ns
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -76(%rbp)                 ## 4-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movl	%edx, %ebx
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %edi
	movl	%edx, %esi
	callq	_ns_msg_count
	testl	%eax, %eax
	jle	LBB0_21
## %bb.1:
	xorl	%r15d, %r15d
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_ns_s_ar@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r13), %rcx
	subq	$8, %rsp
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	-76(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r13
	callq	_save_a
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movl	(%rbx), %edi
	movq	%rbx, %r13
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_ns_msg_count
	incq	%r15
	cmpl	%eax, %r15d
	jge	LBB0_21
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_MAXDNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	leaq	-52(%rbp), %rcx
	callq	_ns_parserr
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %edi
	callq	_ns_rr_type
	movq	_ns_t_ns@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %edi
	callq	_ns_rr_class
	cmpq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_20
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %edi
	callq	_ns_rr_name
	movl	%eax, %edi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_ns_samename
	cmpl	$1, %eax
	jne	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %edi
	callq	_ns_rr_name
	movq	16(%rbp), %rdi
	movl	%eax, %esi
	callq	_find_ns
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movl	-52(%rbp), %edi
	callq	_ns_rr_rdata
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_ns_msg_base
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	callq	_ns_msg_end
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	%r12, %rcx
	movl	%r14d, %r8d
	callq	_ns_name_uncompress
	testq	%rax, %rax
	js	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_link@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_INIT_LINK
	movl	16(%r13), %edi
	callq	_INIT_LIST
	movq	$0, 8(%r13)
	movq	16(%rbp), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movq	%r13, %rsi
	callq	_APPEND
	jmp	LBB0_16
LBB0_21:
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_3:
	movq	_ns_o_query@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_p_section
	movq	%r15, %rdi
LBB0_18:
	callq	_DPRINTF
LBB0_19:
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movl	$-1, %eax
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_24
## %bb.23:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_p_class
	movslq	%eax, %rdi
	jmp	LBB0_18
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_18
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_12
LBB0_14:
	leaq	L_.str.3(%rip), %rdi
LBB0_12:
	callq	_DPRINTF
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_19
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXDNAME,4,2                   ## @MAXDNAME
	.comm	_ns_o_query,4,2                 ## @ns_o_query
	.comm	_ns_t_ns,8,3                    ## @ns_t_ns
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"save_ns: malloc failed"

L_.str.2:                               ## @.str.2
	.asciz	"save_ns: ns_name_uncompress failed"

L_.str.3:                               ## @.str.3
	.asciz	"save_ns: strdup failed"

	.comm	_link,4,2                       ## @link
	.comm	_ns_s_ar,4,2                    ## @ns_s_ar
	.no_dead_strip	_save_ns
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function save_ns
_save_ns:                               ; @save_ns
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #48
	mov	x21, x6
	stp	w0, w5, [x29, #-100]            ; 8-byte Folded Spill
	mov	x20, x4
	mov	x22, x3
	mov	x19, x2
	mov	x24, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w0, [x1]
	mov	x1, x2
	bl	_ns_msg_count
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x26, #0
Lloh3:
	adrp	x25, _MAXDNAME@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MAXDNAME@GOTPAGEOFF]
	stur	x22, [x29, #-112]               ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh5:
	adrp	x8, _ns_s_ar@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ns_s_ar@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	x3, [x22]
	ldp	w0, w5, [x29, #-100]            ; 8-byte Folded Reload
	mov	x1, x24
	mov	x4, x20
	mov	x6, x22
	bl	_save_a
	ldur	x22, [x29, #-112]               ; 8-byte Folded Reload
	tbnz	x0, #63, LBB0_19
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	sp, x23
	ldr	w0, [x24]
	mov	x1, x19
	bl	_ns_msg_count
	add	x26, x26, #1
	cmp	w26, w0
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, sp
	ldr	w27, [x25]
	mov	x9, x27
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0x1fffffff0
	sub	x28, x8, x9
	mov	sp, x28
	sub	x3, x29, #92
	mov	x0, x24
	mov	x1, x19
	mov	x2, x26
	bl	_ns_parserr
	tbnz	x0, #63, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-92]
	bl	_ns_rr_type
Lloh10:
	adrp	x8, _ns_t_ns@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ns_t_ns@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-92]
	bl	_ns_rr_class
	cmp	x0, x20
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-92]
	bl	_ns_rr_name
	mov	x1, x22
	bl	_ns_samename
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-92]
	bl	_ns_rr_name
	mov	x1, x0
	mov	x0, x21
	bl	_find_ns
	mov	x22, x0
	cbnz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	stur	x21, [x29, #-128]               ; 8-byte Folded Spill
	ldur	w0, [x29, #-92]
	bl	_ns_rr_rdata
	stur	x0, [x29, #-120]                ; 8-byte Folded Spill
	ldr	w0, [x24]
	bl	_ns_msg_base
	mov	x21, x0
	ldr	w0, [x24]
	bl	_ns_msg_end
	mov	x1, x0
	mov	x0, x21
	ldur	x2, [x29, #-120]                ; 8-byte Folded Reload
	mov	x3, x28
	mov	x4, x27
	bl	_ns_name_uncompress
	tbnz	x0, #63, LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x28
	bl	_strdup
	str	x0, [x22]
	cbz	x0, LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x27, _link@GOTPAGE
Lloh14:
	ldr	x27, [x27, _link@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x22
	bl	_INIT_LINK
	ldr	w0, [x22, #16]
	bl	_INIT_LIST
	str	xzr, [x22, #8]
	ldur	x21, [x29, #-128]               ; 8-byte Folded Reload
	ldr	w0, [x21]
	ldr	w2, [x27]
	mov	x1, x22
	bl	_APPEND
	b	LBB0_2
LBB0_13:
	mov	w0, #0
	b	LBB0_17
LBB0_14:
Lloh15:
	adrp	x8, _ns_o_query@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ns_o_query@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_p_section
	mov	x0, x26
LBB0_15:
	bl	_DPRINTF
LBB0_16:
	mov	sp, x23
	mov	w0, #-1
LBB0_17:
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.18:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	mov	x0, x20
	bl	_p_class
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	b	LBB0_15
LBB0_20:
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_21:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_23
LBB0_22:
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_23:
	bl	_DPRINTF
	mov	x0, x22
	bl	_free
	b	LBB0_16
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXDNAME,4,2                   ; @MAXDNAME
	.comm	_ns_o_query,4,2                 ; @ns_o_query
	.comm	_ns_t_ns,8,3                    ; @ns_t_ns
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"save_ns: malloc failed"

l_.str.2:                               ; @.str.2
	.asciz	"save_ns: ns_name_uncompress failed"

l_.str.3:                               ; @.str.3
	.asciz	"save_ns: strdup failed"

	.comm	_link,4,2                       ; @link
	.comm	_ns_s_ar,4,2                    ; @ns_s_ar
	.no_dead_strip	_save_ns
.subsections_via_symbols
