	.file	"extr_ucode.c_iwl_set_temperature_offset_calib.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Radio sensor offset: %d\n"
	.text
	.p2align 4
	.type	iwl_set_temperature_offset_calib, @function
iwl_set_temperature_offset_calib:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 16
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[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, 8[rsp]
	call	iwl_set_calib_hdr@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rax]
	mov	QWORD PTR [rsp], rdi
	test	rdi, rdi
	jne	.L2
	mov	rdi, QWORD PTR DEFAULT_RADIO_SENSOR_OFFSET[rip]
	mov	QWORD PTR [rsp], rdi
.L2:
	call	le16_to_cpu@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	IWL_DEBUG_CALIB@PLT
	mov	edx, 16
	mov	rsi, r12
	mov	rdi, rbp
	call	iwl_calib_set@PLT
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L6
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	iwl_set_temperature_offset_calib, .-iwl_set_temperature_offset_calib
	.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.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Radio sensor offset: %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwl_set_temperature_offset_calib, %function
iwl_set_temperature_offset_calib:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r3, #0
	mov	r4, r0
	ldr	r2, .L7
	sub	sp, sp, #16
	ldr	r1, [r2]
	ldr	r2, .L7+4
	add	r0, sp, #8
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	bl	iwl_set_calib_hdr
	ldr	r3, [r4]
	ldr	r0, [r3]
	cmp	r0, #0
	ldreq	r3, .L7+8
	str	r0, [sp, #4]
	ldreq	r0, [r3]
	streq	r0, [sp, #4]
	bl	le16_to_cpu
	ldr	r1, .L7+12
	mov	r2, r0
	mov	r0, r4
	bl	IWL_DEBUG_CALIB
	mov	r2, #8
	mov	r0, r4
	add	r1, sp, #4
	bl	iwl_calib_set
	ldr	r3, .L7+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	IWL_PHY_CALIBRATE_TEMP_OFFSET_CMD
	.word	.LC1
	.word	DEFAULT_RADIO_SENSOR_OFFSET
	.word	.LC0
	.size	iwl_set_temperature_offset_calib, .-iwl_set_temperature_offset_calib
	.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
