	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_set_key_mgmt
_brcmf_set_key_mgmt:                    ## @brcmf_set_key_mgmt
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r13
	movq	(%rax), %rcx
	movq	8(%rax), %r14
	movq	_BRCMF_PROFILE_FWSUP_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	cmpl	$0, 28(%r12)
	je	LBB0_1
## %bb.2:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_netdev_priv
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rax, %rdi
	callq	_brcmf_fil_bsscfg_int_get
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_bphy_err
	jmp	LBB0_36
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_36
LBB0_4:
	movl	-44(%rbp), %edx
	movq	_WPA_AUTH_PSK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_WPA_AUTH_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	orl	%ecx, %esi
	testl	%edx, %esi
	je	LBB0_10
## %bb.5:
	movq	16(%r12), %rdx
	movl	(%rdx), %edx
	cmpl	$129, %edx
	je	LBB0_20
## %bb.6:
	cmpl	$133, %edx
	jne	LBB0_19
LBB0_7:
	movl	%eax, -44(%rbp)
	cmpl	$0, 32(%r12)
	jne	LBB0_9
	jmp	LBB0_21
LBB0_10:
	movq	_WPA2_AUTH_PSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_WPA2_AUTH_UNSPECIFIED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %esi
	orl	%eax, %esi
	testl	%edx, %esi
	je	LBB0_21
## %bb.11:
	movq	16(%r12), %rdx
	movl	(%rdx), %edx
	addl	$-128, %edx
	cmpl	$5, %edx
	ja	LBB0_19
## %bb.12:
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_14:
	movq	_WPA2_AUTH_PSK_SHA256@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:
	movl	%eax, -44(%rbp)
	jmp	LBB0_21
LBB0_19:
	movl	24(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bphy_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_36
LBB0_20:
	movl	%ecx, -44(%rbp)
	jmp	LBB0_21
LBB0_18:
	movq	_WPA2_AUTH_FT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_21
LBB0_16:
	movq	_WPA2_AUTH_FT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
LBB0_17:
	movl	%ecx, -44(%rbp)
	cmpl	$0, 32(%r12)
	je	LBB0_21
LBB0_9:
	movq	_BRCMF_PROFILE_FWSUP_1X@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_21:
	movq	(%r14), %rax
	movq	_BRCMF_PROFILE_FWSUP_1X@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.22:
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
LBB0_23:
	movq	_BRCMF_FEAT_MFP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_brcmf_feat_is_enabled
	testl	%eax, %eax
	je	LBB0_34
## %bb.24:
	movq	8(%r12), %rdi
	movl	(%r12), %esi
	movq	_WLAN_EID_RSN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_brcmf_parse_tlvs
	testq	%rax, %rax
	je	LBB0_34
## %bb.25:
	movq	_TLV_HDR_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movq	(%rax), %rcx
	addq	%rbx, %rcx
	movq	_WPA_IE_VERSION_LEN@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rbx
	movq	_WPA_IE_MIN_OUI_LEN@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %r8
	addq	%r8, %rbx
	movq	_WPA_IE_SUITE_COUNT_LEN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rbx,%rdx), %rdi
	cmpq	%rcx, %rdi
	jge	LBB0_34
## %bb.26:
	movl	4(%rax,%rbx,4), %esi
	shll	$8, %esi
	addl	(%rax,%rbx,4), %esi
	imull	%r8d, %esi
	movslq	%esi, %rsi
	addq	%rsi, %rdi
	leaq	(%rdi,%rdx), %rbx
	cmpq	%rcx, %rbx
	jge	LBB0_34
## %bb.27:
	movl	4(%rax,%rdi,4), %esi
	shll	$8, %esi
	addl	(%rax,%rdi,4), %esi
	imull	%r8d, %esi
	movslq	%esi, %rsi
	addq	%rsi, %rbx
	addq	%rbx, %rdx
	cmpq	%rcx, %rdx
	jg	LBB0_34
## %bb.28:
	movl	4(%rax,%rbx,4), %ecx
	shll	$8, %ecx
	addl	(%rax,%rbx,4), %ecx
	movq	_RSN_CAP_MFPR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	movq	_RSN_CAP_MFPC_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	jne	LBB0_29
