	.file	"extr_core.c_ath10k_fetch_cal_file.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"pre-cal-%s-%s.bin"
.LC1:
	.string	"cal-%s-%s.bin"
.LC2:
	.string	"found calibration file %s/%s\n"
	.text
	.p2align 4
	.type	ath10k_fetch_cal_file, @function
ath10k_fetch_cal_file:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 112
	.cfi_def_cfa_offset 144
	mov	edi, DWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	mov	rbx, rsp
	call	dev_name@PLT
	mov	edi, DWORD PTR 12[rbp]
	mov	r12d, eax
	call	ath10k_bus_str@PLT
	mov	r8d, r12d
	mov	esi, 100
	mov	rdi, rbx
	mov	ecx, eax
	lea	rdx, .LC0[rip]
	call	scnprintf@PLT
	mov	esi, DWORD PTR ATH10K_FW_DIR[rip]
	mov	rdi, rbp
	mov	rdx, rbx
	call	ath10k_fetch_fw_file@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L13
.L2:
	mov	ecx, DWORD PTR ATH10K_FW_DIR[rip]
	mov	esi, DWORD PTR ATH10K_DBG_BOOT[rip]
	mov	r8, rbx
	mov	rdi, rbp
	lea	rdx, .LC2[rip]
	call	ath10k_dbg@PLT
	xor	eax, eax
.L1:
	mov	rdx, QWORD PTR 104[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 112
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbp]
	call	dev_name@PLT
	mov	edi, DWORD PTR 12[rbp]
	mov	r12d, eax
	call	ath10k_bus_str@PLT
	mov	r8d, r12d
	mov	esi, 100
	mov	rdi, rbx
	mov	ecx, eax
	lea	rdx, .LC1[rip]
	call	scnprintf@PLT
	mov	esi, DWORD PTR ATH10K_FW_DIR[rip]
	mov	rdi, rbp
	mov	rdx, rbx
	call	ath10k_fetch_fw_file@PLT
	mov	QWORD PTR 0[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L2
	mov	rdi, QWORD PTR 0[rbp]
	call	PTR_ERR@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ath10k_fetch_cal_file, .-ath10k_fetch_cal_file
	.comm	ATH10K_FW_DIR,4,4
	.comm	ATH10K_DBG_BOOT,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_core.c_ath10k_fetch_cal_file.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pre-cal-%s-%s.bin\000"
	.align	2
.LC1:
	.ascii	"cal-%s-%s.bin\000"
	.align	2
.LC2:
	.ascii	"found calibration file %s/%s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath10k_fetch_cal_file, %function
ath10k_fetch_cal_file:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L15
	sub	sp, sp, #112
	mov	r4, r0
	ldr	r0, [r0, #8]
	ldr	r3, [r3]
	str	r3, [sp, #108]
	mov	r3,#0
	bl	ath10k_bus_str
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	dev_name
	ldr	r6, .L15+4
	mov	r3, r5
	mov	r1, #100
	ldr	r2, .L15+8
	str	r0, [sp]
	add	r0, sp, #8
	bl	scnprintf
	ldr	r1, [r6]
	add	r2, sp, #8
	mov	r0, r4
	bl	ath10k_fetch_fw_file
	str	r0, [r4, #12]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L13
.L2:
	ldr	r2, .L15+12
	add	r3, sp, #8
	str	r3, [sp]
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r3, [r6]
	ldr	r2, .L15+16
	bl	ath10k_dbg
	mov	r0, #0
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #108]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #112
	@ sp needed
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r0, [r4, #8]
	bl	ath10k_bus_str
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	dev_name
	mov	r3, r5
	mov	r1, #100
	ldr	r2, .L15+20
	str	r0, [sp]
	add	r0, sp, #8
	bl	scnprintf
	ldr	r1, [r6]
	add	r2, sp, #8
	mov	r0, r4
	bl	ath10k_fetch_fw_file
	str	r0, [r4]
	bl	IS_ERR
	cmp	r0, #0
	beq	.L2
	ldr	r0, [r4]
	bl	PTR_ERR
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC3
	.word	ATH10K_FW_DIR
	.word	.LC0
	.word	ATH10K_DBG_BOOT
	.word	.LC2
	.word	.LC1
	.size	ath10k_fetch_cal_file, .-ath10k_fetch_cal_file
	.comm	ATH10K_FW_DIR,4,4
	.comm	ATH10K_DBG_BOOT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
