	.file	"extr_ipw2100.c_ipw2100_wx_get_freq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"GET Freq/Channel -> %d\n"
	.text
	.p2align 4
	.type	ipw2100_wx_get_freq, @function
ipw2100_wx_get_freq:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdx
	call	libipw_priv@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	edx, DWORD PTR [rax]
	test	DWORD PTR CFG_STATIC_CHANNEL[rip], edx
	je	.L2
	mov	eax, DWORD PTR 8[rax]
.L3:
	mov	esi, eax
.L4:
	mov	DWORD PTR [rbx], eax
	lea	rdi, .LC0[rip]
	call	IPW_DEBUG_WX@PLT
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR 8[rax]
	test	DWORD PTR STATUS_ASSOCIATED[rip], edx
	jne	.L3
	mov	esi, eax
	xor	eax, eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ipw2100_wx_get_freq, .-ipw2100_wx_get_freq
	.comm	STATUS_ASSOCIATED,4,4
	.comm	CFG_STATIC_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_ipw2100.c_ipw2100_wx_get_freq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"GET Freq/Channel -> %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipw2100_wx_get_freq, %function
ipw2100_wx_get_freq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r2
	bl	libipw_priv
	mov	r1, #0
	ldr	r3, .L8
	ldr	r2, [r0]
	ldr	r3, [r3]
	str	r1, [r4, #4]
	tst	r2, r3
	beq	.L2
	ldr	r3, [r0, #8]
.L3:
	mov	r1, r3
.L4:
	str	r3, [r4]
	ldr	r0, .L8+4
	bl	IPW_DEBUG_WX
	mov	r0, #0
	pop	{r4, pc}
.L2:
	ldr	r3, .L8+8
	ldr	r2, [r0, #4]
	ldr	r1, [r3]
	ldr	r3, [r0, #8]
	ands	r2, r2, r1
	moveq	r1, r3
	moveq	r3, r2
	beq	.L4
	b	.L3
.L9:
	.align	2
.L8:
	.word	CFG_STATIC_CHANNEL
	.word	.LC0
	.word	STATUS_ASSOCIATED
	.size	ipw2100_wx_get_freq, .-ipw2100_wx_get_freq
	.comm	STATUS_ASSOCIATED,4,4
	.comm	CFG_STATIC_CHANNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
