	.file	"extr_iwl-phy-db.c_iwl_send_phy_db_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Sending phy db data and configuration to runtime image\n"
	.align 8
.LC1:
	.string	"Cannot get Phy DB cfg section\n"
	.align 8
.LC2:
	.string	"Cannot send HCMD of  Phy DB cfg section\n"
	.align 8
.LC3:
	.string	"Cannot get Phy DB non specific channel section\n"
	.align 8
.LC4:
	.string	"Cannot send HCMD of Phy DB non specific channel section\n"
	.align 8
.LC5:
	.string	"Cannot send channel specific PAPD groups"
	.align 8
.LC6:
	.string	"Cannot send channel specific TX power groups"
	.align 8
.LC7:
	.string	"Finished sending phy db non channel data\n"
	.text
	.p2align 4
	.globl	iwl_send_phy_db_data
	.type	iwl_send_phy_db_data, @function
iwl_send_phy_db_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rsi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r14, 12[rsp]
	lea	r13, 16[rsp]
	mov	QWORD PTR 16[rsp], 0
	mov	DWORD PTR 12[rsp], 0
	call	IWL_DEBUG_INFO@PLT
	xor	r8d, r8d
	mov	rcx, r14
	mov	rdx, r13
	mov	esi, DWORD PTR IWL_PHY_DB_CFG[rip]
	mov	rdi, rbx
	call	iwl_phy_db_get_section_data@PLT
	test	eax, eax
	jne	.L12
	mov	rcx, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 12[rsp]
	mov	rdi, rbx
	mov	esi, DWORD PTR IWL_PHY_DB_CFG[rip]
	call	iwl_send_phy_db_cmd@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L13
	mov	esi, DWORD PTR IWL_PHY_DB_CALIB_NCH[rip]
	xor	r8d, r8d
	mov	rcx, r14
	mov	rdx, r13
	mov	rdi, rbx
	call	iwl_phy_db_get_section_data@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L14
	mov	rcx, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 12[rsp]
	mov	rdi, rbx
	mov	esi, DWORD PTR IWL_PHY_DB_CALIB_NCH[rip]
	call	iwl_send_phy_db_cmd@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L15
	mov	edx, DWORD PTR IWL_NUM_PAPD_CH_GROUPS[rip]
	mov	esi, DWORD PTR IWL_PHY_DB_CALIB_CHG_PAPD[rip]
	mov	rdi, rbx
	call	iwl_phy_db_send_all_channel_groups@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L16
	mov	edx, DWORD PTR IWL_NUM_TXP_CH_GROUPS[rip]
	mov	esi, DWORD PTR IWL_PHY_DB_CALIB_CHG_TXP[rip]
	mov	rdi, rbx
	call	iwl_phy_db_send_all_channel_groups@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L17
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC7[rip]
	call	IWL_DEBUG_INFO@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	call	IWL_ERR@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.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
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	mov	r12d, eax
	call	IWL_ERR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC4[rip]
	call	IWL_ERR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC3[rip]
	call	IWL_ERR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC5[rip]
	call	IWL_ERR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC6[rip]
	call	IWL_ERR@PLT
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	iwl_send_phy_db_data, .-iwl_send_phy_db_data
	.comm	IWL_PHY_DB_CFG,4,4
	.comm	IWL_PHY_DB_CALIB_NCH,4,4
	.comm	IWL_PHY_DB_CALIB_CHG_TXP,4,4
	.comm	IWL_PHY_DB_CALIB_CHG_PAPD,4,4
	.comm	IWL_NUM_TXP_CH_GROUPS,4,4
	.comm	IWL_NUM_PAPD_CH_GROUPS,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_iwl-phy-db.c_iwl_send_phy_db_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Sending phy db data and configuration to runtime im"
	.ascii	"age\012\000"
	.align	2
.LC1:
	.ascii	"Cannot get Phy DB cfg section\012\000"
	.align	2
.LC2:
	.ascii	"Cannot send HCMD of  Phy DB cfg section\012\000"
	.align	2
