	.file	"extr_ucode.c_iwl_set_temperature_offset_calib_v2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"no info in EEPROM, use default\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Radio sensor offset high: %d\n"
.LC2:
	.string	"Radio sensor offset low: %d\n"
.LC3:
	.string	"Voltage Ref: %d\n"
	.text
	.p2align 4
	.type	iwl_set_temperature_offset_calib_v2, @function
iwl_set_temperature_offset_calib_v2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 32
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	mov	rdi, r12
	call	memset@PLT
	mov	esi, DWORD PTR IWL_PHY_CALIBRATE_TEMP_OFFSET_CMD[rip]
	lea	rdi, 24[rsp]
	call	iwl_set_calib_hdr@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	QWORD PTR 16[rsp], rdi
	mov	QWORD PTR 8[rsp], rdx
	test	rdx, rdx
	je	.L6
.L2:
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rsp], rax
	call	le16_to_cpu@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	edx, eax
	xor	eax, eax
	call	IWL_DEBUG_CALIB@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	le16_to_cpu@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	mov	edx, eax
	xor	eax, eax
	call	IWL_DEBUG_CALIB@PLT
	mov	rdi, QWORD PTR [rsp]
	call	le16_to_cpu@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	mov	edx, eax
	xor	eax, eax
	call	IWL_DEBUG_CALIB@PLT
	mov	edx, 32
	mov	rsi, r12
	mov	rdi, rbp
	call	iwl_calib_set@PLT
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	IWL_DEBUG_CALIB@PLT
	mov	rdi, QWORD PTR DEFAULT_RADIO_SENSOR_OFFSET[rip]
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR 8[rsp], rdi
	mov	QWORD PTR 16[rsp], rdi
	jmp	.L2
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	iwl_set_temperature_offset_calib_v2, .-iwl_set_temperature_offset_calib_v2
	.comm	IWL_PHY_CALIBRATE_TEMP_OFFSET_CMD,4,4
	.comm	DEFAULT_RADIO_SENSOR_OFFSET,8,8
	.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_ucode.c_iwl_set_temperature_offset_calib_v2.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no info in EEPROM, use default\012\000"
	.align	2
.LC1:
	.ascii	"Radio sensor offset high: %d\012\000"
	.align	2
.LC2:
	.ascii	"Radio sensor offset low: %d\012\000"
	.align	2
.LC3:
	.ascii	"Voltage Ref: %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwl_set_temperature_offset_calib_v2, %function
iwl_set_temperature_offset_calib_v2:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r3, #0
	mov	r4, r0
	ldr	r2, .L8
	sub	sp, sp, #24
	ldr	r1, [r2]
	ldr	r2, .L8+4
	add	r0, sp, #16
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	bl	iwl_set_calib_hdr
	ldr	r3, [r4]
	ldr	r2, [r3, #4]
	ldr	r0, [r3, #8]
	cmp	r2, #0
	str	r2, [sp, #8]
	str	r0, [sp, #12]
	beq	.L6
.L2:
	ldr	r3, [r3]
	str	r3, [sp, #4]
	bl	le16_to_cpu
	ldr	r1, .L8+8
	mov	r2, r0
	mov	r0, r4
	bl	IWL_DEBUG_CALIB
	ldr	r0, [sp, #8]
	bl	le16_to_cpu
	ldr	r1, .L8+12
	mov	r2, r0
	mov	r0, r4
	bl	IWL_DEBUG_CALIB
	ldr	r0, [sp, #4]
	bl	le16_to_cpu
	ldr	r1, .L8+16
	mov	r2, r0
	mov	r0, r4
	bl	IWL_DEBUG_CALIB
	mov	r2, #16
	mov	r0, r4
	add	r1, sp, #4
	bl	iwl_calib_set
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #24
	@ sp needed
	pop	{r4, pc}
.L6:
	mov	r0, r4
	ldr	r1, .L8+20
	bl	IWL_DEBUG_CALIB
	ldr	r2, .L8+24
	ldr	r3, [r4]
	ldr	r0, [r2]
	str	r0, [sp, #8]
	str	r0, [sp, #12]
	b	.L2
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	IWL_PHY_CALIBRATE_TEMP_OFFSET_CMD
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.word	DEFAULT_RADIO_SENSOR_OFFSET
	.size	iwl_set_temperature_offset_calib_v2, .-iwl_set_temperature_offset_calib_v2
	.comm	IWL_PHY_CALIBRATE_TEMP_OFFSET_CMD,4,4
	.comm	DEFAULT_RADIO_SENSOR_OFFSET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
