	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1271_set_default_wep_key
_wl1271_set_default_wep_key:            ## @wl1271_set_default_wep_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	(%rsi), %rax
	movq	_BSS_TYPE_AP_BSS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	8(%rsi,%rdx,4), %edx
	movq	%rbx, %rsi
	callq	_wl12xx_cmd_set_default_wep_key
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	_DEBUG_CRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_wl1271_debug
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSS_TYPE_AP_BSS,8,3            ## @BSS_TYPE_AP_BSS
	.comm	_DEBUG_CRYPT,4,2                ## @DEBUG_CRYPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"default wep key idx: %d"

	.no_dead_strip	_wl1271_set_default_wep_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1271_set_default_wep_key
_wl1271_set_default_wep_key:            ; @wl1271_set_default_wep_key
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _BSS_TYPE_AP_BSS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BSS_TYPE_AP_BSS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	w10, #8
	mov	w11, #12
	cmp	x8, x9
	csel	x8, x11, x10, eq
	ldr	w2, [x1, x8]
	mov	x1, x19
	bl	_wl12xx_cmd_set_default_wep_key
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _DEBUG_CRYPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEBUG_CRYPT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_wl1271_debug
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BSS_TYPE_AP_BSS,8,3            ; @BSS_TYPE_AP_BSS
	.comm	_DEBUG_CRYPT,4,2                ; @DEBUG_CRYPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"default wep key idx: %d"

	.no_dead_strip	_wl1271_set_default_wep_key
.subsections_via_symbols
