	.file	"extr_if_sdio.c_if_sdio_do_prog_firmware.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed to find firmware (%d)\n"
.LC1:
	.string	"Helper firmware loaded\n"
.LC2:
	.string	"Firmware loaded\n"
	.text
	.p2align 4
	.type	if_sdio_do_prog_firmware, @function
if_sdio_do_prog_firmware:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	jne	.L9
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rsi, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12, QWORD PTR [rdi]
	mov	rdi, r12
	call	if_sdio_prog_helper@PLT
	test	eax, eax
	je	.L10
.L1:
	add	rsp, 8
	.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
.L10:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	lbs_deb_sdio@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	if_sdio_prog_real@PLT
	test	eax, eax
	jne	.L1
	lea	rdi, .LC2[rip]
	call	lbs_deb_sdio@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	if_sdio_finish_power_on@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rdi, .LC0[rip]
	jmp	pr_err@PLT
	.cfi_endproc
.LFE0:
	.size	if_sdio_do_prog_firmware, .-if_sdio_do_prog_firmware
	.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_if_sdio.c_if_sdio_do_prog_firmware.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to find firmware (%d)\012\000"
	.align	2
.LC1:
	.ascii	"Helper firmware loaded\012\000"
	.align	2
.LC2:
	.ascii	"Firmware loaded\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	if_sdio_do_prog_firmware, %function
if_sdio_do_prog_firmware:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	bne	.L9
	push	{r4, r5, r6, lr}
	ldr	r5, [r0]
	mov	r1, r2
	mov	r0, r5
	mov	r4, r3
	bl	if_sdio_prog_helper
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r0, .L10
	bl	lbs_deb_sdio
	mov	r1, r4
	mov	r0, r5
	bl	if_sdio_prog_real
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r0, .L10+4
	bl	lbs_deb_sdio
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	if_sdio_finish_power_on
.L9:
	ldr	r0, .L10+8
	b	pr_err
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	if_sdio_do_prog_firmware, .-if_sdio_do_prog_firmware
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
