	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function orinoco_ioctl_get_auth
_orinoco_ioctl_get_auth:                ## @orinoco_ioctl_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_ndev_priv
	movq	%rax, %r15
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_orinoco_lock
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_2:
	movq	_IW_AUTH_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	(%r14), %rax
	addq	$-128, %rax
	cmpq	$3, %rax
	ja	LBB0_5
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	(%r15), %eax
	jmp	LBB0_12
LBB0_5:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_6:
	movl	8(%r15), %eax
	jmp	LBB0_12
LBB0_7:
	movl	12(%r15), %eax
	jmp	LBB0_12
LBB0_8:
	cmpl	$0, 4(%r15)
	je	LBB0_10
## %bb.9:
	movq	_IW_AUTH_ALG_SHARED_KEY@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_IW_AUTH_ALG_OPEN_SYSTEM@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
LBB0_12:
	movl	%eax, 8(%r14)
	xorl	%ebx, %ebx
LBB0_13:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_orinoco_unlock
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_IW_AUTH_INDEX,8,3              ## @IW_AUTH_INDEX
	.comm	_IW_AUTH_ALG_SHARED_KEY,4,2     ## @IW_AUTH_ALG_SHARED_KEY
	.comm	_IW_AUTH_ALG_OPEN_SYSTEM,4,2    ## @IW_AUTH_ALG_OPEN_SYSTEM
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_orinoco_ioctl_get_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function orinoco_ioctl_get_auth
_orinoco_ioctl_get_auth:                ; @orinoco_ioctl_get_auth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	bl	_ndev_priv
	mov	x19, x0
	add	x1, sp, #8
	bl	_orinoco_lock
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_14
LBB0_2:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _IW_AUTH_INDEX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IW_AUTH_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	and	x8, x9, x8
	sub	x8, x8, #128
	cmp	x8, #3
	b.hi	LBB0_5
; %bb.3:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	w20, #0
	ldr	w8, [x19]
	b	LBB0_12
LBB0_5:
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_13
LBB0_6:
	mov	w20, #0
	ldr	w8, [x19, #8]
	b	LBB0_12
LBB0_7:
	mov	w20, #0
	ldr	w8, [x19, #12]
	b	LBB0_12
LBB0_8:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_10
; %bb.9:
	mov	w20, #0
Lloh11:
	adrp	x8, _IW_AUTH_ALG_SHARED_KEY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IW_AUTH_ALG_SHARED_KEY@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	mov	w20, #0
Lloh13:
	adrp	x8, _IW_AUTH_ALG_OPEN_SYSTEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IW_AUTH_ALG_OPEN_SYSTEM@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
LBB0_12:
	str	w8, [x21, #8]
LBB0_13:
	add	x1, sp, #8
	mov	x0, x19
	bl	_orinoco_unlock
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_IW_AUTH_INDEX,8,3              ; @IW_AUTH_INDEX
	.comm	_IW_AUTH_ALG_SHARED_KEY,4,2     ; @IW_AUTH_ALG_SHARED_KEY
	.comm	_IW_AUTH_ALG_OPEN_SYSTEM,4,2    ; @IW_AUTH_ALG_OPEN_SYSTEM
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_orinoco_ioctl_get_auth
.subsections_via_symbols
