	.file	"extr_scan.c_iwl_mvm_lmac_scan_cfg_channels.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	iwl_mvm_lmac_scan_cfg_channels, @function
iwl_mvm_lmac_scan_cfg_channels:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	jle	.L6
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	eax, -1[rdx]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	sal	rax, 5
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	lea	r13, 32[r8+rax]
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, r8
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 0[rbp]
	add	rbx, 32
	add	rbp, 8
	mov	edi, DWORD PTR [rax]
	call	cpu_to_le16@PLT
	mov	edi, 1
	mov	QWORD PTR -8[rbx], rax
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR IWL_UNIFIED_SCAN_CHANNEL_PARTIAL[rip]
	mov	QWORD PTR -24[rbx], 0
	mov	QWORD PTR -16[rbx], rax
	or	edi, r12d
	call	cpu_to_le32@PLT
	mov	DWORD PTR -32[rbx], eax
	cmp	rbx, r13
	jne	.L3
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	iwl_mvm_lmac_scan_cfg_channels, .-iwl_mvm_lmac_scan_cfg_channels
	.comm	IWL_UNIFIED_SCAN_CHANNEL_PARTIAL,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_scan.c_iwl_mvm_lmac_scan_cfg_channels.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwl_mvm_lmac_scan_cfg_channels, %function
iwl_mvm_lmac_scan_cfg_channels:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	bxle	lr
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r3
	mov	r9, #0
	sub	r5, r1, #4
	ldr	r4, [sp, #32]
	ldr	r8, .L10
	add	r6, r5, r2, lsl #2
.L3:
	ldr	r3, [r5, #4]!
	ldr	r0, [r3]
	bl	cpu_to_le16
	mov	r3, r0
	mov	r0, #1
	str	r3, [r4, #12]
	bl	cpu_to_le16
	ldr	r2, [r8]
	str	r0, [r4, #8]
	str	r9, [r4, #4]
	orr	r0, r7, r2
	bl	cpu_to_le32
	cmp	r5, r6
	str	r0, [r4], #16
	bne	.L3
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	.align	2
.L10:
	.word	IWL_UNIFIED_SCAN_CHANNEL_PARTIAL
	.size	iwl_mvm_lmac_scan_cfg_channels, .-iwl_mvm_lmac_scan_cfg_channels
	.comm	IWL_UNIFIED_SCAN_CHANNEL_PARTIAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
