	.file	"extr_op-rfkill.c_wimax_rfkill_add.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"(wimax_dev %p)\n"
.LC1:
	.string	"rfkill %p\n"
.LC2:
	.string	"(wimax_dev %p) = 0\n"
.LC3:
	.string	"(wimax_dev %p) = %d\n"
	.text
	.p2align 4
	.globl	wimax_rfkill_add
	.type	wimax_rfkill_add, @function
wimax_rfkill_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	wimax_dev_to_dev@PLT
	mov	rcx, r12
	mov	edi, 3
	lea	rdx, .LC0[rip]
	mov	rsi, rax
	mov	rbp, rax
	call	d_fnstart@PLT
	mov	edi, DWORD PTR 24[r12]
	mov	r8, r12
	mov	rsi, rbp
	mov	edx, DWORD PTR RFKILL_TYPE_WIMAX[rip]
	lea	rcx, wimax_rfkill_ops[rip]
	mov	r13d, DWORD PTR ENOMEM[rip]
	call	rfkill_alloc@PLT
	test	rax, rax
	je	.L2
	mov	r14, rax
	mov	rcx, rax
	lea	rdx, .LC1[rip]
	mov	rsi, rbp
	mov	edi, 1
	call	d_printf@PLT
	mov	QWORD PTR [r12], r14
	mov	esi, 1
	mov	rdi, r14
	call	rfkill_init_sw_state@PLT
	mov	rdi, QWORD PTR [r12]
	call	rfkill_register@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L9
	cmp	QWORD PTR 16[r12], 0
	je	.L10
.L5:
	mov	rcx, r12
	mov	rsi, rbp
	lea	rdx, .LC2[rip]
	xor	eax, eax
	mov	edi, 3
	xor	r13d, r13d
	call	d_fnend@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	neg	r13d
.L4:
	mov	r8d, r13d
	mov	rcx, r12
	mov	rsi, rbp
	mov	edi, 3
	lea	rdx, .LC3[rip]
	xor	eax, eax
	call	d_fnend@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	eax, DWORD PTR WIMAX_RF_ON[rip]
	mov	DWORD PTR 8[r12], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR [r12]
	call	rfkill_destroy@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	wimax_rfkill_add, .-wimax_rfkill_add
	.comm	wimax_rfkill_ops,4,4
	.comm	WIMAX_RF_ON,4,4
	.comm	RFKILL_TYPE_WIMAX,4,4
	.comm	ENOMEM,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_op-rfkill.c_wimax_rfkill_add.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(wimax_dev %p)\012\000"
	.align	2
.LC1:
	.ascii	"rfkill %p\012\000"
	.align	2
.LC2:
	.ascii	"(wimax_dev %p) = 0\012\000"
	.align	2
.LC3:
	.ascii	"(wimax_dev %p) = %d\012\000"
	.text
	.align	2
	.global	wimax_rfkill_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	wimax_rfkill_add, %function
wimax_rfkill_add:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r4, r0
	bl	wimax_dev_to_dev
	mov	r5, r0
	mov	r1, r0
	mov	r3, r4
	ldr	r2, .L10
	mov	r0, #3
	bl	d_fnstart
	ldr	r3, .L10+4
	str	r4, [sp]
	ldr	ip, .L10+8
	ldr	r2, [r3]
	mov	r1, r5
	ldr	r0, [r4, #12]
	ldr	r3, .L10+12
	ldr	r6, [ip]
	bl	rfkill_alloc
	subs	r7, r0, #0
	beq	.L2
	mov	r3, r7
	ldr	r2, .L10+16
	mov	r1, r5
	mov	r0, #1
	bl	d_printf
	mov	r1, #1
	mov	r0, r7
	str	r7, [r4]
	bl	rfkill_init_sw_state
	ldr	r0, [r4]
	bl	rfkill_register
	subs	r6, r0, #0
	blt	.L9
	mov	r6, #0
	ldr	r3, [r4, #8]
	mov	r1, r5
	cmp	r3, #0
	ldreq	r3, .L10+20
	ldr	r2, .L10+24
	ldreq	r3, [r3]
	mov	r0, #3
	streq	r3, [r4, #4]
	mov	r3, r4
	bl	d_fnend
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	rsb	r6, r6, #0
.L4:
	mov	r3, r4
	mov	r1, r5
	ldr	r2, .L10+28
	str	r6, [sp]
	mov	r0, #3
	bl	d_fnend
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	ldr	r0, [r4]
	bl	rfkill_destroy
	b	.L4
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	RFKILL_TYPE_WIMAX
	.word	ENOMEM
	.word	wimax_rfkill_ops
	.word	.LC1
	.word	WIMAX_RF_ON
	.word	.LC2
	.word	.LC3
	.size	wimax_rfkill_add, .-wimax_rfkill_add
	.comm	wimax_rfkill_ops,4,4
	.comm	WIMAX_RF_ON,4,4
	.comm	RFKILL_TYPE_WIMAX,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
