	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_sec_ioctl_encrypt_key
_mwifiex_sec_ioctl_encrypt_key:         ## @mwifiex_sec_ioctl_encrypt_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 8(%rsi)
	je	LBB0_1
## %bb.3:
	popq	%rbp
	jmp	_mwifiex_sec_ioctl_set_wapi_key ## TAILCALL
LBB0_1:
	movq	(%rsi), %rax
	movq	_WLAN_KEY_LEN_WEP104@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_2
## %bb.4:
	popq	%rbp
	jmp	_mwifiex_sec_ioctl_set_wpa_key  ## TAILCALL
LBB0_2:
	popq	%rbp
	jmp	_mwifiex_sec_ioctl_set_wep_key  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_KEY_LEN_WEP104,8,3        ## @WLAN_KEY_LEN_WEP104
	.no_dead_strip	_mwifiex_sec_ioctl_encrypt_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_sec_ioctl_encrypt_key
_mwifiex_sec_ioctl_encrypt_key:         ; @mwifiex_sec_ioctl_encrypt_key
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_2
; %bb.1:
	b	_mwifiex_sec_ioctl_set_wapi_key
LBB0_2:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _WLAN_KEY_LEN_WEP104@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WLAN_KEY_LEN_WEP104@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.3:
	b	_mwifiex_sec_ioctl_set_wpa_key
LBB0_4:
	b	_mwifiex_sec_ioctl_set_wep_key
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_KEY_LEN_WEP104,8,3        ; @WLAN_KEY_LEN_WEP104
	.no_dead_strip	_mwifiex_sec_ioctl_encrypt_key
.subsections_via_symbols
