	.file	"extr_cfg.c_sta_apply_auth_flags.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sta_apply_auth_flags, @function
sta_apply_auth_flags:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, DWORD PTR NL80211_STA_FLAG_AUTHENTICATED[rip]
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	call	BIT@PLT
	test	eax, ebx
	je	.L5
	mov	edi, DWORD PTR NL80211_STA_FLAG_AUTHENTICATED[rip]
	call	BIT@PLT
	test	eax, ebp
	jne	.L33
.L5:
	mov	edi, DWORD PTR NL80211_STA_FLAG_ASSOCIATED[rip]
	call	BIT@PLT
	test	eax, ebx
	je	.L4
	mov	edi, DWORD PTR NL80211_STA_FLAG_ASSOCIATED[rip]
	call	BIT@PLT
	test	eax, ebp
	jne	.L34
.L4:
	mov	edi, DWORD PTR NL80211_STA_FLAG_AUTHORIZED[rip]
	call	BIT@PLT
	test	eax, ebx
	je	.L8
	mov	edi, DWORD PTR NL80211_STA_FLAG_AUTHORIZED[rip]
	call	BIT@PLT
	test	eax, ebp
	je	.L12
	mov	esi, DWORD PTR IEEE80211_STA_AUTHORIZED[rip]
	mov	rdi, r12
	call	sta_info_move_state@PLT
.L13:
	test	eax, eax
	jne	.L1
.L8:
	mov	edi, DWORD PTR NL80211_STA_FLAG_ASSOCIATED[rip]
	call	BIT@PLT
	test	eax, ebx
	je	.L11
	mov	edi, DWORD PTR NL80211_STA_FLAG_ASSOCIATED[rip]
	call	BIT@PLT
	test	eax, ebp
	je	.L35
.L11:
	mov	edi, DWORD PTR NL80211_STA_FLAG_AUTHENTICATED[rip]
	call	BIT@PLT
	test	eax, ebx
	jne	.L36
.L15:
	xor	eax, eax
.L1:
	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
