	.file	"extr_rtl871x_mp.c_r8712_SetChannel.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	r8712_SetChannel
	.type	r8712_SetChannel, @function
r8712_SetChannel:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR _SetChannel[rip]
	call	GEN_CMD_CODE@PLT
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, 4
	mov	r12d, eax
	call	kmalloc@PLT
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, 4
	mov	rbp, rax
	call	kmalloc@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L6
	mov	eax, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	edx, r12d
	mov	DWORD PTR [rsi], eax
	call	init_h2fwcmd_w_parm_no_rsp@PLT
	lea	rdi, 4[rbx]
	mov	rsi, rbp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	r8712_enqueue_cmd@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbx
	.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
.L6:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.cfi_endproc
.LFE0:
	.size	r8712_SetChannel, .-r8712_SetChannel
	.comm	_SetChannel,4,4
	.comm	GFP_ATOMIC,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_rtl871x_mp.c_r8712_SetChannel.c"
	.text
	.align	2
	.global	r8712_SetChannel
	.syntax unified
	.arm
	.fpu softvfp
	.type	r8712_SetChannel, %function
r8712_SetChannel:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, [r3]
	bl	GEN_CMD_CODE
	ldr	r6, .L7+4
	mov	r7, r0
	ldr	r1, [r6]
	mov	r0, #4
	bl	kmalloc
	subs	r4, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r6]
	mov	r0, #4
	bl	kmalloc
	subs	r1, r0, #0
	beq	.L6
	ldr	r3, [r5], #4
	mov	r2, r7
	mov	r0, r4
	str	r3, [r1]
	bl	init_h2fwcmd_w_parm_no_rsp
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	r8712_enqueue_cmd
.L6:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	kfree
.L8:
	.align	2
.L7:
	.word	_SetChannel
	.word	GFP_ATOMIC
	.size	r8712_SetChannel, .-r8712_SetChannel
	.comm	_SetChannel,4,4
	.comm	GFP_ATOMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
