	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load
_load:                                  ## @load
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$128, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_18
## %bb.2:
	leaq	L_str.36(%rip), %rdi
	callq	_puts
	movq	_clist@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_sysctl_ctx_init
	movq	_clist1@GOTPCREL(%rip), %rdi
	callq	_sysctl_ctx_init
	movq	_clist2@GOTPCREL(%rip), %rdi
	callq	_sysctl_ctx_init
	leaq	L_str.37(%rip), %rdi
	callq	_puts
	movq	_OID_AUTO@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	leaq	L_.str.2(%rip), %r13
	leaq	L_.str.3(%rip), %rbx
	movq	%r12, %rdi
	movq	%r13, %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %r9
	callq	_SYSCTL_ADD_ROOT_NODE
	movq	_a_root@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movl	(%r15), %esi
	movl	(%r14), %ecx
	movq	_clist1@GOTPCREL(%rip), %rdi
	movq	%r13, %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %r9
	callq	_SYSCTL_ADD_ROOT_NODE
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rdi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%rcx, %rbx
	subq	$8, %rsp
	leaq	L_.str.6(%rip), %r10
	movq	_clist@GOTPCREL(%rip), %r15
	leaq	L_.str.5(%rip), %rcx
	movq	_a@GOTPCREL(%rip), %r9
	movq	%r15, %rdi
	movl	%eax, %esi
	pushq	%r10
	callq	_SYSCTL_ADD_LONG
	addq	$16, %rsp
	movq	(%r12), %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movl	(%rbx), %r8d
	leaq	L_.str.8(%rip), %rbx
	leaq	L_.str.7(%rip), %rcx
	movq	_b@GOTPCREL(%rip), %r9
	movq	%r15, %rdi
	movl	%eax, %esi
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_INT
	addq	$16, %rsp
	movq	(%r12), %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %r14
	movl	(%r14), %r8d
	subq	$8, %rsp
	leaq	L_.str.10(%rip), %rbx
	leaq	L_.str.9(%rip), %rcx
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	pushq	%rbx
	callq	_SYSCTL_ADD_NODE
	addq	$16, %rsp
	movq	_a_root1@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movl	(%r14), %r8d
	movq	_c@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	L_.str.12(%rip), %rbx
	leaq	L_.str.11(%rip), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_STRING
	addq	$16, %rsp
	leaq	L_.str.13(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	__kern@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SYSCTL_STATIC_CHILDREN
	movq	%r13, %r14
	movl	(%r13), %edx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	leaq	L_.str.3(%rip), %rax
	pushq	%rax
	callq	_SYSCTL_ADD_NODE
	addq	$16, %rsp
	movq	_a_root1@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %rdi
	callq	_SYSCTL_CHILDREN
	movq	%r14, %r13
	movl	(%r14), %edx
	movq	_CTLTYPE_STRING@GOTPCREL(%rip), %rcx
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	orl	(%rcx), %r8d
	movq	_sysctl_dyn_sysctl_test@GOTPCREL(%rip), %rcx
	movq	%rsi, %r15
	movl	(%rcx), %ebx
	leaq	L_.str.16(%rip), %r10
	leaq	L_.str.15(%rip), %r11
	movq	_clist@GOTPCREL(%rip), %r14
	leaq	L_.str.14(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%r11
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	leaq	L_.str.17(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	_a_root@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movq	%r15, %rbx
	movl	(%r15), %r8d
	subq	$8, %rsp
	movq	_clist1@GOTPCREL(%rip), %r14
	leaq	L_.str.9(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	leaq	L_.str.10(%rip), %rax
	pushq	%rax
	callq	_SYSCTL_ADD_NODE
	addq	$16, %rsp
	movq	_b_root@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movl	(%rbx), %r8d
	movq	_c@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	L_.str.18(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	leaq	L_.str.12(%rip), %rax
	pushq	%rax
	pushq	$0
	callq	_SYSCTL_ADD_STRING
	addq	$16, %rsp
	leaq	L_.str.19(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	_a_root1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	subq	$8, %rsp
	leaq	L_.str.21(%rip), %rbx
	movq	_clist2@GOTPCREL(%rip), %r14
	leaq	L_.str.20(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	pushq	%rbx
	callq	_SYSCTL_ADD_NODE
	addq	$16, %rsp
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_c@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	L_.str.22(%rip), %rbx
	leaq	L_.str.11(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_STRING
	addq	$16, %rsp
	leaq	L_.str.23(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_20
LBB0_6:
	leaq	L_.str.24(%rip), %rdi
	movq	_clist@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_sysctl_ctx_free
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	leaq	L_str.35(%rip), %rdi
	callq	_puts
	jmp	LBB0_9
LBB0_18:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_3:
	leaq	L_str.39(%rip), %rdi
	callq	_puts
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %r12d
	jmp	LBB0_20
LBB0_8:
	leaq	L_.str.26(%rip), %rdi
	movq	_clist@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_9:
	leaq	L_.str.27(%rip), %rdi
	movq	_clist2@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_sysctl_ctx_free
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.28(%rip), %rdi
	movq	_clist2@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	_b_root@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_sysctl_remove_oid
	movq	(%rbx), %rsi
	leaq	L_.str.29(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_12
LBB0_11:
	leaq	L_str.34(%rip), %rdi
	callq	_puts
LBB0_12:
	leaq	L_.str.31(%rip), %rdi
	movq	_clist@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_sysctl_ctx_free
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.28(%rip), %rdi
	movq	_clist@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	_a_root1@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_sysctl_remove_oid
	movq	(%rbx), %rsi
	leaq	L_.str.29(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_15
LBB0_14:
	leaq	L_str.34(%rip), %rdi
	callq	_puts
LBB0_15:
	leaq	L_.str.32(%rip), %rdi
	movq	_clist1@GOTPCREL(%rip), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_sysctl_ctx_free
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.28(%rip), %rdi
	movq	_clist1@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	_a_root@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_sysctl_remove_oid
	jmp	LBB0_20
LBB0_17:
	leaq	L_str.34(%rip), %rdi
	callq	_puts
LBB0_20:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clist,4,2                      ## @clist
	.comm	_clist1,4,2                     ## @clist1
	.comm	_clist2,4,2                     ## @clist2
	.comm	_OID_AUTO,4,2                   ## @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"dyn_sysctl"

	.comm	_CTLFLAG_RW,4,2                 ## @CTLFLAG_RW
L_.str.3:                               ## @.str.3
	.asciz	"dyn_sysctl root node"

	.comm	_a_root,8,3                     ## @a_root
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.5:                               ## @.str.5
	.asciz	"long_a"

	.comm	_a,4,2                          ## @a
L_.str.6:                               ## @.str.6
	.asciz	"just to try"

L_.str.7:                               ## @.str.7
	.asciz	"int_b"

	.comm	_b,4,2                          ## @b
L_.str.8:                               ## @.str.8
	.asciz	"just to try 1"

L_.str.9:                               ## @.str.9
	.asciz	"nextlevel"

	.comm	_CTLFLAG_RD,4,2                 ## @CTLFLAG_RD
L_.str.10:                              ## @.str.10
	.asciz	"one level down"

	.comm	_a_root1,8,3                    ## @a_root1
L_.str.11:                              ## @.str.11
	.asciz	"string_c"

	.comm	_c,4,2                          ## @c
L_.str.12:                              ## @.str.12
	.asciz	"just to try 2"

L_.str.13:                              ## @.str.13
	.asciz	"1. (%p)\t/\t\t  dyn_sysctl\n"

	.comm	__kern,4,2                      ## @_kern
L_.str.14:                              ## @.str.14
	.asciz	"procedure"

	.comm	_CTLTYPE_STRING,4,2             ## @CTLTYPE_STRING
	.comm	_sysctl_dyn_sysctl_test,4,2     ## @sysctl_dyn_sysctl_test
L_.str.15:                              ## @.str.15
	.asciz	"A"

L_.str.16:                              ## @.str.16
	.asciz	"I can be here, too"

L_.str.17:                              ## @.str.17
	.asciz	"   (%p)\t/kern\t\t  dyn_sysctl\n"

	.comm	_b_root,8,3                     ## @b_root
L_.str.18:                              ## @.str.18
	.asciz	"string_c1"

L_.str.19:                              ## @.str.19
	.asciz	"2. (%p)\t/\t\t  dyn_sysctl\t(overlapping #1)\n"

L_.str.20:                              ## @.str.20
	.asciz	"bad"

L_.str.21:                              ## @.str.21
	.asciz	"dependent node"

L_.str.22:                              ## @.str.22
	.asciz	"shouldn't panic"

L_.str.23:                              ## @.str.23
	.asciz	"3. (%p)\t/kern/dyn_sysctl  bad\t\t(WRONG!)\n"

L_.str.24:                              ## @.str.24
	.asciz	"1. Try to free ctx1 (%p): "

L_.str.26:                              ## @.str.26
	.asciz	"HELP! sysctl_ctx_free(%p) succeeded. EXPECT PANIC!!!\n"

L_.str.27:                              ## @.str.27
	.asciz	"2. Try to free ctx3 (%p): "

L_.str.28:                              ## @.str.28
	.asciz	"sysctl_ctx_free(%p) failed!\n"

L_.str.29:                              ## @.str.29
	.asciz	"sysctl_remove_oid(%p) succeeded\n"

L_.str.31:                              ## @.str.31
	.asciz	"3. Try to free ctx1 (%p) again: "

L_.str.32:                              ## @.str.32
	.asciz	"4. Try to free ctx2 (%p): "

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_str.34:                               ## @str.34
	.asciz	"Ok"

L_str.35:                               ## @str.35
	.asciz	"failed: expected. Need to remove ctx3 first."

L_str.36:                               ## @str.36
	.asciz	"Initializing contexts and creating subtrees.\n"

L_str.37:                               ## @str.37
	.asciz	"TREE\t\tROOT\t\t  NAME"

L_str.39:                               ## @str.39
	.asciz	"SYSCTL_ADD_NODE failed!"

	.no_dead_strip	_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load
_load:                                  ; @load
	.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
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_7
; %bb.2:
Lloh0:
	adrp	x0, l_str.36@PAGE
Lloh1:
	add	x0, x0, l_str.36@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x21, _clist@GOTPAGE
Lloh3:
	ldr	x21, [x21, _clist@GOTPAGEOFF]
	mov	x0, x21
	bl	_sysctl_ctx_init
Lloh4:
	adrp	x20, _clist1@GOTPAGE
Lloh5:
	ldr	x20, [x20, _clist1@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysctl_ctx_init
Lloh6:
	adrp	x19, _clist2@GOTPAGE
Lloh7:
	ldr	x19, [x19, _clist2@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysctl_ctx_init
Lloh8:
	adrp	x0, l_str.37@PAGE
Lloh9:
	add	x0, x0, l_str.37@PAGEOFF
	bl	_puts
Lloh10:
	adrp	x24, _OID_AUTO@GOTPAGE
Lloh11:
	ldr	x24, [x24, _OID_AUTO@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh12:
	adrp	x25, _CTLFLAG_RW@GOTPAGE
Lloh13:
	ldr	x25, [x25, _CTLFLAG_RW@GOTPAGEOFF]
	ldr	w3, [x25]
Lloh14:
	adrp	x22, l_.str.2@PAGE
Lloh15:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh16:
	adrp	x23, l_.str.3@PAGE
Lloh17:
	add	x23, x23, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	mov	w4, #0
	mov	x5, x23
	bl	_SYSCTL_ADD_ROOT_NODE
Lloh18:
	adrp	x26, _a_root@GOTPAGE
Lloh19:
	ldr	x26, [x26, _a_root@GOTPAGEOFF]
	str	x0, [x26]
	ldr	w1, [x24]
	ldr	w3, [x25]
	mov	x0, x20
	mov	x2, x22
	mov	w4, #0
	mov	x5, x23
	bl	_SYSCTL_ADD_ROOT_NODE
	str	x0, [x26]
	cbz	x0, LBB0_8
; %bb.3:
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x24]
	ldr	w4, [x25]
Lloh20:
	adrp	x3, l_.str.5@PAGE
Lloh21:
	add	x3, x3, l_.str.5@PAGEOFF
Lloh22:
	adrp	x5, _a@GOTPAGE
Lloh23:
	ldr	x5, [x5, _a@GOTPAGEOFF]
Lloh24:
	adrp	x6, l_.str.6@PAGE
Lloh25:
	add	x6, x6, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_SYSCTL_ADD_LONG
	ldr	x0, [x26]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x24]
	ldr	w4, [x25]
Lloh26:
	adrp	x3, l_.str.7@PAGE
Lloh27:
	add	x3, x3, l_.str.7@PAGEOFF
Lloh28:
	adrp	x5, _b@GOTPAGE
Lloh29:
	ldr	x5, [x5, _b@GOTPAGEOFF]
Lloh30:
	adrp	x7, l_.str.8@PAGE
Lloh31:
	add	x7, x7, l_.str.8@PAGEOFF
	mov	x0, x21
	mov	w6, #0
	bl	_SYSCTL_ADD_INT
	ldr	x0, [x26]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x24]
Lloh32:
	adrp	x22, _CTLFLAG_RD@GOTPAGE
Lloh33:
	ldr	x22, [x22, _CTLFLAG_RD@GOTPAGEOFF]
	ldr	w4, [x22]
Lloh34:
	adrp	x3, l_.str.9@PAGE
Lloh35:
	add	x3, x3, l_.str.9@PAGEOFF
Lloh36:
	adrp	x6, l_.str.10@PAGE
Lloh37:
	add	x6, x6, l_.str.10@PAGEOFF
	mov	x0, x21
	mov	w5, #0
	bl	_SYSCTL_ADD_NODE
Lloh38:
	adrp	x27, _a_root1@GOTPAGE
Lloh39:
	ldr	x27, [x27, _a_root1@GOTPAGEOFF]
	str	x0, [x27]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x24]
	ldr	w4, [x22]
Lloh40:
	adrp	x23, _c@GOTPAGE
Lloh41:
	ldr	x23, [x23, _c@GOTPAGEOFF]
	ldr	w5, [x23]
Lloh42:
	adrp	x3, l_.str.11@PAGE
Lloh43:
	add	x3, x3, l_.str.11@PAGEOFF
Lloh44:
	adrp	x7, l_.str.12@PAGE
Lloh45:
	add	x7, x7, l_.str.12@PAGEOFF
	mov	x0, x21
	mov	w6, #0
	bl	_SYSCTL_ADD_STRING
	str	x21, [sp]
Lloh46:
	adrp	x0, l_.str.13@PAGE
Lloh47:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_printf
Lloh48:
	adrp	x8, __kern@GOTPAGE
Lloh49:
	ldr	x8, [x8, __kern@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	bl	_SYSCTL_STATIC_CHILDREN
	mov	x1, x0
	ldr	w2, [x24]
	ldr	w4, [x25]
Lloh51:
	adrp	x3, l_.str.2@PAGE
Lloh52:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh53:
	adrp	x6, l_.str.3@PAGE
Lloh54:
	add	x6, x6, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w5, #0
	bl	_SYSCTL_ADD_NODE
	str	x0, [x27]
	cbz	x0, LBB0_8
; %bb.4:
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x24]
Lloh55:
	adrp	x8, _CTLTYPE_STRING@GOTPAGE
Lloh56:
	ldr	x8, [x8, _CTLTYPE_STRING@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w4, w9, w8
Lloh58:
	adrp	x8, _sysctl_dyn_sysctl_test@GOTPAGE
Lloh59:
	ldr	x8, [x8, _sysctl_dyn_sysctl_test@GOTPAGEOFF]
Lloh60:
	ldr	w7, [x8]
Lloh61:
	adrp	x8, l_.str.16@PAGE
Lloh62:
	add	x8, x8, l_.str.16@PAGEOFF
Lloh63:
	adrp	x9, l_.str.15@PAGE
Lloh64:
	add	x9, x9, l_.str.15@PAGEOFF
	stp	x9, x8, [sp]
Lloh65:
	adrp	x3, l_.str.14@PAGE
Lloh66:
	add	x3, x3, l_.str.14@PAGEOFF
	mov	x0, x21
	mov	x5, #0
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	str	x21, [sp]
Lloh67:
	adrp	x0, l_.str.17@PAGE
Lloh68:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_printf
	ldr	x0, [x26]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x24]
	ldr	w4, [x22]
Lloh69:
	adrp	x3, l_.str.9@PAGE
Lloh70:
	add	x3, x3, l_.str.9@PAGEOFF
Lloh71:
	adrp	x6, l_.str.10@PAGE
Lloh72:
	add	x6, x6, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	w5, #0
	bl	_SYSCTL_ADD_NODE
Lloh73:
	adrp	x21, _b_root@GOTPAGE
Lloh74:
	ldr	x21, [x21, _b_root@GOTPAGEOFF]
	str	x0, [x21]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x24]
	ldr	w4, [x22]
	ldr	w5, [x23]
Lloh75:
	adrp	x3, l_.str.18@PAGE
Lloh76:
	add	x3, x3, l_.str.18@PAGEOFF
Lloh77:
	adrp	x7, l_.str.12@PAGE
Lloh78:
	add	x7, x7, l_.str.12@PAGEOFF
	mov	x0, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_STRING
	str	x20, [sp]
Lloh79:
	adrp	x0, l_.str.19@PAGE
Lloh80:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_printf
	ldr	x0, [x27]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x24]
	ldr	w4, [x25]
Lloh81:
	adrp	x3, l_.str.20@PAGE
Lloh82:
	add	x3, x3, l_.str.20@PAGEOFF
Lloh83:
	adrp	x6, l_.str.21@PAGE
Lloh84:
	add	x6, x6, l_.str.21@PAGEOFF
	mov	x0, x19
	mov	w5, #0
	bl	_SYSCTL_ADD_NODE
	str	x0, [x21]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x24]
	ldr	w4, [x22]
	ldr	w5, [x23]
Lloh85:
	adrp	x3, l_.str.11@PAGE
Lloh86:
	add	x3, x3, l_.str.11@PAGEOFF
Lloh87:
	adrp	x7, l_.str.22@PAGE
Lloh88:
	add	x7, x7, l_.str.22@PAGEOFF
	mov	x0, x19
	mov	w6, #0
	bl	_SYSCTL_ADD_STRING
	str	x19, [sp]
Lloh89:
	adrp	x0, l_.str.23@PAGE
Lloh90:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	_printf
	b	LBB0_20
LBB0_5:
Lloh91:
	adrp	x19, _clist@GOTPAGE
Lloh92:
	ldr	x19, [x19, _clist@GOTPAGEOFF]
	str	x19, [sp]
Lloh93:
	adrp	x0, l_.str.24@PAGE
Lloh94:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	_printf
	mov	x0, x19
	bl	_sysctl_ctx_free
	cbz	w0, LBB0_10
; %bb.6:
Lloh95:
	adrp	x0, l_str.35@PAGE
Lloh96:
	add	x0, x0, l_str.35@PAGEOFF
	bl	_puts
	b	LBB0_11
LBB0_7:
Lloh97:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh98:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh99:
	adrp	x0, l_str.39@PAGE
Lloh100:
	add	x0, x0, l_str.39@PAGEOFF
	bl	_puts
Lloh101:
	adrp	x8, _EINVAL@GOTPAGE
Lloh102:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	b	LBB0_21
LBB0_10:
	str	x19, [sp]
Lloh103:
	adrp	x0, l_.str.26@PAGE
Lloh104:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	_printf
LBB0_11:
Lloh105:
	adrp	x20, _clist2@GOTPAGE
Lloh106:
	ldr	x20, [x20, _clist2@GOTPAGEOFF]
	str	x20, [sp]
Lloh107:
	adrp	x0, l_.str.27@PAGE
Lloh108:
	add	x0, x0, l_.str.27@PAGEOFF
	bl	_printf
	mov	x0, x20
	bl	_sysctl_ctx_free
	cbz	w0, LBB0_13
; %bb.12:
	str	x20, [sp]
Lloh109:
	adrp	x0, l_.str.28@PAGE
Lloh110:
	add	x0, x0, l_.str.28@PAGEOFF
	bl	_printf
Lloh111:
	adrp	x20, _b_root@GOTPAGE
Lloh112:
	ldr	x20, [x20, _b_root@GOTPAGEOFF]
	ldr	x0, [x20]
	mov	w1, #1
	mov	w2, #1
	bl	_sysctl_remove_oid
	ldr	x8, [x20]
	str	x8, [sp]
Lloh113:
	adrp	x0, l_.str.29@PAGE
Lloh114:
	add	x0, x0, l_.str.29@PAGEOFF
	bl	_printf
	b	LBB0_14
LBB0_13:
Lloh115:
	adrp	x0, l_str.34@PAGE
Lloh116:
	add	x0, x0, l_str.34@PAGEOFF
	bl	_puts
LBB0_14:
	str	x19, [sp]
Lloh117:
	adrp	x0, l_.str.31@PAGE
Lloh118:
	add	x0, x0, l_.str.31@PAGEOFF
	bl	_printf
	mov	x0, x19
	bl	_sysctl_ctx_free
	cbz	w0, LBB0_16
; %bb.15:
	str	x19, [sp]
Lloh119:
	adrp	x0, l_.str.28@PAGE
Lloh120:
	add	x0, x0, l_.str.28@PAGEOFF
	bl	_printf
Lloh121:
	adrp	x19, _a_root1@GOTPAGE
Lloh122:
	ldr	x19, [x19, _a_root1@GOTPAGEOFF]
	ldr	x0, [x19]
	mov	w1, #1
	mov	w2, #1
	bl	_sysctl_remove_oid
	ldr	x8, [x19]
	str	x8, [sp]
Lloh123:
	adrp	x0, l_.str.29@PAGE
Lloh124:
	add	x0, x0, l_.str.29@PAGEOFF
	bl	_printf
	b	LBB0_17
LBB0_16:
Lloh125:
	adrp	x0, l_str.34@PAGE
Lloh126:
	add	x0, x0, l_str.34@PAGEOFF
	bl	_puts
LBB0_17:
Lloh127:
	adrp	x19, _clist1@GOTPAGE
Lloh128:
	ldr	x19, [x19, _clist1@GOTPAGEOFF]
	str	x19, [sp]
Lloh129:
	adrp	x0, l_.str.32@PAGE
Lloh130:
	add	x0, x0, l_.str.32@PAGEOFF
	bl	_printf
	mov	x0, x19
	bl	_sysctl_ctx_free
	cbz	w0, LBB0_19
; %bb.18:
	str	x19, [sp]
Lloh131:
	adrp	x0, l_.str.28@PAGE
Lloh132:
	add	x0, x0, l_.str.28@PAGEOFF
	bl	_printf
Lloh133:
	adrp	x8, _a_root@GOTPAGE
Lloh134:
	ldr	x8, [x8, _a_root@GOTPAGEOFF]
Lloh135:
	ldr	x0, [x8]
	mov	w1, #1
	mov	w2, #1
	bl	_sysctl_remove_oid
	b	LBB0_20
LBB0_19:
Lloh136:
	adrp	x0, l_str.34@PAGE
Lloh137:
	add	x0, x0, l_str.34@PAGEOFF
	bl	_puts
LBB0_20:
	mov	w0, #0
LBB0_21:
	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 AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpLdrGot	Lloh111, Lloh112
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpAdd	Lloh115, Lloh116
	.loh AdrpAdd	Lloh117, Lloh118
	.loh AdrpAdd	Lloh123, Lloh124
	.loh AdrpLdrGot	Lloh121, Lloh122
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpAdd	Lloh129, Lloh130
	.loh AdrpLdrGot	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpAdd	Lloh131, Lloh132
	.loh AdrpAdd	Lloh136, Lloh137
	.cfi_endproc
                                        ; -- End function
	.comm	_clist,4,2                      ; @clist
	.comm	_clist1,4,2                     ; @clist1
	.comm	_clist2,4,2                     ; @clist2
	.comm	_OID_AUTO,4,2                   ; @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"dyn_sysctl"

	.comm	_CTLFLAG_RW,4,2                 ; @CTLFLAG_RW
l_.str.3:                               ; @.str.3
	.asciz	"dyn_sysctl root node"

	.comm	_a_root,8,3                     ; @a_root
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.5:                               ; @.str.5
	.asciz	"long_a"

	.comm	_a,4,2                          ; @a
l_.str.6:                               ; @.str.6
	.asciz	"just to try"

l_.str.7:                               ; @.str.7
	.asciz	"int_b"

	.comm	_b,4,2                          ; @b
l_.str.8:                               ; @.str.8
	.asciz	"just to try 1"

l_.str.9:                               ; @.str.9
	.asciz	"nextlevel"

	.comm	_CTLFLAG_RD,4,2                 ; @CTLFLAG_RD
l_.str.10:                              ; @.str.10
	.asciz	"one level down"

	.comm	_a_root1,8,3                    ; @a_root1
l_.str.11:                              ; @.str.11
	.asciz	"string_c"

	.comm	_c,4,2                          ; @c
l_.str.12:                              ; @.str.12
	.asciz	"just to try 2"

l_.str.13:                              ; @.str.13
	.asciz	"1. (%p)\t/\t\t  dyn_sysctl\n"

	.comm	__kern,4,2                      ; @_kern
l_.str.14:                              ; @.str.14
	.asciz	"procedure"

	.comm	_CTLTYPE_STRING,4,2             ; @CTLTYPE_STRING
	.comm	_sysctl_dyn_sysctl_test,4,2     ; @sysctl_dyn_sysctl_test
l_.str.15:                              ; @.str.15
	.asciz	"A"

l_.str.16:                              ; @.str.16
	.asciz	"I can be here, too"

l_.str.17:                              ; @.str.17
	.asciz	"   (%p)\t/kern\t\t  dyn_sysctl\n"

	.comm	_b_root,8,3                     ; @b_root
l_.str.18:                              ; @.str.18
	.asciz	"string_c1"

l_.str.19:                              ; @.str.19
	.asciz	"2. (%p)\t/\t\t  dyn_sysctl\t(overlapping #1)\n"

l_.str.20:                              ; @.str.20
	.asciz	"bad"

l_.str.21:                              ; @.str.21
	.asciz	"dependent node"

l_.str.22:                              ; @.str.22
	.asciz	"shouldn't panic"

l_.str.23:                              ; @.str.23
	.asciz	"3. (%p)\t/kern/dyn_sysctl  bad\t\t(WRONG!)\n"

l_.str.24:                              ; @.str.24
	.asciz	"1. Try to free ctx1 (%p): "

l_.str.26:                              ; @.str.26
	.asciz	"HELP! sysctl_ctx_free(%p) succeeded. EXPECT PANIC!!!\n"

l_.str.27:                              ; @.str.27
	.asciz	"2. Try to free ctx3 (%p): "

l_.str.28:                              ; @.str.28
	.asciz	"sysctl_ctx_free(%p) failed!\n"

l_.str.29:                              ; @.str.29
	.asciz	"sysctl_remove_oid(%p) succeeded\n"

l_.str.31:                              ; @.str.31
	.asciz	"3. Try to free ctx1 (%p) again: "

l_.str.32:                              ; @.str.32
	.asciz	"4. Try to free ctx2 (%p): "

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_str.34:                               ; @str.34
	.asciz	"Ok"

l_str.35:                               ; @str.35
	.asciz	"failed: expected. Need to remove ctx3 first."

l_str.36:                               ; @str.36
	.asciz	"Initializing contexts and creating subtrees.\n"

l_str.37:                               ; @str.37
	.asciz	"TREE\t\tROOT\t\t  NAME"

l_str.39:                               ; @str.39
	.asciz	"SYSCTL_ADD_NODE failed!"

	.no_dead_strip	_load
.subsections_via_symbols
