	.file	"extr_fw_common.c_rtl92c_fill_h2c_cmd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"rtl8192c-common: return H2C cmd because of Fw download fail!!!\n"
	.text
	.p2align 4
	.globl	rtl92c_fill_h2c_cmd
	.type	rtl92c_fill_h2c_cmd, @function
rtl92c_fill_h2c_cmd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	rtl_priv@PLT
	mov	edi, eax
	call	rtl_hal@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L7
	mov	r15, rsp
	mov	edx, 8
	xor	esi, esi
	mov	rdi, r15
	call	memset@PLT
	mov	edx, r12d
	mov	rsi, r14
	mov	rdi, r15
	call	memcpy@PLT
	mov	rcx, r15
	mov	edx, r12d
	mov	esi, r13d
	mov	rdi, rbp
	call	_rtl92c_fill_h2c_command@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	edi, 1
	call	WARN_ONCE@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rtl92c_fill_h2c_cmd, .-rtl92c_fill_h2c_cmd
	.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_fw_common.c_rtl92c_fill_h2c_cmd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rtl8192c-common: return H2C cmd because of Fw downl"
	.ascii	"oad fail!!!\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rtl92c_fill_h2c_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl92c_fill_h2c_cmd, %function
rtl92c_fill_h2c_cmd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r7, r3
	ldr	r3, .L9
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r6, r1
	mov	r4, r2
	mov	r5, r0
	bl	rtl_priv
	bl	rtl_hal
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L7
	mov	r3, #0
	mov	r1, r7
	mov	r2, r4
	add	r0, sp, #4
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	bl	memcpy
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	add	r3, sp, #4
	bl	_rtl92c_fill_h2c_command
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r1, .L9+4
	mov	r0, #1
	bl	WARN_ONCE
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.size	rtl92c_fill_h2c_cmd, .-rtl92c_fill_h2c_cmd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