## %bb.30:
	movq	_BRCMF_MFP_NONE@GOTPCREL(%rip), %rcx
	jmp	LBB0_31
LBB0_13:
	movq	_WPA2_AUTH_1X_SHA256@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_29:
	movq	_BRCMF_MFP_CAPABLE@GOTPCREL(%rip), %rcx
LBB0_31:
	testl	%eax, %eax
	je	LBB0_33
## %bb.32:
	movq	_BRCMF_MFP_REQUIRED@GOTPCREL(%rip), %rcx
LBB0_33:
	movl	(%rcx), %ebx
	movq	%r15, %rdi
	callq	_netdev_priv
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_brcmf_fil_bsscfg_int_set
LBB0_34:
	movq	_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	%r15, %rdi
	callq	_netdev_priv
	movl	-44(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_brcmf_fil_bsscfg_int_set
	testl	%eax, %eax
	je	LBB0_36
## %bb.35:
	movl	%eax, %r15d
	leaq	L_.str.6(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_bphy_err
	movl	%r15d, %ebx
LBB0_36:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_18
	.long	L0_0_set_16
	.long	L0_0_set_13
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_BRCMF_PROFILE_FWSUP_NONE,8,3   ## @BRCMF_PROFILE_FWSUP_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wpa_auth"

L_.str.1:                               ## @.str.1
	.asciz	"could not get wpa_auth (%d)\n"

	.comm	_WPA_AUTH_PSK,4,2               ## @WPA_AUTH_PSK
	.comm	_WPA_AUTH_UNSPECIFIED,4,2       ## @WPA_AUTH_UNSPECIFIED
	.comm	_BRCMF_PROFILE_FWSUP_1X,8,3     ## @BRCMF_PROFILE_FWSUP_1X
L_.str.2:                               ## @.str.2
	.asciz	"invalid cipher group (%d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WPA2_AUTH_PSK,4,2              ## @WPA2_AUTH_PSK
	.comm	_WPA2_AUTH_UNSPECIFIED,4,2      ## @WPA2_AUTH_UNSPECIFIED
	.comm	_WPA2_AUTH_1X_SHA256,4,2        ## @WPA2_AUTH_1X_SHA256
	.comm	_WPA2_AUTH_PSK_SHA256,4,2       ## @WPA2_AUTH_PSK_SHA256
	.comm	_WPA2_AUTH_FT,4,2               ## @WPA2_AUTH_FT
	.comm	_INFO,4,2                       ## @INFO
L_.str.3:                               ## @.str.3
	.asciz	"using 1X offload\n"

	.comm	_BRCMF_FEAT_MFP,4,2             ## @BRCMF_FEAT_MFP
	.comm	_WLAN_EID_RSN,4,2               ## @WLAN_EID_RSN
	.comm	_TLV_HDR_LEN,8,3                ## @TLV_HDR_LEN
	.comm	_WPA_IE_VERSION_LEN,8,3         ## @WPA_IE_VERSION_LEN
	.comm	_WPA_IE_MIN_OUI_LEN,4,2         ## @WPA_IE_MIN_OUI_LEN
	.comm	_WPA_IE_SUITE_COUNT_LEN,8,3     ## @WPA_IE_SUITE_COUNT_LEN
	.comm	_BRCMF_MFP_NONE,8,3             ## @BRCMF_MFP_NONE
	.comm	_RSN_CAP_MFPR_MASK,4,2          ## @RSN_CAP_MFPR_MASK
	.comm	_BRCMF_MFP_REQUIRED,8,3         ## @BRCMF_MFP_REQUIRED
	.comm	_RSN_CAP_MFPC_MASK,4,2          ## @RSN_CAP_MFPC_MASK
	.comm	_BRCMF_MFP_CAPABLE,8,3          ## @BRCMF_MFP_CAPABLE
L_.str.4:                               ## @.str.4
	.asciz	"mfp"

	.comm	_CONN,4,2                       ## @CONN
L_.str.5:                               ## @.str.5
	.asciz	"setting wpa_auth to %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"could not set wpa_auth (%d)\n"

	.no_dead_strip	_brcmf_set_key_mgmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_set_key_mgmt
_brcmf_set_key_mgmt:                    ; @brcmf_set_key_mgmt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	ldp	x19, x24, [x0]
Lloh0:
	adrp	x8, _BRCMF_PROFILE_FWSUP_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRCMF_PROFILE_FWSUP_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x24]
	ldr	w8, [x21, #28]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x22, x0
	mov	x0, x20
	bl	_netdev_priv
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_brcmf_fil_bsscfg_int_get
	cbz	w0, LBB0_4
; %bb.2:
	mov	x23, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_26
LBB0_3:
	mov	w23, #0
	b	LBB0_27
LBB0_4:
	ldr	w10, [sp, #12]
Lloh7:
	adrp	x8, _WPA_AUTH_PSK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WPA_AUTH_PSK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x8]
Lloh10:
	adrp	x8, _WPA_AUTH_UNSPECIFIED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WPA_AUTH_UNSPECIFIED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w11, w8, w9
	tst	w11, w10
	b.eq	LBB0_9
; %bb.5:
	ldr	x10, [x21, #16]
	ldr	w10, [x10]
	cmp	w10, #129
	b.eq	LBB0_15
; %bb.6:
	cmp	w10, #133
	b.ne	LBB0_14
LBB0_7:
	str	w8, [sp, #12]
	ldr	w8, [x21, #32]
	cbz	w8, LBB0_16
LBB0_8:
Lloh13:
	adrp	x8, _BRCMF_PROFILE_FWSUP_1X@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BRCMF_PROFILE_FWSUP_1X@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x24]
	b	LBB0_16
LBB0_9:
Lloh16:
	adrp	x8, _WPA2_AUTH_PSK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WPA2_AUTH_PSK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _WPA2_AUTH_UNSPECIFIED@GOTPAGE
Lloh20:
	ldr	x9, [x9, _WPA2_AUTH_UNSPECIFIED@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w11, w9, w8
	tst	w11, w10
	b.eq	LBB0_16
; %bb.10:
	ldr	x10, [x21, #16]
	ldr	w10, [x10]
	sub	w10, w10, #128
	cmp	w10, #5
	b.hi	LBB0_14
; %bb.11:
Lloh22:
	adrp	x11, lJTI0_0@PAGE
Lloh23:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_12
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_12:
Lloh24:
	adrp	x8, _WPA2_AUTH_PSK_SHA256@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WPA2_AUTH_PSK_SHA256@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
LBB0_13:
	str	w8, [sp, #12]
	b	LBB0_16
LBB0_14:
	ldr	w2, [x21, #24]
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_bphy_err
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_27
LBB0_15:
	str	w9, [sp, #12]
LBB0_16:
	ldr	x8, [x24]
Lloh32:
	adrp	x9, _BRCMF_PROFILE_FWSUP_1X@GOTPAGE
Lloh33:
	ldr	x9, [x9, _BRCMF_PROFILE_FWSUP_1X@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:
Lloh35:
	adrp	x8, _INFO@GOTPAGE
Lloh36:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.3@PAGE
Lloh39:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_brcmf_dbg
LBB0_18:
Lloh40:
	adrp	x8, _BRCMF_FEAT_MFP@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BRCMF_FEAT_MFP@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_brcmf_feat_is_enabled
	cbz	w0, LBB0_24
; %bb.19:
	ldr	x0, [x21, #8]
	ldr	w1, [x21]
Lloh43:
	adrp	x8, _WLAN_EID_RSN@GOTPAGE
Lloh44:
	ldr	x8, [x8, _WLAN_EID_RSN@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	bl	_brcmf_parse_tlvs
	cbz	x0, LBB0_24
; %bb.20:
	ldr	x8, [x0]
Lloh46:
	adrp	x9, _TLV_HDR_LEN@GOTPAGE
Lloh47:
	ldr	x9, [x9, _TLV_HDR_LEN@GOTPAGEOFF]
Lloh48:
	ldr	x10, [x9]
Lloh49:
	adrp	x9, _WPA_IE_VERSION_LEN@GOTPAGE
Lloh50:
	ldr	x9, [x9, _WPA_IE_VERSION_LEN@GOTPAGEOFF]
	add	x8, x10, x8
Lloh51:
	ldr	x11, [x9]
Lloh52:
	adrp	x9, _WPA_IE_MIN_OUI_LEN@GOTPAGE
Lloh53:
	ldr	x9, [x9, _WPA_IE_MIN_OUI_LEN@GOTPAGEOFF]
Lloh54:
	ldrsw	x9, [x9]
	add	x10, x11, x10
	add	x12, x10, x9
Lloh55:
	adrp	x10, _WPA_IE_SUITE_COUNT_LEN@GOTPAGE
Lloh56:
	ldr	x10, [x10, _WPA_IE_SUITE_COUNT_LEN@GOTPAGEOFF]
Lloh57:
	ldr	x10, [x10]
	add	x11, x12, x10
	cmp	x11, x8
	b.ge	LBB0_24
; %bb.21:
	add	x12, x0, x12, lsl #2
	ldp	w13, w12, [x12]
	add	w12, w13, w12, lsl #8
	mul	w12, w12, w9
	add	x12, x11, w12, sxtw
	add	x11, x12, x10
	cmp	x11, x8
	b.ge	LBB0_24
; %bb.22:
	add	x12, x0, x12, lsl #2
	ldp	w13, w12, [x12]
	add	w12, w13, w12, lsl #8
	mul	w9, w12, w9
	add	x9, x11, w9, sxtw
	add	x10, x9, x10
	cmp	x10, x8
	b.gt	LBB0_24
; %bb.23:
	add	x8, x0, x9, lsl #2
	ldp	w9, w8, [x8]
	add	w8, w9, w8, lsl #8
Lloh58:
	adrp	x9, _RSN_CAP_MFPR_MASK@GOTPAGE
Lloh59:
	ldr	x9, [x9, _RSN_CAP_MFPR_MASK@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
Lloh61:
	adrp	x10, _RSN_CAP_MFPC_MASK@GOTPAGE
Lloh62:
	ldr	x10, [x10, _RSN_CAP_MFPC_MASK@GOTPAGEOFF]
Lloh63:
	adrp	x11, _BRCMF_MFP_NONE@GOTPAGE
Lloh64:
	ldr	x11, [x11, _BRCMF_MFP_NONE@GOTPAGEOFF]
Lloh65:
	adrp	x12, _BRCMF_MFP_CAPABLE@GOTPAGE
Lloh66:
	ldr	x12, [x12, _BRCMF_MFP_CAPABLE@GOTPAGEOFF]
Lloh67:
	adrp	x13, _BRCMF_MFP_REQUIRED@GOTPAGE
Lloh68:
	ldr	x13, [x13, _BRCMF_MFP_REQUIRED@GOTPAGEOFF]
Lloh69:
	ldr	w10, [x10]
	tst	w8, w10
	csel	x10, x11, x12, eq
	tst	w8, w9
	csel	x8, x10, x13, eq
	ldr	w21, [x8]
	mov	x0, x20
	bl	_netdev_priv
Lloh70:
	adrp	x1, l_.str.4@PAGE
Lloh71:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x21
	bl	_brcmf_fil_bsscfg_int_set
LBB0_24:
Lloh72:
	adrp	x8, _CONN@GOTPAGE
Lloh73:
	ldr	x8, [x8, _CONN@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
	ldr	w8, [sp, #12]
	str	x8, [sp]
Lloh75:
	adrp	x1, l_.str.5@PAGE
Lloh76:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_brcmf_dbg
	mov	x0, x20
	bl	_netdev_priv
	ldr	w2, [sp, #12]
Lloh77:
	adrp	x1, l_.str@PAGE
Lloh78:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_fil_bsscfg_int_set
	mov	x23, x0
	cbz	w0, LBB0_27
; %bb.25:
Lloh79:
	adrp	x1, l_.str.6@PAGE
Lloh80:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_26:
	mov	x0, x19
	mov	x2, x23
	bl	_bphy_err
LBB0_27:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_28:
Lloh81:
	adrp	x9, _WPA2_AUTH_FT@GOTPAGE
Lloh82:
	ldr	x9, [x9, _WPA2_AUTH_FT@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #12]
	b	LBB0_16
LBB0_29:
Lloh84:
	adrp	x8, _WPA2_AUTH_FT@GOTPAGE
Lloh85:
	ldr	x8, [x8, _WPA2_AUTH_FT@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	orr	w8, w8, w9
	b	LBB0_7
LBB0_30:
Lloh87:
	adrp	x8, _WPA2_AUTH_1X_SHA256@GOTPAGE
Lloh88:
	ldr	x8, [x8, _WPA2_AUTH_1X_SHA256@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	b	LBB0_7
LBB0_31:
	str	w9, [sp, #12]
	ldr	w8, [x21, #32]
	cbnz	w8, LBB0_8
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh69
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_28-LBB0_12)>>2
	.byte	(LBB0_29-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_31-LBB0_12)>>2
                                        ; -- End function
	.comm	_BRCMF_PROFILE_FWSUP_NONE,8,3   ; @BRCMF_PROFILE_FWSUP_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wpa_auth"

l_.str.1:                               ; @.str.1
	.asciz	"could not get wpa_auth (%d)\n"

	.comm	_WPA_AUTH_PSK,4,2               ; @WPA_AUTH_PSK
	.comm	_WPA_AUTH_UNSPECIFIED,4,2       ; @WPA_AUTH_UNSPECIFIED
	.comm	_BRCMF_PROFILE_FWSUP_1X,8,3     ; @BRCMF_PROFILE_FWSUP_1X
l_.str.2:                               ; @.str.2
	.asciz	"invalid cipher group (%d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WPA2_AUTH_PSK,4,2              ; @WPA2_AUTH_PSK
	.comm	_WPA2_AUTH_UNSPECIFIED,4,2      ; @WPA2_AUTH_UNSPECIFIED
	.comm	_WPA2_AUTH_1X_SHA256,4,2        ; @WPA2_AUTH_1X_SHA256
	.comm	_WPA2_AUTH_PSK_SHA256,4,2       ; @WPA2_AUTH_PSK_SHA256
	.comm	_WPA2_AUTH_FT,4,2               ; @WPA2_AUTH_FT
	.comm	_INFO,4,2                       ; @INFO
l_.str.3:                               ; @.str.3
	.asciz	"using 1X offload\n"

	.comm	_BRCMF_FEAT_MFP,4,2             ; @BRCMF_FEAT_MFP
	.comm	_WLAN_EID_RSN,4,2               ; @WLAN_EID_RSN
	.comm	_TLV_HDR_LEN,8,3                ; @TLV_HDR_LEN
	.comm	_WPA_IE_VERSION_LEN,8,3         ; @WPA_IE_VERSION_LEN
	.comm	_WPA_IE_MIN_OUI_LEN,4,2         ; @WPA_IE_MIN_OUI_LEN
	.comm	_WPA_IE_SUITE_COUNT_LEN,8,3     ; @WPA_IE_SUITE_COUNT_LEN
	.comm	_BRCMF_MFP_NONE,8,3             ; @BRCMF_MFP_NONE
	.comm	_RSN_CAP_MFPR_MASK,4,2          ; @RSN_CAP_MFPR_MASK
	.comm	_BRCMF_MFP_REQUIRED,8,3         ; @BRCMF_MFP_REQUIRED
	.comm	_RSN_CAP_MFPC_MASK,4,2          ; @RSN_CAP_MFPC_MASK
	.comm	_BRCMF_MFP_CAPABLE,8,3          ; @BRCMF_MFP_CAPABLE
l_.str.4:                               ; @.str.4
	.asciz	"mfp"

	.comm	_CONN,4,2                       ; @CONN
l_.str.5:                               ; @.str.5
	.asciz	"setting wpa_auth to %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"could not set wpa_auth (%d)\n"

	.no_dead_strip	_brcmf_set_key_mgmt
.subsections_via_symbols
