	.file	"extr_core.c_rtl_op_sta_add.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Add sta addr is %pM\n"
	.text
	.p2align 4
	.type	rtl_op_sta_add, @function
rtl_op_sta_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR [rsp], rsi
	call	rtl_priv@PLT
	mov	rdi, r12
	mov	rbx, rax
	call	rtl_priv@PLT
	mov	rdi, rax
	call	rtl_hal@PLT
	mov	rdi, r12
	mov	r13, rax
	call	rtl_priv@PLT
	mov	rdi, rax
	call	rtl_mac@PLT
	test	rbp, rbp
	je	.L2
	lea	r8, 8[rbx]
	mov	r14, QWORD PTR 32[rbp]
	mov	r15, rax
	mov	rdi, r8
	mov	QWORD PTR 8[rsp], r8
	call	spin_lock_bh@PLT
	lea	rsi, 12[rbx]
	lea	rdi, 16[r14]
	call	list_add_tail@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	rdi, r8
	call	spin_unlock_bh@PLT
	mov	rax, QWORD PTR 0[r13]
	cmp	rax, QWORD PTR BAND_ON_2_4G[rip]
	je	.L19
	cmp	rax, QWORD PTR BAND_ON_5G[rip]
	je	.L20
.L7:
	cmp	QWORD PTR [r15], 0
	je	.L11
	mov	rax, QWORD PTR 0[rbp]
	and	DWORD PTR [rax], -16
.L11:
	mov	esi, DWORD PTR 8[rbp]
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	edi, DWORD PTR [r14]
	call	memcpy@PLT
	mov	edx, DWORD PTR DBG_DMESG[rip]
	mov	r8d, DWORD PTR 8[rbp]
	lea	rcx, .LC0[rip]
	mov	esi, DWORD PTR COMP_MAC80211[rip]
	mov	rdi, rbx
	call	RT_TRACE@PLT
	mov	rax, QWORD PTR [rbx]
	mov	ecx, 1
	xor	edx, edx
	mov	rsi, rbp
	mov	rdi, r12
	mov	rax, QWORD PTR [rax]
	call	[QWORD PTR [rax]]
.L2:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	rdx, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR WIRELESS_MODE_G[rip]
	cmp	DWORD PTR [rdx], 15
	mov	QWORD PTR 8[r14], rax
	jg	.L4
	mov	rdx, QWORD PTR WIRELESS_MODE_B[rip]
	mov	QWORD PTR 8[r14], rdx
.L4:
	cmp	QWORD PTR 24[rbp], 0
	je	.L10
	mov	rdx, QWORD PTR WIRELESS_MODE_N_24G[rip]
	mov	QWORD PTR 8[r14], rdx
.L10:
	mov	rcx, QWORD PTR [rsp]
	mov	rdx, QWORD PTR NL80211_IFTYPE_ADHOC[rip]
	cmp	QWORD PTR [rcx], rdx
	jne	.L7
	mov	QWORD PTR 8[r14], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rax, QWORD PTR WIRELESS_MODE_A[rip]
	cmp	QWORD PTR 24[rbp], 0
	mov	QWORD PTR 8[r14], rax
	je	.L9
	mov	rdx, QWORD PTR WIRELESS_MODE_N_5G[rip]
	mov	QWORD PTR 8[r14], rdx
.L9:
	cmp	QWORD PTR 16[rbp], 0
	je	.L10
	mov	rdx, QWORD PTR WIRELESS_MODE_AC_5G[rip]
	mov	QWORD PTR 8[r14], rdx
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	rtl_op_sta_add, .-rtl_op_sta_add
	.comm	WIRELESS_MODE_N_5G,8,8
	.comm	WIRELESS_MODE_N_24G,8,8
	.comm	WIRELESS_MODE_G,8,8
	.comm	WIRELESS_MODE_B,8,8
	.comm	WIRELESS_MODE_AC_5G,8,8
	.comm	WIRELESS_MODE_A,8,8
	.comm	NL80211_IFTYPE_ADHOC,8,8
	.comm	ETH_ALEN,4,4
	.comm	DBG_DMESG,4,4
	.comm	COMP_MAC80211,4,4
	.comm	BAND_ON_5G,8,8
	.comm	BAND_ON_2_4G,8,8
	.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_core.c_rtl_op_sta_add.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Add sta addr is %pM\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl_op_sta_add, %function
