	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ddb_capture_status_kvm
_ddb_capture_status_kvm:                ## @ddb_capture_status_kvm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_X_DB_CAPTURE_BUFOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	callq	_kread_symbol
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edi
	callq	_errx
LBB0_2:
	movq	_X_DB_CAPTURE_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %ecx
	xorl	%r8d, %r8d
	callq	_kread_symbol
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$-1, %edi
	callq	_errx
LBB0_4:
	movq	_X_DB_CAPTURE_INPROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %ecx
	xorl	%r8d, %r8d
	callq	_kread_symbol
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movl	$-1, %edi
	callq	_err
LBB0_6:
	movl	-20(%rbp), %esi
	movl	-16(%rbp), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, -12(%rbp)
	leaq	L_str(%rip), %rax
	leaq	L_str.6(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_puts
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X_DB_CAPTURE_BUFOFF,4,2        ## @X_DB_CAPTURE_BUFOFF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kvm: unable to read db_capture_bufoff"

	.comm	_X_DB_CAPTURE_BUFSIZE,4,2       ## @X_DB_CAPTURE_BUFSIZE
L_.str.1:                               ## @.str.1
	.asciz	"kvm: unable to read db_capture_bufsize"

	.comm	_X_DB_CAPTURE_INPROGRESS,4,2    ## @X_DB_CAPTURE_INPROGRESS
L_.str.2:                               ## @.str.2
	.asciz	"kvm: unable to read db_capture_inprogress"

L_.str.3:                               ## @.str.3
	.asciz	"%u/%u bytes used\n"

L_str:                                  ## @str
	.asciz	"capture is off"

L_str.6:                                ## @str.6
	.asciz	"capture is on"

	.no_dead_strip	_ddb_capture_status_kvm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ddb_capture_status_kvm
_ddb_capture_status_kvm:                ; @ddb_capture_status_kvm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _X_DB_CAPTURE_BUFOFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X_DB_CAPTURE_BUFOFF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #20
	mov	w3, #4
	mov	w4, #0
	bl	_kread_symbol
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #-1
	bl	_errx
LBB0_2:
Lloh5:
	adrp	x8, _X_DB_CAPTURE_BUFSIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _X_DB_CAPTURE_BUFSIZE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	mov	w3, #4
	mov	w4, #0
	bl	_kread_symbol
	tbz	x0, #63, LBB0_4
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #-1
	bl	_errx
LBB0_4:
Lloh10:
	adrp	x8, _X_DB_CAPTURE_INPROGRESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _X_DB_CAPTURE_INPROGRESS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #20
	mov	x0, x19
	mov	w3, #4
	mov	w4, #0
	bl	_kread_symbol
	tbz	x0, #63, LBB0_6
; %bb.5:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #-1
	bl	_err
LBB0_6:
	ldur	w8, [x29, #-20]
	ldr	w9, [sp, #24]
	stp	x8, x9, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #20]
Lloh17:
	adrp	x9, l_str.6@PAGE
Lloh18:
	add	x9, x9, l_str.6@PAGEOFF
Lloh19:
	adrp	x10, l_str@PAGE
Lloh20:
	add	x10, x10, l_str@PAGEOFF
	cmp	w8, #0
	csel	x0, x10, x9, eq
	bl	_puts
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_X_DB_CAPTURE_BUFOFF,4,2        ; @X_DB_CAPTURE_BUFOFF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kvm: unable to read db_capture_bufoff"

	.comm	_X_DB_CAPTURE_BUFSIZE,4,2       ; @X_DB_CAPTURE_BUFSIZE
l_.str.1:                               ; @.str.1
	.asciz	"kvm: unable to read db_capture_bufsize"

	.comm	_X_DB_CAPTURE_INPROGRESS,4,2    ; @X_DB_CAPTURE_INPROGRESS
l_.str.2:                               ; @.str.2
	.asciz	"kvm: unable to read db_capture_inprogress"

l_.str.3:                               ; @.str.3
	.asciz	"%u/%u bytes used\n"

l_str:                                  ; @str
	.asciz	"capture is off"

l_str.6:                                ; @str.6
	.asciz	"capture is on"

	.no_dead_strip	_ddb_capture_status_kvm
.subsections_via_symbols
