	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723be_set_key              ## -- Begin function rtl8723be_set_key
	.p2align	4, 0x90
_rtl8723be_set_key:                     ## @rtl8723be_set_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_efuse
	cmpl	$0, 16(%rbp)
	je	LBB0_2
## %bb.1:
	movq	_COMP_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rtl_cam_mark_invalid
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rtl_cam_empty_entry
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	_MAX_KEY_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r14), %rax
	movq	$0, (%rax)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rtl_cam_mark_invalid
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rtl_cam_empty_entry
	movq	8(%r14), %rax
	movl	4(%rax), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r14), %rax
	movq	$0, 8(%rax)
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_rtl_cam_mark_invalid
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_rtl_cam_empty_entry
	movq	8(%r14), %rax
	movl	8(%rax), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r14), %rax
	movq	$0, 16(%rax)
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_rtl_cam_mark_invalid
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_rtl_cam_empty_entry
	movq	8(%r14), %rax
	movl	12(%rax), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r14), %rax
	movq	$0, 24(%rax)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_rtl_cam_mark_invalid
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_rtl_cam_empty_entry
	movq	8(%r14), %rax
	movl	16(%rax), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r14), %rax
	movq	$0, 32(%rax)
	jmp	LBB0_25
LBB0_2:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	leal	-128(%r8), %eax
	cmpl	$4, %eax
	jae	LBB0_3
## %bb.4:
	cltq
	leaq	l_switch.table.rtl8723be_set_key(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_COMP_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_CAM_TKIP@GOTPCREL(%rip), %rax
LBB0_5:
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	(%rax), %r8d
	testl	%ecx, %ecx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jne	LBB0_7
## %bb.6:
	cmpq	$0, 16(%r14)
	je	LBB0_8
LBB0_7:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rdx,2), %rax
	leaq	_rtl8723be_set_key.cam_const_addr(%rip), %rcx
	leaq	(%rcx,%rax,8), %rcx
	movb	$1, %r15b
	movq	%rdx, %rdi
LBB0_15:
	movq	(%r14), %rax
	cmpq	$0, (%rax,%rdi,8)
	movq	_COMP_SEC@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	je	LBB0_16
## %bb.19:
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r13), %esi
	movl	(%r12), %edx
	testb	%r15b, %r15b
	je	LBB0_20
