	.file	"extr_control.c_i2400m_report_hook.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"(i2400m %p l3l4_hdr %p size %zu)\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"REPORT STATE"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"ready for powersave, not requesting (disabled by module parameter)\n"
	.align 8
.LC3:
	.string	"ready for powersave, requesting\n"
	.align 8
.LC4:
	.string	"(i2400m %p l3l4_hdr %p size %zu) = void\n"
	.text
	.p2align 4
	.globl	i2400m_report_hook
	.type	i2400m_report_hook, @function
i2400m_report_hook:
.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
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	i2400m_dev@PLT
	mov	edi, 3
	mov	r9, rbp
	mov	r8, rbx
	mov	rcx, r12
	lea	rdx, .LC0[rip]
	mov	rsi, rax
	mov	r13, rax
	call	d_fnstart@PLT
	mov	edi, DWORD PTR 4[rbx]
	call	le16_to_cpu@PLT
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	jne	.L4
	mov	edi, DWORD PTR I2400M_MS_DONE_OK[rip]
	mov	r14d, DWORD PTR [rbx]
	call	cpu_to_le16@PLT
	cmp	r14d, eax
	je	.L8
.L4:
	mov	r9, rbp
	mov	r8, rbx
	mov	rcx, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	lea	rdx, .LC4[rip]
	pop	r12
	.cfi_def_cfa_offset 24
	mov	edi, 3
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	d_fnend@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rcx, .LC1[rip]
	mov	rdx, rbp
	mov	rsi, rbx
	mov	rdi, r12
	call	i2400m_report_state_hook@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR i2400m_power_save_disabled[rip]
	test	eax, eax
	je	.L5
	lea	rdx, .LC2[rip]
	mov	rsi, r13
	mov	edi, 1
	call	d_printf@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rdx, .LC3[rip]
	mov	rsi, r13
	mov	edi, 1
	call	d_printf@PLT
	mov	rdi, r12
	call	i2400m_cmd_enter_powersave@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	i2400m_report_hook, .-i2400m_report_hook
	.comm	i2400m_power_save_disabled,4,4
	.comm	I2400M_MS_DONE_OK,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_control.c_i2400m_report_hook.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(i2400m %p l3l4_hdr %p size %zu)\012\000"
	.align	2
.LC1:
	.ascii	"REPORT STATE\000"
	.align	2
.LC2:
	.ascii	"ready for powersave, not requesting (disabled by mo"
	.ascii	"dule parameter)\012\000"
	.align	2
.LC3:
	.ascii	"ready for powersave, requesting\012\000"
	.align	2
.LC4:
	.ascii	"(i2400m %p l3l4_hdr %p size %zu) = void\012\000"
	.text
	.align	2
	.global	i2400m_report_hook
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2400m_report_hook, %function
i2400m_report_hook:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	mov	r4, r1
	mov	r7, r2
	mov	r5, r0
	bl	i2400m_dev
	mov	r3, r5
	mov	r1, r0
	ldr	r2, .L9
	mov	r6, r0
	stm	sp, {r4, r7}
	mov	r0, #3
	bl	d_fnstart
	ldr	r0, [r4, #4]
	bl	le16_to_cpu
	cmp	r0, #128
	beq	.L2
	cmp	r0, #129
	bne	.L4
	ldr	r3, .L9+4
	ldr	r8, [r4]
	ldr	r0, [r3]
	bl	cpu_to_le16
	cmp	r8, r0
	beq	.L8
.L4:
	mov	r3, r5
	mov	r1, r6
	stm	sp, {r4, r7}
	ldr	r2, .L9+8
	mov	r0, #3
	bl	d_fnend
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r2, r7
	mov	r1, r4
	mov	r0, r5
	ldr	r3, .L9+12
	bl	i2400m_report_state_hook
	b	.L4
.L8:
	ldr	r3, .L9+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	mov	r1, r6
	ldr	r2, .L9+20
	mov	r0, #1
	bl	d_printf
	b	.L4
.L5:
	mov	r1, r6
	ldr	r2, .L9+24
	mov	r0, #1
	bl	d_printf
	mov	r0, r5
	bl	i2400m_cmd_enter_powersave
	b	.L4
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	I2400M_MS_DONE_OK
	.word	.LC4
	.word	.LC1
	.word	i2400m_power_save_disabled
	.word	.LC2
	.word	.LC3
	.size	i2400m_report_hook, .-i2400m_report_hook
	.comm	i2400m_power_save_disabled,4,4
	.comm	I2400M_MS_DONE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
