	.file	"extr_cmd.c_lbtf_set_channel.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ret %d"
	.text
	.p2align 4
	.globl	lbtf_set_channel
	.type	lbtf_set_channel, @function
lbtf_set_channel:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR LBTF_DEB_CMD[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	lbtf_deb_enter@PLT
	mov	edi, 24
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR CMD_OPT_802_11_RF_CHANNEL_SET[rip]
	mov	QWORD PTR 16[rsp], rax
	call	cpu_to_le16@PLT
	mov	edi, ebp
	mov	QWORD PTR 8[rsp], rax
	call	cpu_to_le16@PLT
	mov	esi, DWORD PTR CMD_802_11_RF_CHANNEL[rip]
	mov	rdi, r12
	mov	rdx, rsp
	mov	QWORD PTR [rsp], rax
	call	lbtf_cmd_with_response@PLT
	mov	edi, DWORD PTR LBTF_DEB_CMD[rip]
	lea	rsi, .LC0[rip]
	mov	edx, eax
	mov	r12d, eax
	call	lbtf_deb_leave_args@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lbtf_set_channel, .-lbtf_set_channel
	.comm	LBTF_DEB_CMD,4,4
	.comm	CMD_OPT_802_11_RF_CHANNEL_SET,4,4
	.comm	CMD_802_11_RF_CHANNEL,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_cmd.c_lbtf_set_channel.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ret %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lbtf_set_channel
	.syntax unified
	.arm
	.fpu softvfp
	.type	lbtf_set_channel, %function
lbtf_set_channel:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L6
	ldr	r3, .L6+4
	sub	sp, sp, #16
	mov	r4, r0
	ldr	r0, [r6]
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	lbtf_deb_enter
	mov	r0, #12
	bl	cpu_to_le16
	ldr	r3, .L6+8
	str	r0, [sp, #8]
	ldr	r0, [r3]
	bl	cpu_to_le16
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #4]
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r2, .L6+12
	mov	r0, r4
	ldr	r1, [r2]
	mov	r2, sp
	str	r3, [sp]
	bl	lbtf_cmd_with_response
	mov	r4, r0
	ldr	r1, .L6+16
	mov	r2, r4
	ldr	r0, [r6]
	bl	lbtf_deb_leave_args
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	LBTF_DEB_CMD
	.word	.LC1
	.word	CMD_OPT_802_11_RF_CHANNEL_SET
	.word	CMD_802_11_RF_CHANNEL
	.word	.LC0
	.size	lbtf_set_channel, .-lbtf_set_channel
	.comm	LBTF_DEB_CMD,4,4
	.comm	CMD_OPT_802_11_RF_CHANNEL_SET,4,4
	.comm	CMD_802_11_RF_CHANNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
