	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dns_limit
_dns_limit:                             ## @dns_limit
	.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	%rsi, %r13
	movq	%rdi, %r14
	movq	$0, -56(%rbp)
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	callq	_nvlist_next
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %eax
	movq	_NV_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_nvlist_get_string
	movq	%rax, %rbx
	movq	%rax, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_5
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dns_allowed_type
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_NV_TYPE_NUMBER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$6, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_nvlist_get_number
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dns_allowed_family
	movl	$1, %r12d
	testl	%eax, %eax
	je	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_nvlist_next
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_3
## %bb.13:
	testl	%ebx, %ebx
	jne	LBB0_15
	jmp	LBB0_14
LBB0_1:
	xorl	%r12d, %r12d
LBB0_14:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_limit_has_entry
	testq	%rax, %rax
	je	LBB0_15
LBB0_17:
	movq	_ENOTCAPABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	jne	LBB0_19
## %bb.16:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_limit_has_entry
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_17
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_NV_TYPE_STRING,4,2             ## @NV_TYPE_STRING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"ADDR2NAME"

L_.str.2:                               ## @.str.2
	.asciz	"NAME2ADDR"

L_.str.3:                               ## @.str.3
	.asciz	"ADDR"

L_.str.4:                               ## @.str.4
	.asciz	"NAME"

	.comm	_ENOTCAPABLE,4,2                ## @ENOTCAPABLE
	.comm	_NV_TYPE_NUMBER,4,2             ## @NV_TYPE_NUMBER
L_.str.5:                               ## @.str.5
	.asciz	"family"

	.no_dead_strip	_dns_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dns_limit
_dns_limit:                             ; @dns_limit
	.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	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	add	x1, sp, #4
	add	x2, sp, #8
	mov	x0, x20
	bl	_nvlist_next
	cbz	x0, LBB0_15
; %bb.1:
	mov	x27, x0
	mov	w23, #0
	mov	w25, #0
Lloh0:
	adrp	x28, _NV_TYPE_STRING@GOTPAGE
Lloh1:
	ldr	x28, [x28, _NV_TYPE_STRING@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh6:
	adrp	x24, _NV_TYPE_NUMBER@GOTPAGE
Lloh7:
	ldr	x24, [x24, _NV_TYPE_NUMBER@GOTPAGEOFF]
Lloh8:
	adrp	x26, l_.str.5@PAGE
Lloh9:
	add	x26, x26, l_.str.5@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #4
	add	x2, sp, #8
	mov	x0, x20
	bl	_nvlist_next
	mov	x27, x0
	cbz	x0, LBB0_19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #4]
	ldr	w9, [x28]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	mov	x1, x21
	mov	w2, #4
	bl	_strncmp
	cbnz	x0, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x27
	bl	_nvlist_get_string
	mov	x27, x0
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_18
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x27
	bl	_dns_allowed_type
	cbz	w0, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #1
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	mov	x1, x26
	mov	w2, #6
	bl	_strncmp
	cbnz	x0, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x27
	bl	_nvlist_get_number
	mov	x1, x0
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_dns_allowed_family
	cbz	w0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #1
	b	LBB0_2
LBB0_15:
	mov	w25, #0
LBB0_16:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_limit_has_entry
	cbz	x0, LBB0_20
LBB0_17:
Lloh18:
	adrp	x8, _ENOTCAPABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOTCAPABLE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_23
LBB0_18:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	b	LBB0_23
LBB0_19:
	cbz	w23, LBB0_16
LBB0_20:
	cbz	w25, LBB0_22
; %bb.21:
	mov	w0, #0
	b	LBB0_23
LBB0_22:
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_limit_has_entry
Lloh26:
	adrp	x8, _ENOTCAPABLE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOTCAPABLE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, wzr, w8, eq
LBB0_23:
	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
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_NV_TYPE_STRING,4,2             ; @NV_TYPE_STRING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"ADDR2NAME"

l_.str.2:                               ; @.str.2
	.asciz	"NAME2ADDR"

l_.str.3:                               ; @.str.3
	.asciz	"ADDR"

l_.str.4:                               ; @.str.4
	.asciz	"NAME"

	.comm	_ENOTCAPABLE,4,2                ; @ENOTCAPABLE
	.comm	_NV_TYPE_NUMBER,4,2             ; @NV_TYPE_NUMBER
l_.str.5:                               ; @.str.5
	.asciz	"family"

	.no_dead_strip	_dns_limit
.subsections_via_symbols
