	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sysctl_all
_sysctl_all:                            ## @sysctl_all
	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movabsq	$8589934592, %rax               ## imm = 0x200000000
	movq	%rax, -144(%rbp)
	leaq	-136(%rbp), %rdi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movslq	%r14d, %r12
	leaq	(,%r12,4), %rdx
	movq	%rbx, %rsi
	callq	_memcpy
	addq	$2, %r12
	jmp	LBB0_3
LBB0_2:
	movl	$1, -136(%rbp)
	movl	$3, %r12d
LBB0_3:
	movl	%r14d, %r15d
	leaq	-144(%rbp), %rdi
	leaq	-240(%rbp), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-248(%rbp), %rdx
	shlq	$2, %rdx
	leaq	-136(%rbp), %rdi
	movq	%r13, %rsi
	callq	_memcpy
	movq	-248(%rbp), %r12
	addq	$2, %r12
	leaq	-144(%rbp), %rdi
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	leaq	-248(%rbp), %rcx
	movq	$88, -248(%rbp)
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testl	%eax, %eax
	jns	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ENOENT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-248(%rbp), %rcx
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_err
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-248(%rbp), %rsi
	shrq	$2, %rsi
	movq	%rsi, -248(%rbp)
	testl	%r14d, %r14d
	js	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r15, %rsi
	jb	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-240(%rbp,%rax,4), %ecx
	cmpl	(%rbx,%rax,4), %ecx
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=2
	incq	%rax
	cmpq	%rax, %r15
	jne	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_show_var
	movq	_bflag@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$10, %edi
	callq	_putchar
	jmp	LBB0_17
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.18:
	xorl	%eax, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sysctl(getnext) %d %zu"

	.comm	_bflag,4,2                      ## @bflag
	.no_dead_strip	_sysctl_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function sysctl_all
lCPI0_0:
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_sysctl_all:                            ; @sysctl_all
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #96]
	add	x8, sp, #96
	add	x21, x8, #8
	cbz	w1, LBB0_2
; %bb.1:
	sxtw	x22, w19
	sbfiz	x2, x19, #2, #32
	mov	x0, x21
	mov	x1, x20
	bl	_memcpy
	add	x1, x22, #2
	b	LBB0_3
LBB0_2:
	mov	w8, #1
	str	w8, [sp, #104]
	mov	w1, #3
LBB0_3:
	mov	w23, w19
	mov	w24, #88
Lloh5:
	adrp	x25, _errno@GOTPAGE
Lloh6:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
Lloh7:
	adrp	x26, _ENOENT@GOTPAGE
Lloh8:
	ldr	x26, [x26, _ENOENT@GOTPAGEOFF]
Lloh9:
	adrp	x27, _bflag@GOTPAGE
Lloh10:
	ldr	x27, [x27, _bflag@GOTPAGEOFF]
Lloh11:
	adrp	x22, l_.str@PAGE
Lloh12:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp]
	lsl	x2, x8, #2
	add	x1, sp, #8
	mov	x0, x21
	bl	_memcpy
	ldr	x8, [sp]
	add	x1, x8, #2
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	str	x24, [sp]
	add	x0, sp, #96
	add	x2, sp, #8
	mov	x3, sp
	mov	w4, #0
	mov	w5, #0
	bl	_sysctl
	tbz	w0, #31, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x2, x0
	ldr	x3, [sp]
	mov	w0, #1
	mov	x1, x22
	bl	_err
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp]
	lsr	x1, x8, #2
	str	x1, [sp]
	tbnz	w19, #31, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x1, x23
	b.lo	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w19, #1
	b.lt	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x8, sp, #8
	mov	x9, x23
	mov	x10, x20
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x8]
	ldr	w12, [x10]
	cmp	w11, w12
	b.ne	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	add	x10, x10, #4
	add	x8, x8, #4
	subs	x9, x9, #1
	b.ne	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_show_var
	ldr	w8, [x27]
	orr	w8, w0, w8
	cbnz	w8, LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #10
	bl	_putchar
	b	LBB0_4
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	w0, #0
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sysctl(getnext) %d %zu"

	.comm	_bflag,4,2                      ; @bflag
	.no_dead_strip	_sysctl_all
.subsections_via_symbols
