	.file	"extr_ieee80211_radiotap.c_ieee80211_radiotap_chan_change.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ieee80211_radiotap_chan_change
	.type	ieee80211_radiotap_chan_change, @function
ieee80211_radiotap_chan_change:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR 24[rdi], 0
	je	.L3
	mov	r12, QWORD PTR 32[rdi]
	mov	ecx, DWORD PTR IEEE80211_RADIOTAP_XCHANNEL[rip]
	mov	ebp, 1
	mov	edi, ebp
	mov	r13d, DWORD PTR [r12]
	sal	edi, cl
	call	htole32@PLT
	test	r13d, eax
	je	.L4
	mov	rdi, QWORD PTR 24[rbx]
	mov	esi, DWORD PTR [rbx]
	call	set_xchannel@PLT
.L3:
	cmp	QWORD PTR 8[rbx], 0
	je	.L1
	mov	r12, QWORD PTR 16[rbx]
	mov	ecx, DWORD PTR IEEE80211_RADIOTAP_XCHANNEL[rip]
	mov	ebp, 1
	mov	edi, ebp
	mov	r13d, DWORD PTR [r12]
	sal	edi, cl
	call	htole32@PLT
	test	r13d, eax
	je	.L8
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	set_xchannel@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	ecx, DWORD PTR IEEE80211_RADIOTAP_CHANNEL[rip]
	mov	edi, ebp
	mov	r12d, DWORD PTR [r12]
	sal	edi, cl
	call	htole32@PLT
	test	r12d, eax
	jne	.L18
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	ecx, DWORD PTR IEEE80211_RADIOTAP_CHANNEL[rip]
	mov	edi, ebp
	mov	r12d, DWORD PTR [r12]
	sal	edi, cl
	call	htole32@PLT
	test	r12d, eax
	je	.L3
	mov	rdi, QWORD PTR 24[rbx]
	mov	esi, DWORD PTR [rbx]
	call	set_channel@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	set_channel@PLT
	.cfi_endproc
.LFE0:
	.size	ieee80211_radiotap_chan_change, .-ieee80211_radiotap_chan_change
	.comm	IEEE80211_RADIOTAP_XCHANNEL,4,4
	.comm	IEEE80211_RADIOTAP_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_ieee80211_radiotap.c_ieee80211_radiotap_chan_change.c"
	.text
	.align	2
	.global	ieee80211_radiotap_chan_change
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_radiotap_chan_change, %function
ieee80211_radiotap_chan_change:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #12]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r4, r0
	beq	.L3
	mov	r5, #1
	ldr	r3, .L18
	ldr	r6, [r0, #16]
	ldr	r0, [r3]
	ldr	r7, [r6]
	lsl	r0, r5, r0
	bl	htole32
	tst	r7, r0
	beq	.L4
	ldr	r1, [r4]
	ldr	r0, [r4, #12]
	bl	set_xchannel
.L3:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r5, #1
	ldr	r3, .L18
	ldr	r6, [r4, #8]
	ldr	r0, [r3]
	ldr	r7, [r6]
	lsl	r0, r5, r0
	bl	htole32
	tst	r7, r0
	beq	.L8
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	set_xchannel
.L8:
	ldr	r3, .L18+4
	ldr	r6, [r6]
	ldr	r0, [r3]
	lsl	r0, r5, r0
	bl	htole32
	tst	r6, r0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	set_channel
.L4:
	ldr	r3, .L18+4
	ldr	r6, [r6]
	ldr	r0, [r3]
	lsl	r0, r5, r0
	bl	htole32
	tst	r6, r0
	beq	.L3
	ldr	r1, [r4]
	ldr	r0, [r4, #12]
	bl	set_channel
	b	.L3
.L19:
	.align	2
.L18:
	.word	IEEE80211_RADIOTAP_XCHANNEL
	.word	IEEE80211_RADIOTAP_CHANNEL
	.size	ieee80211_radiotap_chan_change, .-ieee80211_radiotap_chan_change
	.comm	IEEE80211_RADIOTAP_XCHANNEL,4,4
	.comm	IEEE80211_RADIOTAP_CHANNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
