	.file	"extr_sysfs.c_b43legacy_attr_interfmode_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"0 (No Interference Mitigation)\n"
	.align 8
.LC1:
	.string	"1 (Non-WLAN Interference Mitigation)\n"
	.align 8
.LC2:
	.string	"2 (WLAN Interference Mitigation)\n"
	.text
	.p2align 4
	.type	b43legacy_attr_interfmode_show, @function
b43legacy_attr_interfmode_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	dev_to_b43legacy_wldev@PLT
	mov	edi, DWORD PTR CAP_NET_ADMIN[rip]
	mov	rbx, rax
	call	capable@PLT
	test	eax, eax
	jne	.L2
	mov	r12d, DWORD PTR EPERM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	call	mutex_lock@PLT
	mov	eax, DWORD PTR 8[rbx]
	cmp	eax, 129
	je	.L4
	cmp	eax, 130
	je	.L5
	cmp	eax, 128
	je	.L12
	mov	edi, 1
	xor	r12d, r12d
	call	B43legacy_WARN_ON@PLT
	mov	rdi, QWORD PTR [rbx]
	call	mutex_unlock@PLT
.L13:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	mov	rdi, r12
	lea	rdx, .LC0[rip]
	call	snprintf@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	r12d, eax
	call	mutex_unlock@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	mov	rdi, r12
	lea	rdx, .LC1[rip]
	call	snprintf@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	r12d, eax
	call	mutex_unlock@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	mov	rdi, r12
	lea	rdx, .LC2[rip]
	call	snprintf@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	r12d, eax
	call	mutex_unlock@PLT
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	b43legacy_attr_interfmode_show, .-b43legacy_attr_interfmode_show
	.comm	PAGE_SIZE,4,4
	.comm	EPERM,4,4
	.comm	CAP_NET_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_sysfs.c_b43legacy_attr_interfmode_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0 (No Interference Mitigation)\012\000"
	.align	2
.LC1:
	.ascii	"1 (Non-WLAN Interference Mitigation)\012\000"
	.align	2
.LC2:
	.ascii	"2 (WLAN Interference Mitigation)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43legacy_attr_interfmode_show, %function
b43legacy_attr_interfmode_show:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	bl	dev_to_b43legacy_wldev
	ldr	r3, .L14
	mov	r4, r0
	ldr	r0, [r3]
	bl	capable
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L14+4
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, [r4]
	bl	mutex_lock
	ldr	r3, [r4, #4]
	cmp	r3, #129
	beq	.L4
	cmp	r3, #130
	beq	.L5
	cmp	r3, #128
	beq	.L12
	mov	r0, #1
	bl	B43legacy_WARN_ON
	ldr	r0, [r4]
	mov	r5, #0
	bl	mutex_unlock
.L13:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L14+8
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L14+12
	bl	snprintf
	mov	r5, r0
	ldr	r0, [r4]
	bl	mutex_unlock
	b	.L13
.L12:
	ldr	r3, .L14+8
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L14+16
	bl	snprintf
	mov	r5, r0
	ldr	r0, [r4]
	bl	mutex_unlock
	b	.L13
.L5:
	ldr	r3, .L14+8
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L14+20
	bl	snprintf
	mov	r5, r0
	ldr	r0, [r4]
	bl	mutex_unlock
	b	.L13
.L15:
	.align	2
.L14:
	.word	CAP_NET_ADMIN
	.word	EPERM
	.word	PAGE_SIZE
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	b43legacy_attr_interfmode_show, .-b43legacy_attr_interfmode_show
	.comm	PAGE_SIZE,4,4
	.comm	EPERM,4,4
	.comm	CAP_NET_ADMIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