.LC3:
	.ascii	"Cannot get Phy DB non specific channel section\012\000"
	.align	2
.LC4:
	.ascii	"Cannot send HCMD of Phy DB non specific channel sec"
	.ascii	"tion\012\000"
	.align	2
.LC5:
	.ascii	"Cannot send channel specific PAPD groups\000"
	.align	2
.LC6:
	.ascii	"Cannot send channel specific TX power groups\000"
	.align	2
.LC7:
	.ascii	"Finished sending phy db non channel data\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	iwl_send_phy_db_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwl_send_phy_db_data, %function
iwl_send_phy_db_data:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	mov	r5, r0
	ldr	r3, .L19
	sub	sp, sp, #24
	ldr	r1, .L19+4
	ldr	r6, .L19+8
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	bl	IWL_DEBUG_INFO
	str	r4, [sp]
	mov	r0, r5
	ldr	r1, [r6]
	add	r3, sp, #16
	add	r2, sp, #12
	bl	iwl_phy_db_get_section_data
	subs	r4, r0, #0
	bne	.L12
	mov	r0, r5
	ldr	r1, [r6]
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #16]
	bl	iwl_send_phy_db_cmd
	subs	r4, r0, #0
	bne	.L13
	ldr	r6, .L19+12
	str	r4, [sp]
	mov	r0, r5
	ldr	r1, [r6]
	add	r3, sp, #16
	add	r2, sp, #12
	bl	iwl_phy_db_get_section_data
	subs	r4, r0, #0
	bne	.L14
	mov	r0, r5
	ldr	r1, [r6]
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #16]
	bl	iwl_send_phy_db_cmd
	subs	r4, r0, #0
	bne	.L15
	ldr	r3, .L19+16
	ldr	r2, .L19+20
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	iwl_phy_db_send_all_channel_groups
	subs	r4, r0, #0
	bne	.L16
	ldr	r3, .L19+24
	ldr	r2, .L19+28
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	iwl_phy_db_send_all_channel_groups
	subs	r4, r0, #0
	ldr	r0, [r5]
	bne	.L17
	ldr	r1, .L19+32
	bl	IWL_DEBUG_INFO
	b	.L1
.L13:
	ldr	r0, [r5]
	ldr	r1, .L19+36
	bl	IWL_ERR
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r0, [r5]
	ldr	r1, .L19+40
	bl	IWL_ERR
	b	.L1
.L15:
	ldr	r0, [r5]
	ldr	r1, .L19+44
	bl	IWL_ERR
	b	.L1
.L14:
	ldr	r0, [r5]
	ldr	r1, .L19+48
	bl	IWL_ERR
	b	.L1
.L16:
	ldr	r0, [r5]
	ldr	r1, .L19+52
	bl	IWL_ERR
	b	.L1
.L17:
	ldr	r1, .L19+56
	bl	IWL_ERR
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC8
	.word	.LC0
	.word	IWL_PHY_DB_CFG
	.word	IWL_PHY_DB_CALIB_NCH
	.word	IWL_PHY_DB_CALIB_CHG_PAPD
	.word	IWL_NUM_PAPD_CH_GROUPS
	.word	IWL_PHY_DB_CALIB_CHG_TXP
	.word	IWL_NUM_TXP_CH_GROUPS
	.word	.LC7
	.word	.LC2
	.word	.LC1
	.word	.LC4
	.word	.LC3
	.word	.LC5
	.word	.LC6
	.size	iwl_send_phy_db_data, .-iwl_send_phy_db_data
	.comm	IWL_PHY_DB_CFG,4,4
	.comm	IWL_PHY_DB_CALIB_NCH,4,4
	.comm	IWL_PHY_DB_CALIB_CHG_TXP,4,4
	.comm	IWL_PHY_DB_CALIB_CHG_PAPD,4,4
	.comm	IWL_NUM_TXP_CH_GROUPS,4,4
	.comm	IWL_NUM_PAPD_CH_GROUPS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
