	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_cfg80211_config_default_key
_brcmf_cfg80211_config_default_key:     ## @brcmf_cfg80211_config_default_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	8(%rax), %r14
	movq	_TRACE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movl	(%r12), %edi
	callq	_check_vif_up
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	leaq	L_.str.2(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_brcmf_fil_bsscfg_int_get
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rsi
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_bphy_err
	jmp	LBB0_4
LBB0_5:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
	jmp	LBB0_6
LBB0_7:
	movq	_WEP_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_11
## %bb.8:
	movq	_BRCMF_C_SET_KEY_PRIMARY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_brcmf_fil_cmd_int_set
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%rax, %rbx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_3
LBB0_11:
	xorl	%ebx, %ebx
LBB0_4:
	movl	(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRACE,4,2                      ## @TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter\n"

	.comm	_CONN,4,2                       ## @CONN
L_.str.1:                               ## @.str.1
	.asciz	"key index (%d)\n"

	.comm	_EIO,8,3                        ## @EIO
L_.str.2:                               ## @.str.2
	.asciz	"wsec"

L_.str.3:                               ## @.str.3
	.asciz	"WLC_GET_WSEC error (%d)\n"

	.comm	_WEP_ENABLED,4,2                ## @WEP_ENABLED
	.comm	_BRCMF_C_SET_KEY_PRIMARY,4,2    ## @BRCMF_C_SET_KEY_PRIMARY
L_.str.4:                               ## @.str.4
	.asciz	"error (%d)\n"

L_.str.5:                               ## @.str.5
	.asciz	"Exit\n"

	.no_dead_strip	_brcmf_cfg80211_config_default_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_cfg80211_config_default_key
_brcmf_cfg80211_config_default_key:     ; @brcmf_cfg80211_config_default_key
	.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	x20, x2
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x23, _TRACE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TRACE@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
Lloh4:
	adrp	x8, _CONN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CONN@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_brcmf_dbg
	ldr	w0, [x21]
	bl	_check_vif_up
	cbz	w0, LBB0_5
; %bb.1:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_brcmf_fil_bsscfg_int_get
	cbz	x0, LBB0_7
; %bb.2:
	mov	x22, x0
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_3:
	mov	x0, x19
	mov	x2, x22
	bl	_bphy_err
LBB0_4:
	ldr	w0, [x23]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_brcmf_dbg
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x8, _EIO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	neg	x22, x8
LBB0_6:
	mov	x0, x22
	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_7:
	ldr	w8, [sp, #12]
Lloh18:
	adrp	x9, _WEP_ENABLED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _WEP_ENABLED@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.8:
Lloh21:
	adrp	x8, _BRCMF_C_SET_KEY_PRIMARY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BRCMF_C_SET_KEY_PRIMARY@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	bl	_brcmf_fil_cmd_int_set
	mov	x22, x0
	cbz	x0, LBB0_4
; %bb.9:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_10:
	mov	x22, #0
	b	LBB0_4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

	.comm	_CONN,4,2                       ; @CONN
l_.str.1:                               ; @.str.1
	.asciz	"key index (%d)\n"

	.comm	_EIO,8,3                        ; @EIO
l_.str.2:                               ; @.str.2
	.asciz	"wsec"

l_.str.3:                               ; @.str.3
	.asciz	"WLC_GET_WSEC error (%d)\n"

	.comm	_WEP_ENABLED,4,2                ; @WEP_ENABLED
	.comm	_BRCMF_C_SET_KEY_PRIMARY,4,2    ; @BRCMF_C_SET_KEY_PRIMARY
l_.str.4:                               ; @.str.4
	.asciz	"error (%d)\n"

l_.str.5:                               ; @.str.5
	.asciz	"Exit\n"

	.no_dead_strip	_brcmf_cfg80211_config_default_key
.subsections_via_symbols
