	.file	"extr_ddb_capture.c_ddb_capture_status_sysctl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sysctl: %s"
.LC1:
	.string	"%u/%u bytes used\n"
.LC2:
	.string	"capture is on"
.LC3:
	.string	"capture is off"
	.text
	.p2align 4
	.type	ddb_capture_status_sysctl, @function
ddb_capture_status_sysctl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r8d, r8d
	xor	ecx, ecx
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR SYSCTL_DDB_CAPTURE_BUFOFF[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r12, 16[rsp]
	lea	rsi, 4[rsp]
	mov	QWORD PTR 16[rsp], 4
	mov	rdx, r12
	call	sysctlbyname@PLT
	test	rax, rax
	js	.L10
.L2:
	mov	edi, DWORD PTR SYSCTL_DDB_CAPTURE_BUFSIZE[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	lea	rsi, 8[rsp]
	mov	QWORD PTR 16[rsp], 4
	mov	rdx, r12
	call	sysctlbyname@PLT
	test	rax, rax
	js	.L11
.L3:
	mov	edi, DWORD PTR SYSCTL_DDB_CAPTURE_INPROGRESS[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	lea	rsi, 12[rsp]
	mov	QWORD PTR 16[rsp], 4
	mov	rdx, r12
	call	sysctlbyname@PLT
	test	rax, rax
	js	.L12
.L4:
	mov	edx, DWORD PTR 8[rsp]
	mov	esi, DWORD PTR 4[rsp]
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	printf@PLT
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	je	.L5
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, DWORD PTR SYSCTL_DDB_CAPTURE_BUFOFF[rip]
	mov	edi, DWORD PTR EX_OSERR[rip]
	lea	rsi, .LC0[rip]
	call	err@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edx, DWORD PTR SYSCTL_DDB_CAPTURE_INPROGRESS[rip]
	mov	edi, DWORD PTR EX_OSERR[rip]
	lea	rsi, .LC0[rip]
	call	err@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edx, DWORD PTR SYSCTL_DDB_CAPTURE_BUFSIZE[rip]
	mov	edi, DWORD PTR EX_OSERR[rip]
	lea	rsi, .LC0[rip]
	call	err@PLT
	jmp	.L3
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ddb_capture_status_sysctl, .-ddb_capture_status_sysctl
	.comm	SYSCTL_DDB_CAPTURE_INPROGRESS,4,4
	.comm	SYSCTL_DDB_CAPTURE_BUFSIZE,4,4
	.comm	SYSCTL_DDB_CAPTURE_BUFOFF,4,4
	.comm	EX_OSERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ddb_capture.c_ddb_capture_status_sysctl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sysctl: %s\000"
	.align	2
.LC1:
	.ascii	"%u/%u bytes used\012\000"
	.align	2
.LC2:
	.ascii	"capture is on\000"
	.align	2
.LC3:
	.ascii	"capture is off\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ddb_capture_status_sysctl, %function
ddb_capture_status_sysctl:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	mov	ip, #4
	push	{r4, r5, lr}
	ldr	r4, .L14
	sub	sp, sp, #36
	str	r3, [sp]
	ldr	lr, .L14+4
	ldr	r0, [r4]
	add	r2, sp, #24
	add	r1, sp, #12
	ldr	lr, [lr]
	str	lr, [sp, #28]
	mov	lr,#0
	str	ip, [sp, #24]
	bl	sysctlbyname
	cmp	r0, #0
	blt	.L10
.L2:
	mov	r3, #0
	mov	ip, #4
	ldr	r4, .L14+8
	str	r3, [sp]
	ldr	r0, [r4]
	add	r2, sp, #24
	add	r1, sp, #16
	str	ip, [sp, #24]
	bl	sysctlbyname
	cmp	r0, #0
	blt	.L11
.L3:
	mov	r3, #0
	mov	ip, #4
	ldr	r4, .L14+12
	str	r3, [sp]
	ldr	r0, [r4]
	add	r2, sp, #24
	add	r1, sp, #20
	str	ip, [sp, #24]
	bl	sysctlbyname
	cmp	r0, #0
	blt	.L12
.L4:
	ldr	r2, [sp, #16]
	ldr	r1, [sp, #12]
	ldr	r0, .L14+16
	bl	printf
	ldr	r3, [sp, #20]
	cmp	r3, #0
	ldrne	r0, .L14+20
	ldreq	r0, .L14+24
	bl	puts
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L10:
	ldr	r3, .L14+28
	ldr	r2, [r4]
	ldr	r0, [r3]
	ldr	r1, .L14+32
	bl	err
	b	.L2
.L12:
	ldr	r3, .L14+28
	ldr	r2, [r4]
	ldr	r0, [r3]
	ldr	r1, .L14+32
	bl	err
	b	.L4
.L11:
	ldr	r3, .L14+28
	ldr	r2, [r4]
	ldr	r0, [r3]
	ldr	r1, .L14+32
	bl	err
	b	.L3
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	SYSCTL_DDB_CAPTURE_BUFOFF
	.word	.LC4
	.word	SYSCTL_DDB_CAPTURE_BUFSIZE
	.word	SYSCTL_DDB_CAPTURE_INPROGRESS
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	EX_OSERR
	.word	.LC0
	.size	ddb_capture_status_sysctl, .-ddb_capture_status_sysctl
	.comm	SYSCTL_DDB_CAPTURE_INPROGRESS,4,4
	.comm	SYSCTL_DDB_CAPTURE_BUFSIZE,4,4
	.comm	SYSCTL_DDB_CAPTURE_BUFOFF,4,4
	.comm	EX_OSERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
