	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw2100_wx_set_auth
_ipw2100_wx_set_auth:                   ## @ipw2100_wx_set_auth
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	callq	_libipw_priv
	movq	_IW_AUTH_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	andq	(%rbx), %rdx
	addq	$-128, %rdx
	cmpq	$9, %rdx
	ja	LBB0_15
## %bb.1:
	movq	(%rax), %rcx
	xorl	%r14d, %r14d
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_16:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_16
LBB0_12:
	movl	8(%rbx), %esi
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipw2100_wpa_enable             ## TAILCALL
LBB0_2:
	movq	32(%rcx), %rax
	movq	40(%rcx), %rcx
	movq	(%rcx,%rax,8), %r15
	testq	%r15, %r15
	je	LBB0_16
## %bb.3:
	movq	8(%r15), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_16
## %bb.4:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.5:
	movl	(%r15), %edi
	callq	*%rcx
	movq	_IEEE80211_CRYPTO_TKIP_COUNTERMEASURES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rdi, %rcx
	orq	%rax, %rcx
	notq	%rdi
	andq	%rax, %rdi
	cmpl	$0, 8(%rbx)
	cmovneq	%rcx, %rdi
	movq	8(%r15), %rax
	movl	(%r15), %esi
	callq	*8(%rax)
	jmp	LBB0_16
LBB0_13:
	movl	8(%rbx), %eax
	movl	%eax, 4(%rcx)
	jmp	LBB0_16
LBB0_14:
	movl	8(%rbx), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_16
LBB0_6:
	movq	_SEC_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	8(%rbx), %edx
	movl	%edx, -32(%rbp)
	movl	%edx, 24(%rcx)
	movq	_SEC_LEVEL@GOTPCREL(%rip), %rsi
	orl	(%rsi), %eax
	movl	%eax, -36(%rbp)
	testl	%edx, %edx
	jne	LBB0_7
## %bb.8:
	movq	_SEC_LEVEL_0@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	movl	8(%rbx), %esi
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipw2100_wpa_set_auth_algs      ## TAILCALL
LBB0_7:
	movq	_SEC_LEVEL_1@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	16(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	movl	8(%rcx), %edi
	leaq	-40(%rbp), %rsi
	callq	*%rax
	jmp	LBB0_16
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_6
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_IW_AUTH_INDEX,8,3              ## @IW_AUTH_INDEX
	.comm	_IEEE80211_CRYPTO_TKIP_COUNTERMEASURES,8,3 ## @IEEE80211_CRYPTO_TKIP_COUNTERMEASURES
	.comm	_SEC_ENABLED,4,2                ## @SEC_ENABLED
	.comm	_SEC_LEVEL,4,2                  ## @SEC_LEVEL
	.comm	_SEC_LEVEL_0,4,2                ## @SEC_LEVEL_0
	.comm	_SEC_LEVEL_1,4,2                ## @SEC_LEVEL_1
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_ipw2100_wx_set_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw2100_wx_set_auth
_ipw2100_wx_set_auth:                   ; @ipw2100_wx_set_auth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_libipw_priv
	ldr	x9, [x19]
Lloh0:
	adrp	x10, _IW_AUTH_INDEX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IW_AUTH_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	and	x9, x10, x9
	sub	x10, x9, #128
	cmp	x10, #9
	b.hi	LBB0_3
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x8]
Lloh3:
	adrp	x11, lJTI0_0@PAGE
Lloh4:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
	ldr	w1, [x19, #8]
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_ipw2100_wpa_enable
LBB0_3:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_4:
	ldp	x9, x8, [x9, #32]
	ldr	x20, [x8, x9, lsl #3]
	cbz	x20, LBB0_12
; %bb.5:
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_12
; %bb.6:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.7:
	ldr	w0, [x20]
	blr	x8
	ldr	w8, [x19, #8]
Lloh8:
	adrp	x9, _IEEE80211_CRYPTO_TKIP_COUNTERMEASURES@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_CRYPTO_TKIP_COUNTERMEASURES@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	orr	x10, x9, x0
	bic	x9, x0, x9
	cmp	w8, #0
	csel	x0, x9, x10, eq
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	ldr	w1, [x20]
	blr	x8
	b	LBB0_12
LBB0_8:
	mov	w0, #0
	ldr	w8, [x19, #8]
	str	w8, [x9, #4]
	b	LBB0_13
LBB0_9:
	mov	w0, #0
	ldr	w8, [x19, #8]
	str	w8, [x9]
	b	LBB0_13
LBB0_10:
Lloh11:
	adrp	x8, _SEC_ENABLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SEC_ENABLED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w10, [x19, #8]
Lloh14:
	adrp	x11, _SEC_LEVEL@GOTPAGE
Lloh15:
	ldr	x11, [x11, _SEC_LEVEL@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	orr	w8, w11, w8
	stp	w8, w10, [sp, #4]
Lloh17:
	adrp	x8, _SEC_LEVEL_0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SEC_LEVEL_0@GOTPAGEOFF]
Lloh19:
	adrp	x11, _SEC_LEVEL_1@GOTPAGE
Lloh20:
	ldr	x11, [x11, _SEC_LEVEL_1@GOTPAGEOFF]
	str	w10, [x9, #24]
	cmp	w10, #0
	csel	x8, x8, x11, eq
	ldr	w8, [x8]
	str	w8, [sp]
	ldr	x8, [x9, #16]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w0, [x9, #8]
	mov	x1, sp
	blr	x8
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_14:
	ldr	w1, [x19, #8]
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_ipw2100_wpa_set_auth_algs
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_IW_AUTH_INDEX,8,3              ; @IW_AUTH_INDEX
	.comm	_IEEE80211_CRYPTO_TKIP_COUNTERMEASURES,8,3 ; @IEEE80211_CRYPTO_TKIP_COUNTERMEASURES
	.comm	_SEC_ENABLED,4,2                ; @SEC_ENABLED
	.comm	_SEC_LEVEL,4,2                  ; @SEC_LEVEL
	.comm	_SEC_LEVEL_0,4,2                ; @SEC_LEVEL_0
	.comm	_SEC_LEVEL_1,4,2                ; @SEC_LEVEL_1
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_ipw2100_wx_set_auth
.subsections_via_symbols
