	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ddb_capture_print_sysctl
_ddb_capture_print_sysctl:              ## @ddb_capture_print_sysctl
	.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	_SYSCTL_DDB_CAPTURE_DATA@GOTPCREL(%rip), %r14
	leaq	-48(%rbp), %r13
	movq	_EX_OSERR@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_free
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testl	%eax, %eax
	jns	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %r15
	testq	%r15, %r15
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	movq	-48(%rbp), %r15
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_bzero
	movq	%r15, -56(%rbp)
	movl	(%r14), %edi
	movq	%rbx, %rsi
	leaq	-56(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testl	%eax, %eax
	jns	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_9
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
	movq	%rbx, %rdi
	callq	_free
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSCTL_DDB_CAPTURE_DATA,4,2    ## @SYSCTL_DDB_CAPTURE_DATA
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sysctl: %s"

L_.str.1:                               ## @.str.1
	.asciz	"malloc"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

	.no_dead_strip	_ddb_capture_print_sysctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ddb_capture_print_sysctl
_ddb_capture_print_sysctl:              ; @ddb_capture_print_sysctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
Lloh0:
	adrp	x23, _SYSCTL_DDB_CAPTURE_DATA@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SYSCTL_DDB_CAPTURE_DATA@GOTPAGEOFF]
Lloh2:
	adrp	x24, _EX_OSERR@GOTPAGE
Lloh3:
	ldr	x24, [x24, _EX_OSERR@GOTPAGEOFF]
Lloh4:
	adrp	x19, l_.str@PAGE
Lloh5:
	add	x19, x19, l_.str@PAGEOFF
Lloh6:
	adrp	x25, _errno@GOTPAGE
Lloh7:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str.1@PAGE
Lloh9:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh10:
	adrp	x26, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x26, [x26, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_free
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	add	x2, sp, #24
	mov	x1, #0
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	tbz	w0, #31, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	ldr	w8, [x23]
	str	x8, [sp]
	mov	x1, x19
	bl	_err
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x22, [sp, #24]
	cbz	x22, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_malloc
	mov	x21, x0
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	mov	x1, x20
	bl	_err
	ldr	x22, [sp, #24]
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_bzero
	str	x22, [sp, #16]
	ldr	w0, [x23]
	add	x2, sp, #16
	mov	x1, x21
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	tbz	w0, #31, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	ldr	w8, [x23]
	str	x8, [sp]
	mov	x1, x19
	bl	_err
	b	LBB0_1
LBB0_10:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_printf
	mov	x0, x21
	bl	_free
LBB0_11:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSCTL_DDB_CAPTURE_DATA,4,2    ; @SYSCTL_DDB_CAPTURE_DATA
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sysctl: %s"

l_.str.1:                               ; @.str.1
	.asciz	"malloc"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

	.no_dead_strip	_ddb_capture_print_sysctl
.subsections_via_symbols
