	.file	"extr_common.c_il_set_flags_for_band.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	il_set_flags_for_band
	.type	il_set_flags_for_band, @function
il_set_flags_for_band:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR IEEE80211_BAND_5GHZ[rip], esi
	mov	eax, DWORD PTR [rdi]
	je	.L10
	mov	ecx, DWORD PTR RXON_FLG_SHORT_SLOT_MSK[rip]
	test	rdx, rdx
	je	.L4
	cmp	QWORD PTR [rdx], 0
	je	.L4
	or	eax, ecx
.L5:
	mov	DWORD PTR [rdi], eax
	or	eax, DWORD PTR RXON_FLG_BAND_24G_MSK[rip]
	mov	DWORD PTR [rdi], eax
	or	eax, DWORD PTR RXON_FLG_AUTO_DETECT_MSK[rip]
	mov	DWORD PTR [rdi], eax
	mov	edx, DWORD PTR RXON_FLG_CCK_MSK[rip]
	not	edx
	and	eax, edx
	mov	DWORD PTR [rdi], eax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	not	ecx
	and	eax, ecx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, DWORD PTR RXON_FLG_BAND_24G_MSK[rip]
	or	edx, DWORD PTR RXON_FLG_AUTO_DETECT_MSK[rip]
	or	edx, DWORD PTR RXON_FLG_CCK_MSK[rip]
	not	edx
	and	eax, edx
	mov	DWORD PTR [rdi], eax
	or	eax, DWORD PTR RXON_FLG_SHORT_SLOT_MSK[rip]
	mov	DWORD PTR [rdi], eax
	ret
	.cfi_endproc
.LFE0:
	.size	il_set_flags_for_band, .-il_set_flags_for_band
	.comm	RXON_FLG_SHORT_SLOT_MSK,4,4
	.comm	RXON_FLG_CCK_MSK,4,4
	.comm	RXON_FLG_BAND_24G_MSK,4,4
	.comm	RXON_FLG_AUTO_DETECT_MSK,4,4
	.comm	IEEE80211_BAND_5GHZ,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_common.c_il_set_flags_for_band.c"
	.text
	.align	2
	.global	il_set_flags_for_band
	.syntax unified
	.arm
	.fpu softvfp
	.type	il_set_flags_for_band, %function
il_set_flags_for_band:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L14
	ldr	ip, [r3]
	ldr	r3, [r0]
	cmp	ip, r1
	beq	.L13
	ldr	r1, .L14+4
	cmp	r2, #0
	ldr	r1, [r1]
	beq	.L4
	ldr	r2, [r2]
	cmp	r2, #0
	orrne	r3, r3, r1
	bne	.L5
.L4:
	bic	r3, r3, r1
.L5:
	ldr	r2, .L14+8
	str	r3, [r0]
	ldr	r1, [r2]
	ldr	r2, .L14+12
	orr	r3, r3, r1
	str	r3, [r0]
	ldr	r1, [r2]
	ldr	r2, .L14+16
	orr	r3, r3, r1
	str	r3, [r0]
	ldr	r2, [r2]
	bic	r3, r3, r2
	str	r3, [r0]
	bx	lr
.L13:
	ldr	r2, .L14+8
	ldr	ip, .L14+12
	ldr	r1, .L14+16
	ldr	r2, [r2]
	ldr	ip, [ip]
	ldr	r1, [r1]
	orr	r2, r2, ip
	orr	r2, r2, r1
	bic	r3, r3, r2
	ldr	r2, .L14+4
	str	r3, [r0]
	ldr	r2, [r2]
	orr	r3, r2, r3
	str	r3, [r0]
	bx	lr
.L15:
	.align	2
.L14:
	.word	IEEE80211_BAND_5GHZ
	.word	RXON_FLG_SHORT_SLOT_MSK
	.word	RXON_FLG_BAND_24G_MSK
	.word	RXON_FLG_AUTO_DETECT_MSK
	.word	RXON_FLG_CCK_MSK
	.size	il_set_flags_for_band, .-il_set_flags_for_band
	.comm	RXON_FLG_SHORT_SLOT_MSK,4,4
	.comm	RXON_FLG_CCK_MSK,4,4
	.comm	RXON_FLG_BAND_24G_MSK,4,4
	.comm	RXON_FLG_AUTO_DETECT_MSK,4,4
	.comm	IEEE80211_BAND_5GHZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
