	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ddb_capture                    ## -- Begin function ddb_capture
	.p2align	4, 0x90
_ddb_capture:                           ## @ddb_capture
	.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, %r12
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	__POSIX2_LINE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r14
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_getopt
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$78, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$77, %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_1
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_1
LBB0_7:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	subl	%r14d, %ebx
	cmpl	$1, %ebx
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_usage
LBB0_9:
	testq	%r13, %r13
	je	LBB0_14
## %bb.10:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_kvm_openfiles
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movl	$-1, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_12:
	movq	_namelist@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_kvm_nlist
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movl	$-1, %edi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_17
LBB0_14:
	testq	%r15, %r15
	je	LBB0_15
## %bb.16:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_17
LBB0_15:
	xorl	%r15d, %r15d
LBB0_17:
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.21:
	movq	(%r12,%r14,8), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_22
## %bb.25:
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_26
LBB0_18:
	testq	%r15, %r15
	je	LBB0_20
## %bb.19:
	movq	%r15, %rdi
	callq	_ddb_capture_print_kvm
	jmp	LBB0_26
LBB0_22:
	testq	%r15, %r15
	je	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	callq	_ddb_capture_status_kvm
	jmp	LBB0_26
LBB0_20:
	xorl	%eax, %eax
	callq	_ddb_capture_print_sysctl
	jmp	LBB0_26
LBB0_24:
	xorl	%eax, %eax
	callq	_ddb_capture_status_sysctl
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__POSIX2_LINE_MAX,4,2           ## @_POSIX2_LINE_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"M:N:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_optind,8,3                     ## @optind
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.1:                               ## @.str.1
	.asciz	"ddb_capture: kvm_openfiles: %s"

	.comm	_namelist,4,2                   ## @namelist
L_.str.2:                               ## @.str.2
	.asciz	"ddb_capture: kvm_nlist"

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ddb_capture                    ; -- Begin function ddb_capture
	.p2align	2
_ddb_capture:                           ; @ddb_capture
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, __POSIX2_LINE_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, __POSIX2_LINE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x21, #0
	mov	x22, #0
Lloh8:
	adrp	x25, _optarg@GOTPAGE
Lloh9:
	ldr	x25, [x25, _optarg@GOTPAGEOFF]
Lloh10:
	adrp	x24, l_.str@PAGE
Lloh11:
	add	x24, x24, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x19
	mov	x2, x24
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #78
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #77
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_usage
	b	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x21, [x25]
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x22, [x25]
	b	LBB0_1
LBB0_7:
Lloh12:
	adrp	x8, _optind@GOTPAGE
Lloh13:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh14:
	ldr	x24, [x8]
	sub	w8, w23, w24
	cmp	w8, #1
	b.eq	LBB0_9
; %bb.8:
	bl	_usage
LBB0_9:
	cbz	x22, LBB0_14
; %bb.10:
Lloh15:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	x2, #0
	mov	x4, x20
	bl	_kvm_openfiles
	mov	x21, x0
	cbnz	x0, LBB0_12
; %bb.11:
	str	x20, [sp, #-16]!
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #-1
	bl	_errx
	add	sp, sp, #16
LBB0_12:
Lloh20:
	adrp	x8, _namelist@GOTPAGE
Lloh21:
	ldr	x8, [x8, _namelist@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kvm_nlist
	cbz	x0, LBB0_16
; %bb.13:
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #-1
	bl	_errx
	b	LBB0_16
LBB0_14:
	cbz	x21, LBB0_16
; %bb.15:
	bl	_usage
	mov	x21, #0
LBB0_16:
	ldr	x0, [x19, x24, lsl #3]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_19
; %bb.17:
	ldr	x0, [x19, x24, lsl #3]
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_21
; %bb.18:
	bl	_usage
	b	LBB0_25
LBB0_19:
	cbz	x21, LBB0_23
; %bb.20:
	mov	x0, x21
	bl	_ddb_capture_print_kvm
	b	LBB0_25
LBB0_21:
	cbz	x21, LBB0_24
; %bb.22:
	mov	x0, x21
	bl	_ddb_capture_status_kvm
	b	LBB0_25
LBB0_23:
	bl	_ddb_capture_print_sysctl
	b	LBB0_25
LBB0_24:
	bl	_ddb_capture_status_sysctl
LBB0_25:
	ldur	x8, [x29, #-72]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	__POSIX2_LINE_MAX,4,2           ; @_POSIX2_LINE_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"M:N:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_optind,8,3                     ; @optind
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.1:                               ; @.str.1
	.asciz	"ddb_capture: kvm_openfiles: %s"

	.comm	_namelist,4,2                   ; @namelist
l_.str.2:                               ; @.str.2
	.asciz	"ddb_capture: kvm_nlist"

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

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

.subsections_via_symbols
