	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sysctl_valid
_sysctl_valid:                          ## @sysctl_valid
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_nvlist_error
	testl	%eax, %eax
	je	LBB0_3
## %bb.27:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvlist_error                   ## TAILCALL
LBB0_3:
	movq	$0, -56(%rbp)
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_next
	xorl	%r14d, %r14d
	movl	$0, %r13d
	testq	%rax, %rax
	je	LBB0_25
## %bb.4:
	movq	%rax, %r12
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	orl	%ecx, %r13d
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_nvlist_next
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_25
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax
	movq	_NV_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax
	movq	_NV_TYPE_BINARY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_cnvlist_get_binary
	movl	$2, %ecx
	testb	$3, -64(%rbp)
	jne	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%r13d, %ecx
	jne	LBB0_1
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %eax
	andl	$3, %eax
	je	LBB0_14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%r15d, %r15d
	je	LBB0_24
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax
	movq	_NV_TYPE_NUMBER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi
	callq	_cnvlist_get_number
	movl	%r15d, %ecx
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_CAP_SYSCTL_RECURSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_CAP_SYSCTL_RDWR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, %ecx
	notl	%ecx
	testl	%ecx, %eax
	jne	LBB0_1
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	andl	%eax, %edx
	je	LBB0_1
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	testb	$4, %r13b
	jne	LBB0_1
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	orl	$4, %r13d
	jmp	LBB0_24
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_26
LBB0_25:
	testb	$3, %r13b
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovel	%eax, %r14d
	testb	$4, %r13b
	cmovel	%eax, %r14d
LBB0_26:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

	.comm	_NV_TYPE_STRING,4,2             ## @NV_TYPE_STRING
L_.str.1:                               ## @.str.1
	.asciz	"mib"

	.comm	_NV_TYPE_BINARY,4,2             ## @NV_TYPE_BINARY
L_.str.2:                               ## @.str.2
	.asciz	"operation"

	.comm	_NV_TYPE_NUMBER,4,2             ## @NV_TYPE_NUMBER
	.comm	_CAP_SYSCTL_RDWR,4,2            ## @CAP_SYSCTL_RDWR
	.comm	_CAP_SYSCTL_RECURSIVE,4,2       ## @CAP_SYSCTL_RECURSIVE
	.comm	_HAS_ID,4,2                     ## @HAS_ID
	.comm	_HAS_MIB,4,2                    ## @HAS_MIB
	.comm	_HAS_NAME,4,2                   ## @HAS_NAME
	.comm	_HAS_OPERATION,4,2              ## @HAS_OPERATION
	.no_dead_strip	_sysctl_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sysctl_valid
_sysctl_valid:                          ; @sysctl_valid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cbz	x0, LBB0_23
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	bl	_nvlist_error
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_nvlist_error
LBB0_3:
	str	xzr, [sp, #24]
	add	x1, sp, #20
	add	x2, sp, #24
	mov	x0, x19
	bl	_nvlist_next
	cbz	x0, LBB0_24
; %bb.4:
	mov	x24, x0
	mov	w25, #0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x26, _NV_TYPE_STRING@GOTPAGE
Lloh3:
	ldr	x26, [x26, _NV_TYPE_STRING@GOTPAGEOFF]
Lloh4:
	adrp	x27, _NV_TYPE_BINARY@GOTPAGE
Lloh5:
	ldr	x27, [x27, _NV_TYPE_BINARY@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh8:
	adrp	x28, _NV_TYPE_NUMBER@GOTPAGE
Lloh9:
	ldr	x28, [x28, _NV_TYPE_NUMBER@GOTPAGEOFF]
Lloh10:
	adrp	x23, l_.str.2@PAGE
Lloh11:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	orr	w25, w8, w25
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #20
	add	x2, sp, #24
	mov	x0, x19
	bl	_nvlist_next
	mov	x24, x0
	cbz	x0, LBB0_25
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x21
	bl	_strcmp
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #20]
	ldr	w9, [x26]
	cmp	w8, w9
	b.eq	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #20]
	ldr	w9, [x27]
	cmp	w8, w9
	b.ne	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #1
	tst	w8, w25
	b.eq	LBB0_21
	b	LBB0_23
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	w20, LBB0_6
	b	LBB0_23
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #20]
	ldr	w9, [x28]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #24]
	bl	_cnvlist_get_number
Lloh12:
	adrp	x8, _CAP_SYSCTL_RDWR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CAP_SYSCTL_RDWR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _CAP_SYSCTL_RECURSIVE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CAP_SYSCTL_RECURSIVE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w20, #0
	csel	w9, wzr, w9, eq
	orr	w9, w9, w8
	bic	w9, w0, w9
	and	w8, w8, w0
	cmp	w9, #0
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	tbnz	w25, #2, LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	orr	w25, w25, #0x4
	b	LBB0_6
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #24]
	add	x1, sp, #8
	bl	_cnvlist_get_binary
	ldrb	w8, [sp, #8]
	tst	w8, #0x3
	b.ne	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #2
	tst	w8, w25
	b.ne	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w20, LBB0_5
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	and	w9, w25, #0x3
	cbz	w9, LBB0_5
LBB0_23:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_26
LBB0_24:
	mov	w25, #0
LBB0_25:
	and	w8, w25, #0x4
	tst	w25, #0x3
	ccmp	w8, #0, #4, ne
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	csel	w0, w8, wzr, eq
LBB0_26:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

	.comm	_NV_TYPE_STRING,4,2             ; @NV_TYPE_STRING
l_.str.1:                               ; @.str.1
	.asciz	"mib"

	.comm	_NV_TYPE_BINARY,4,2             ; @NV_TYPE_BINARY
l_.str.2:                               ; @.str.2
	.asciz	"operation"

	.comm	_NV_TYPE_NUMBER,4,2             ; @NV_TYPE_NUMBER
	.comm	_CAP_SYSCTL_RDWR,4,2            ; @CAP_SYSCTL_RDWR
	.comm	_CAP_SYSCTL_RECURSIVE,4,2       ; @CAP_SYSCTL_RECURSIVE
	.comm	_HAS_ID,4,2                     ; @HAS_ID
	.comm	_HAS_MIB,4,2                    ; @HAS_MIB
	.comm	_HAS_NAME,4,2                   ; @HAS_NAME
	.comm	_HAS_OPERATION,4,2              ; @HAS_OPERATION
	.no_dead_strip	_sysctl_valid
.subsections_via_symbols
