	.file	"extr_ucc_uart.c_uart_firmware_cont.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"firmware not found\n"
.LC1:
	.string	"invalid firmware\n"
.LC2:
	.string	"could not load firmware\n"
	.text
	.p2align 4
	.type	uart_firmware_cont, @function
uart_firmware_cont:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdi, rdi
	je	.L8
	mov	rbp, rdi
	mov	rdi, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR 0[rbp]
	cmp	QWORD PTR [rdi], rax
	jne	.L9
	call	qe_upload_firmware@PLT
	test	eax, eax
	jne	.L10
	mov	DWORD PTR firmware_loaded[rip], 1
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	release_firmware@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	release_firmware@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	dev_err@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	dev_err@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	uart_firmware_cont, .-uart_firmware_cont
	.comm	firmware_loaded,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_ucc_uart.c_uart_firmware_cont.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"firmware not found\012\000"
	.align	2
.LC1:
	.ascii	"invalid firmware\012\000"
	.align	2
.LC2:
	.ascii	"could not load firmware\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uart_firmware_cont, %function
uart_firmware_cont:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	mov	r5, r1
	beq	.L8
	ldr	r0, [r4, #4]
	ldr	r3, [r4]
	ldr	r2, [r0]
	cmp	r2, r3
	bne	.L9
	bl	qe_upload_firmware
	cmp	r0, #0
	bne	.L10
	mov	r2, #1
	ldr	r3, .L11
	str	r2, [r3]
.L4:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	release_firmware
.L9:
	mov	r0, r1
	ldr	r1, .L11+4
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	release_firmware
.L8:
	mov	r0, r1
	pop	{r4, r5, r6, lr}
	ldr	r1, .L11+8
	b	dev_err
.L10:
	mov	r0, r5
	ldr	r1, .L11+12
	bl	dev_err
	b	.L4
.L12:
	.align	2
.L11:
	.word	firmware_loaded
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	uart_firmware_cont, .-uart_firmware_cont
	.comm	firmware_loaded,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
