	.file	"extr_cdrom.c_cdrom_ioctl_debug.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"En"
.LC1:
	.string	"Dis"
.LC2:
	.string	"%sabling debug\n"
	.text
	.p2align 4
	.type	cdrom_ioctl_debug, @function
cdrom_ioctl_debug:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rsi
	lea	rax, .LC1[rip]
	lea	rdx, .LC0[rip]
	mov	edi, DWORD PTR CD_DO_IOCTL[rip]
	lea	rsi, .LC2[rip]
	cmove	rdx, rax
	call	cd_dbg@PLT
	mov	edi, DWORD PTR CAP_SYS_ADMIN[rip]
	call	capable@PLT
	test	eax, eax
	je	.L8
	xor	eax, eax
	test	rbx, rbx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	setne	al
	mov	DWORD PTR debug[rip], eax
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR EACCES[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	cdrom_ioctl_debug, .-cdrom_ioctl_debug
	.comm	debug,4,4
	.comm	EACCES,4,4
	.comm	CD_DO_IOCTL,4,4
	.comm	CAP_SYS_ADMIN,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_cdrom.c_cdrom_ioctl_debug.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"En\000"
	.align	2
.LC1:
	.ascii	"Dis\000"
	.align	2
.LC2:
	.ascii	"%sabling debug\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cdrom_ioctl_debug, %function
cdrom_ioctl_debug:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	ldr	r0, .L9+4
	push	{r4, lr}
	subs	r4, r1, #0
	ldr	r2, .L9+8
	ldr	r1, .L9+12
	movne	r2, r0
	ldr	r0, [r3]
	bl	cd_dbg
	ldr	r3, .L9+16
	ldr	r0, [r3]
	bl	capable
	cmp	r0, #0
	beq	.L8
	subs	r0, r4, #0
	movne	r0, #1
	ldr	r3, .L9+20
	str	r0, [r3]
	pop	{r4, pc}
.L8:
	ldr	r3, .L9+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	CD_DO_IOCTL
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	CAP_SYS_ADMIN
	.word	debug
	.word	EACCES
	.size	cdrom_ioctl_debug, .-cdrom_ioctl_debug
	.comm	debug,4,4
	.comm	EACCES,4,4
	.comm	CD_DO_IOCTL,4,4
	.comm	CAP_SYS_ADMIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
