	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw2100_wx_get_auth
_ipw2100_wx_get_auth:                   ## @ipw2100_wx_get_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	callq	_libipw_priv
	movq	_IW_AUTH_INDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rbx), %ecx
	addl	$-128, %ecx
	cmpl	$10, %ecx
	ja	LBB0_11
## %bb.1:
	movq	(%rax), %rax
	xorl	%r14d, %r14d
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_10:
	movl	12(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_12
LBB0_11:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_12
LBB0_8:
	movl	4(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_12
LBB0_2:
	movq	24(%rax), %rcx
	movq	32(%rax), %rax
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%rax), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	movl	(%rax), %edi
	callq	*%rcx
	movq	_IEEE80211_CRYPTO_TKIP_COUNTERMEASURES@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 4(%rbx)
	jmp	LBB0_12
LBB0_9:
	movl	8(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_12
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_12
LBB0_7:
	movl	16(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_12
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_IPW_DEBUG_WARNING
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_IW_AUTH_INDEX,4,2              ## @IW_AUTH_INDEX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't get TKIP countermeasures: crypt not set!\n"

	.comm	_IEEE80211_CRYPTO_TKIP_COUNTERMEASURES,4,2 ## @IEEE80211_CRYPTO_TKIP_COUNTERMEASURES
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_ipw2100_wx_get_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_get_auth
_ipw2100_wx_get_auth:                   ; @ipw2100_wx_get_auth
	.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
	bl	_libipw_priv
	ldr	w9, [x19]
Lloh0:
	adrp	x10, _IW_AUTH_INDEX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IW_AUTH_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w9, w10, w9
	sub	w9, w9, #128
	cmp	w9, #10
	b.hi	LBB0_3
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	x8, [x8]
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	mov	w0, #0
	ldr	w8, [x8, #12]
	str	w8, [x19, #4]
	b	LBB0_12
LBB0_3:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_4:
	mov	w0, #0
	ldr	w8, [x8, #4]
	str	w8, [x19, #4]
	b	LBB0_12
LBB0_5:
	ldp	x8, x9, [x8, #24]
	ldr	x8, [x9, x8, lsl #3]
	cbz	x8, LBB0_11
; %bb.6:
	ldr	x9, [x8, #8]
	ldr	x9, [x9]
	cbz	x9, LBB0_11
; %bb.7:
	ldr	w0, [x8]
	blr	x9
	mov	x8, x0
	mov	w0, #0
Lloh8:
	adrp	x9, _IEEE80211_CRYPTO_TKIP_COUNTERMEASURES@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_CRYPTO_TKIP_COUNTERMEASURES@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19, #4]
	b	LBB0_12
LBB0_8:
	mov	w0, #0
	ldr	w8, [x8, #8]
	str	w8, [x19, #4]
	b	LBB0_12
LBB0_9:
	mov	w0, #0
	ldr	w8, [x8]
	str	w8, [x19, #4]
	b	LBB0_12
LBB0_10:
	mov	w0, #0
	ldr	w8, [x8, #16]
	str	w8, [x19, #4]
	b	LBB0_12
LBB0_11:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IPW_DEBUG_WARNING
	mov	w0, #0
LBB0_12:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_IW_AUTH_INDEX,4,2              ; @IW_AUTH_INDEX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't get TKIP countermeasures: crypt not set!\n"

	.comm	_IEEE80211_CRYPTO_TKIP_COUNTERMEASURES,4,2 ; @IEEE80211_CRYPTO_TKIP_COUNTERMEASURES
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_ipw2100_wx_get_auth
.subsections_via_symbols
