	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_get_auth
_atmel_get_auth:                        ## @atmel_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_netdev_priv
	movq	_IW_AUTH_INDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rbx), %ecx
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.1:
	cmpl	$130, %ecx
	je	LBB0_5
## %bb.2:
	cmpl	$129, %ecx
	je	LBB0_8
## %bb.3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_4:
	movl	$0, 4(%rbx)
	jmp	LBB0_9
LBB0_5:
	cmpl	$1, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_IW_AUTH_ALG_SHARED_KEY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_IW_AUTH_ALG_OPEN_SYSTEM@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IW_AUTH_INDEX,4,2              ## @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	_atmel_get_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_get_auth
_atmel_get_auth:                        ; @atmel_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	_netdev_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
	cmp	w9, #128
	b.eq	LBB0_4
; %bb.1:
	mov	x8, x0
	cmp	w9, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w9, #129
	b.ne	LBB0_7
; %bb.3:
	mov	w0, #0
	b	LBB0_9
LBB0_4:
	mov	w0, #0
	str	wzr, [x19, #4]
	b	LBB0_10
LBB0_5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.6:
	mov	w0, #0
Lloh3:
	adrp	x8, _IW_AUTH_ALG_SHARED_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IW_AUTH_ALG_SHARED_KEY@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_8:
	mov	w0, #0
Lloh8:
	adrp	x8, _IW_AUTH_ALG_OPEN_SYSTEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IW_AUTH_ALG_OPEN_SYSTEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_10:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IW_AUTH_INDEX,4,2              ; @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	_atmel_get_auth
.subsections_via_symbols