rtl_op_sta_add:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	mov	r4, r2
	mov	r9, r1
	mov	r5, r0
	bl	rtl_priv
	mov	r6, r0
	mov	r0, r5
	bl	rtl_priv
	bl	rtl_hal
	mov	r8, r0
	mov	r0, r5
	bl	rtl_priv
	bl	rtl_mac
	cmp	r4, #0
	beq	.L2
	ldr	fp, [r4, #16]
	add	r7, r6, #4
	mov	r10, r0
	mov	r0, r7
	bl	spin_lock_bh
	add	r1, r6, #8
	add	r0, fp, #8
	bl	list_add_tail
	mov	r0, r7
	bl	spin_unlock_bh
	ldr	r2, .L33
	ldr	r3, [r8]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L31
	ldr	r2, .L33+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L32
.L7:
	ldr	r3, [r10]
	cmp	r3, #0
	ldrne	r2, [r4]
	ldrne	r3, [r2]
	bicne	r3, r3, #15
	strne	r3, [r2]
	ldr	r3, .L33+8
	ldr	r1, [r4, #4]
	ldr	r2, [r3]
	ldr	r0, [fp]
	bl	memcpy
	ldr	r3, [r4, #4]
	ldr	r2, .L33+12
	ldr	r1, .L33+16
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	r0, r6
	str	r3, [sp]
	ldr	r3, .L33+20
	bl	RT_TRACE
	ldr	r3, [r6]
	mov	r1, r4
	ldr	r3, [r3]
	mov	r0, r5
	ldr	r4, [r3]
	mov	r2, #0
	mov	r3, #1
	blx	r4
.L2:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L31:
	ldr	r2, [r4]
	ldr	r3, .L33+24
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, #15
	ldrle	r2, .L33+28
	str	r3, [fp, #4]
	ldrle	r2, [r2]
	strle	r2, [fp, #4]
	ldr	r2, [r4, #12]
	cmp	r2, #0
	ldrne	r2, .L33+32
	ldrne	r2, [r2]
	strne	r2, [fp, #4]
.L10:
	ldr	r2, .L33+36
	ldr	r1, [r9]
	ldr	r2, [r2]
	cmp	r1, r2
	streq	r3, [fp, #4]
	b	.L7
.L32:
	ldr	r2, [r4, #12]
	ldr	r3, .L33+40
	cmp	r2, #0
	ldrne	r2, .L33+44
	ldr	r3, [r3]
	ldrne	r2, [r2]
	str	r3, [fp, #4]
	strne	r2, [fp, #4]
	ldr	r2, [r4, #8]
	cmp	r2, #0
	ldrne	r2, .L33+48
	ldrne	r2, [r2]
	strne	r2, [fp, #4]
	b	.L10
.L34:
	.align	2
.L33:
	.word	BAND_ON_2_4G
	.word	BAND_ON_5G
	.word	ETH_ALEN
	.word	DBG_DMESG
	.word	COMP_MAC80211
	.word	.LC0
	.word	WIRELESS_MODE_G
	.word	WIRELESS_MODE_B
	.word	WIRELESS_MODE_N_24G
	.word	NL80211_IFTYPE_ADHOC
	.word	WIRELESS_MODE_A
	.word	WIRELESS_MODE_N_5G
	.word	WIRELESS_MODE_AC_5G
	.size	rtl_op_sta_add, .-rtl_op_sta_add
	.comm	WIRELESS_MODE_N_5G,4,4
	.comm	WIRELESS_MODE_N_24G,4,4
	.comm	WIRELESS_MODE_G,4,4
	.comm	WIRELESS_MODE_B,4,4
	.comm	WIRELESS_MODE_AC_5G,4,4
	.comm	WIRELESS_MODE_A,4,4
	.comm	NL80211_IFTYPE_ADHOC,4,4
	.comm	ETH_ALEN,4,4
	.comm	DBG_DMESG,4,4
	.comm	COMP_MAC80211,4,4
	.comm	BAND_ON_5G,4,4
	.comm	BAND_ON_2_4G,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