.L36:
	.cfi_restore_state
	mov	edi, DWORD PTR NL80211_STA_FLAG_AUTHENTICATED[rip]
	call	BIT@PLT
	test	eax, ebp
	jne	.L15
	mov	esi, DWORD PTR WLAN_STA_AUTH[rip]
	mov	rdi, r12
	call	test_sta_flag@PLT
	test	rax, rax
	je	.L15
	mov	esi, DWORD PTR IEEE80211_STA_NONE[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	sta_info_move_state@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR WLAN_STA_AUTHORIZED[rip]
	mov	rdi, r12
	call	test_sta_flag@PLT
	test	rax, rax
	je	.L8
	mov	esi, DWORD PTR IEEE80211_STA_ASSOC[rip]
	mov	rdi, r12
	call	sta_info_move_state@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L33:
	mov	esi, DWORD PTR WLAN_STA_AUTH[rip]
	mov	rdi, r12
	call	test_sta_flag@PLT
	test	rax, rax
	jne	.L5
	mov	esi, DWORD PTR IEEE80211_STA_AUTH[rip]
	mov	rdi, r12
	call	sta_info_move_state@PLT
	test	eax, eax
	je	.L5
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L34:
	mov	esi, DWORD PTR WLAN_STA_ASSOC[rip]
	mov	rdi, r12
	call	test_sta_flag@PLT
	test	rax, rax
	jne	.L4
	mov	esi, DWORD PTR WLAN_STA_RATE_CONTROL[rip]
	mov	rdi, r12
	call	test_sta_flag@PLT
	test	rax, rax
	je	.L37
.L9:
	mov	esi, DWORD PTR IEEE80211_STA_ASSOC[rip]
	mov	rdi, r12
	call	sta_info_move_state@PLT
	test	eax, eax
	je	.L4
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L35:
	mov	esi, DWORD PTR WLAN_STA_ASSOC[rip]
	mov	rdi, r12
	call	test_sta_flag@PLT
	test	rax, rax
	je	.L11
	mov	esi, DWORD PTR IEEE80211_STA_AUTH[rip]
	mov	rdi, r12
	call	sta_info_move_state@PLT
	test	eax, eax
	je	.L11
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rdi, r12
	call	rate_control_rate_init@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	sta_apply_auth_flags, .-sta_apply_auth_flags
	.comm	WLAN_STA_RATE_CONTROL,4,4
	.comm	WLAN_STA_AUTHORIZED,4,4
	.comm	WLAN_STA_AUTH,4,4
	.comm	WLAN_STA_ASSOC,4,4
	.comm	NL80211_STA_FLAG_AUTHORIZED,4,4
	.comm	NL80211_STA_FLAG_AUTHENTICATED,4,4
	.comm	NL80211_STA_FLAG_ASSOCIATED,4,4
	.comm	IEEE80211_STA_NONE,4,4
	.comm	IEEE80211_STA_AUTHORIZED,4,4
	.comm	IEEE80211_STA_AUTH,4,4
	.comm	IEEE80211_STA_ASSOC,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_cfg.c_sta_apply_auth_flags.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sta_apply_auth_flags, %function
sta_apply_auth_flags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L41
	mov	r4, r2
	ldr	r0, [r8]
	mov	r6, r1
	mov	r5, r3
	bl	BIT
	tst	r0, r4
	beq	.L5
	ldr	r0, [r8]
	bl	BIT
	tst	r0, r5
	bne	.L37
.L5:
	ldr	r7, .L41+4
	ldr	r0, [r7]
	bl	BIT
	tst	r0, r4
	beq	.L4
	ldr	r0, [r7]
	bl	BIT
	tst	r0, r5
	bne	.L38
.L4:
	ldr	r9, .L41+8
	ldr	r0, [r9]
	bl	BIT
	tst	r0, r4
	beq	.L8
	ldr	r0, [r9]
	bl	BIT
	tst	r0, r5
	beq	.L12
	ldr	r3, .L41+12
	mov	r0, r6
	ldr	r1, [r3]
	bl	sta_info_move_state
.L13:
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	r0, [r7]
	bl	BIT
	tst	r0, r4
	bne	.L10
.L11:
	ldr	r0, [r8]
	bl	BIT
	tst	r0, r4
	bne	.L39
.L15:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	ldr	r0, [r7]
	bl	BIT
	tst	r0, r5
	bne	.L11
	ldr	r3, .L41+16
	mov	r0, r6
	ldr	r1, [r3]
	bl	test_sta_flag
	cmp	r0, #0
	beq	.L11
	ldr	r3, .L41+20
	mov	r0, r6
	ldr	r1, [r3]
	bl	sta_info_move_state
	cmp	r0, #0
	beq	.L11
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L39:
	ldr	r0, [r8]
	bl	BIT
	tst	r0, r5
	bne	.L15
	ldr	r3, .L41+24
	mov	r0, r6
	ldr	r1, [r3]
	bl	test_sta_flag
	cmp	r0, #0
	beq	.L15
	ldr	r3, .L41+28
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, [r3]
	b	sta_info_move_state
.L12:
	ldr	r3, .L41+32
	mov	r0, r6
	ldr	r1, [r3]
	bl	test_sta_flag
	cmp	r0, #0
	beq	.L8
	ldr	r3, .L41+36
	mov	r0, r6
	ldr	r1, [r3]
	bl	sta_info_move_state
	b	.L13
.L37:
	ldr	r3, .L41+24
	mov	r0, r6
	ldr	r1, [r3]
	bl	test_sta_flag
	cmp	r0, #0
	bne	.L5
	ldr	r3, .L41+20
	mov	r0, r6
	ldr	r1, [r3]
	bl	sta_info_move_state
	cmp	r0, #0
	beq	.L5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L38:
	ldr	r3, .L41+16
	mov	r0, r6
	ldr	r1, [r3]
	bl	test_sta_flag
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L41+40
	mov	r0, r6
	ldr	r1, [r3]
	bl	test_sta_flag
	cmp	r0, #0
	beq	.L40
.L9:
	ldr	r3, .L41+36
	mov	r0, r6
	ldr	r1, [r3]
	bl	sta_info_move_state
	cmp	r0, #0
	beq	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L40:
	mov	r0, r6
	bl	rate_control_rate_init
	b	.L9
.L42:
	.align	2
.L41:
	.word	NL80211_STA_FLAG_AUTHENTICATED
	.word	NL80211_STA_FLAG_ASSOCIATED
	.word	NL80211_STA_FLAG_AUTHORIZED
	.word	IEEE80211_STA_AUTHORIZED
	.word	WLAN_STA_ASSOC
	.word	IEEE80211_STA_AUTH
	.word	WLAN_STA_AUTH
	.word	IEEE80211_STA_NONE
	.word	WLAN_STA_AUTHORIZED
	.word	IEEE80211_STA_ASSOC
	.word	WLAN_STA_RATE_CONTROL
	.size	sta_apply_auth_flags, .-sta_apply_auth_flags
	.comm	WLAN_STA_RATE_CONTROL,4,4
	.comm	WLAN_STA_AUTHORIZED,4,4
	.comm	WLAN_STA_AUTH,4,4
	.comm	WLAN_STA_ASSOC,4,4
	.comm	NL80211_STA_FLAG_AUTHORIZED,4,4
	.comm	NL80211_STA_FLAG_AUTHENTICATED,4,4
	.comm	NL80211_STA_FLAG_ASSOCIATED,4,4
	.comm	IEEE80211_STA_NONE,4,4
	.comm	IEEE80211_STA_AUTHORIZED,4,4
	.comm	IEEE80211_STA_AUTH,4,4
	.comm	IEEE80211_STA_ASSOC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