## %bb.21:
	leaq	L_.str.6(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_23
## %bb.22:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	_PAIRWISE_KEYIDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_CAM_PAIRWISE_KEY_POSITION@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_CAM_CONFIG_NO_USEDK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	8(%r14), %rax
	movl	(%rax,%r15,4), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_rtl_cam_add_one_entry
LBB0_23:
	movq	_CAM_CONFIG_NO_USEDK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	8(%r14), %rax
	movl	(%rax,%r15,4), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	jmp	LBB0_24
LBB0_16:
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_18
## %bb.17:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_rtl_cam_del_entry
LBB0_18:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_cam_delete_one_entry       ## TAILCALL
LBB0_20:
	leaq	L_.str.5(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_CAM_CONFIG_NO_USEDK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	8(%r14), %rax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rax,%rdx,4), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_24:
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_rtl_cam_add_one_entry
LBB0_25:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movb	$1, %r15b
	leaq	_rtl8723be_set_key.cam_const_broad(%rip), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_10:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r8d, %r15d
	callq	_rtl_cam_get_free_entry
	movl	%r15d, %r8d
	movq	_TOTAL_CAM_ENTRY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jb	LBB0_14
## %bb.12:
	leaq	L_.str.2(%rip), %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_13:
	movq	_CAM_PAIRWISE_KEY_POSITION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_14:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_PAIRWISE_KEYIDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%r15d, %r15d
	movq	%r12, %rcx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @rtl8723be_set_key.cam_const_addr
_rtl8723be_set_key.cam_const_addr:
	.space	24
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	3                               ## 0x3

	.p2align	4                               ## @rtl8723be_set_key.cam_const_broad
_rtl8723be_set_key.cam_const_broad:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.comm	_COMP_SEC,4,2                   ## @COMP_SEC
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clear_all\n"

	.comm	_MAX_KEY_LEN,4,2                ## @MAX_KEY_LEN
	.comm	_CAM_WEP40,4,2                  ## @CAM_WEP40
	.comm	_CAM_WEP104,4,2                 ## @CAM_WEP104
	.comm	_CAM_TKIP,4,2                   ## @CAM_TKIP
	.comm	_CAM_AES,4,2                    ## @CAM_AES
	.comm	_COMP_ERR,4,2                   ## @COMP_ERR
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
L_.str.1:                               ## @.str.1
	.asciz	"switch case %#x not processed\n"

	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_TOTAL_CAM_ENTRY,8,3            ## @TOTAL_CAM_ENTRY
L_.str.2:                               ## @.str.2
	.asciz	"Can not find free hw security cam entry\n"

	.comm	_CAM_PAIRWISE_KEY_POSITION,8,3  ## @CAM_PAIRWISE_KEY_POSITION
	.comm	_PAIRWISE_KEYIDX,8,3            ## @PAIRWISE_KEYIDX
L_.str.3:                               ## @.str.3
	.asciz	"delete one entry, entry_id is %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"add one entry\n"

L_.str.5:                               ## @.str.5
	.asciz	"set Pairwise key\n"

	.comm	_CAM_CONFIG_NO_USEDK,4,2        ## @CAM_CONFIG_NO_USEDK
L_.str.6:                               ## @.str.6
	.asciz	"set group key\n"

	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.rtl8723be_set_key
l_switch.table.rtl8723be_set_key:
	.quad	_CAM_WEP40
	.quad	_CAM_WEP104
	.quad	_CAM_TKIP
	.quad	_CAM_AES

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723be_set_key              ; -- Begin function rtl8723be_set_key
	.p2align	2
_rtl8723be_set_key:                     ; @rtl8723be_set_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x28, x6
	mov	x27, x5
	mov	x24, x4
	mov	x26, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x23, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_efuse
	cbz	w28, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _COMP_SEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_SEC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	mov	w1, #0
	bl	_rtl_cam_mark_invalid
	mov	x0, x19
	mov	w1, #0
	bl	_rtl_cam_empty_entry
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
Lloh8:
	adrp	x21, _MAX_KEY_LEN@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MAX_KEY_LEN@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20]
	str	xzr, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_rtl_cam_mark_invalid
	mov	x0, x19
	mov	w1, #1
	bl	_rtl_cam_empty_entry
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20]
	str	xzr, [x8, #8]
	mov	x0, x19
	mov	w1, #2
	bl	_rtl_cam_mark_invalid
	mov	x0, x19
	mov	w1, #2
	bl	_rtl_cam_empty_entry
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #8]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20]
	str	xzr, [x8, #16]
	mov	x0, x19
	mov	w1, #3
	bl	_rtl_cam_mark_invalid
	mov	x0, x19
	mov	w1, #3
	bl	_rtl_cam_empty_entry
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #12]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20]
	str	xzr, [x8, #24]
	mov	x0, x19
	mov	w1, #4
	bl	_rtl_cam_mark_invalid
	mov	x0, x19
	mov	w1, #4
	bl	_rtl_cam_empty_entry
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #16]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20]
	str	xzr, [x8, #32]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	mov	x25, x0
	sub	w8, w24, #128
	cmp	w8, #4
	b.hs	LBB0_4
; %bb.3:
Lloh10:
	adrp	x9, l_switch.table.rtl8723be_set_key@PAGE
Lloh11:
	add	x9, x9, l_switch.table.rtl8723be_set_key@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w10, [x8]
	cbnz	w27, LBB0_6
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _COMP_ERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COMP_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	str	x24, [sp]
Lloh18:
	adrp	x3, l_.str.1@PAGE
Lloh19:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh20:
	adrp	x8, _CAM_TKIP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CAM_TKIP@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x8]
	cbnz	w27, LBB0_6
LBB0_5:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_18
LBB0_6:
	mov	w8, #24
Lloh23:
	adrp	x9, _rtl8723be_set_key.cam_const_addr@PAGE
Lloh24:
	add	x9, x9, _rtl8723be_set_key.cam_const_addr@PAGEOFF
	madd	x9, x21, x8, x9
	mov	w28, #1
LBB0_7:
	mov	x27, x21
LBB0_8:
	ldr	x8, [x20]
	ldr	x8, [x8, x27, lsl #3]
Lloh25:
	adrp	x24, _COMP_SEC@GOTPAGE
Lloh26:
	ldr	x24, [x24, _COMP_SEC@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh27:
	adrp	x26, _DBG_DMESG@GOTPAGE
Lloh28:
	ldr	x26, [x26, _DBG_DMESG@GOTPAGEOFF]
	ldr	w2, [x26]
	cbz	x8, LBB0_13
; %bb.9:
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	mov	x22, x10
Lloh29:
	adrp	x3, l_.str.4@PAGE
Lloh30:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w1, [x24]
	ldr	w2, [x26]
	tbz	w28, #0, LBB0_16
; %bb.10:
Lloh31:
	adrp	x3, l_.str.6@PAGE
Lloh32:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x23]
Lloh33:
	adrp	x9, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh34:
	ldr	x9, [x9, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	ldr	x1, [x25]
Lloh36:
	adrp	x8, _PAIRWISE_KEYIDX@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PAIRWISE_KEYIDX@GOTPAGEOFF]
Lloh38:
	ldr	x2, [x8]
Lloh39:
	adrp	x8, _CAM_PAIRWISE_KEY_POSITION@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CAM_PAIRWISE_KEY_POSITION@GOTPAGEOFF]
Lloh41:
	ldr	x3, [x8]
Lloh42:
	adrp	x8, _CAM_CONFIG_NO_USEDK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CAM_CONFIG_NO_USEDK@GOTPAGEOFF]
Lloh44:
	ldr	w5, [x8]
	ldr	x8, [x20, #8]
	ldr	w6, [x8, x21, lsl #2]
	mov	x0, x19
	mov	x4, x22
	bl	_rtl_cam_add_one_entry
LBB0_12:
Lloh45:
	adrp	x8, _CAM_CONFIG_NO_USEDK@GOTPAGE
Lloh46:
	ldr	x8, [x8, _CAM_CONFIG_NO_USEDK@GOTPAGEOFF]
Lloh47:
	ldr	w5, [x8]
	ldr	x8, [x20, #8]
	ldr	w6, [x8, x21, lsl #2]
	b	LBB0_17
LBB0_13:
	str	x21, [sp]
Lloh48:
	adrp	x3, l_.str.3@PAGE
Lloh49:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x23]
Lloh50:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh51:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	mov	x1, x22
	bl	_rtl_cam_del_entry
LBB0_15:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_rtl_cam_delete_one_entry
LBB0_16:
Lloh53:
	adrp	x3, l_.str.5@PAGE
Lloh54:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh55:
	adrp	x8, _CAM_CONFIG_NO_USEDK@GOTPAGE
Lloh56:
	ldr	x8, [x8, _CAM_CONFIG_NO_USEDK@GOTPAGEOFF]
Lloh57:
	ldr	w5, [x8]
	ldr	x8, [x20, #8]
	ldr	w6, [x8, x27, lsl #2]
LBB0_17:
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x27
	mov	x3, x21
	mov	x4, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_rtl_cam_add_one_entry
LBB0_18:
	cbz	w26, LBB0_20
; %bb.19:
	mov	w28, #1
Lloh58:
	adrp	x9, _rtl8723be_set_key.cam_const_broad@PAGE
Lloh59:
	add	x9, x9, _rtl8723be_set_key.cam_const_broad@PAGEOFF
	b	LBB0_7
LBB0_20:
	ldr	x8, [x23]
Lloh60:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh61:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.21:
	mov	x0, x19
	mov	x1, x22
	mov	x21, x10
	bl	_rtl_cam_get_free_entry
	mov	x10, x21
	mov	x21, x0
Lloh63:
	adrp	x8, _TOTAL_CAM_ENTRY@GOTPAGE
Lloh64:
	ldr	x8, [x8, _TOTAL_CAM_ENTRY@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lo	LBB0_24
; %bb.22:
Lloh66:
	adrp	x0, l_.str.2@PAGE
Lloh67:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_pr_err
LBB0_23:
Lloh68:
	adrp	x8, _CAM_PAIRWISE_KEY_POSITION@GOTPAGE
Lloh69:
	ldr	x8, [x8, _CAM_PAIRWISE_KEY_POSITION@GOTPAGEOFF]
Lloh70:
	ldr	x21, [x8]
LBB0_24:
	mov	w28, #0
Lloh71:
	adrp	x8, _PAIRWISE_KEYIDX@GOTPAGE
Lloh72:
	ldr	x8, [x8, _PAIRWISE_KEYIDX@GOTPAGEOFF]
Lloh73:
	ldr	x27, [x8]
	mov	x9, x22
	b	LBB0_8
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @rtl8723be_set_key.cam_const_addr
_rtl8723be_set_key.cam_const_addr:
	.space	24
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	3                               ; 0x3

	.p2align	2                               ; @rtl8723be_set_key.cam_const_broad
_rtl8723be_set_key.cam_const_broad:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.comm	_COMP_SEC,4,2                   ; @COMP_SEC
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clear_all\n"

	.comm	_MAX_KEY_LEN,4,2                ; @MAX_KEY_LEN
	.comm	_CAM_WEP40,4,2                  ; @CAM_WEP40
	.comm	_CAM_WEP104,4,2                 ; @CAM_WEP104
	.comm	_CAM_TKIP,4,2                   ; @CAM_TKIP
	.comm	_CAM_AES,4,2                    ; @CAM_AES
	.comm	_COMP_ERR,4,2                   ; @COMP_ERR
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
l_.str.1:                               ; @.str.1
	.asciz	"switch case %#x not processed\n"

	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_TOTAL_CAM_ENTRY,8,3            ; @TOTAL_CAM_ENTRY
l_.str.2:                               ; @.str.2
	.asciz	"Can not find free hw security cam entry\n"

	.comm	_CAM_PAIRWISE_KEY_POSITION,8,3  ; @CAM_PAIRWISE_KEY_POSITION
	.comm	_PAIRWISE_KEYIDX,8,3            ; @PAIRWISE_KEYIDX
l_.str.3:                               ; @.str.3
	.asciz	"delete one entry, entry_id is %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"add one entry\n"

l_.str.5:                               ; @.str.5
	.asciz	"set Pairwise key\n"

	.comm	_CAM_CONFIG_NO_USEDK,4,2        ; @CAM_CONFIG_NO_USEDK
l_.str.6:                               ; @.str.6
	.asciz	"set group key\n"

	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.rtl8723be_set_key
l_switch.table.rtl8723be_set_key:
	.quad	_CAM_WEP40
	.quad	_CAM_WEP104
	.quad	_CAM_TKIP
	.quad	_CAM_AES

.subsections_via_symbols
