	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_get_scan
_atmel_get_scan:                        ## @atmel_get_scan
	.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	(%rax), %rax
	movq	_SITE_SURVEY_COMPLETED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$0, (%rbx)
	movq	$0, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SITE_SURVEY_COMPLETED,8,3      ## @SITE_SURVEY_COMPLETED
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_SIOCGIWAP,4,2                  ## @SIOCGIWAP
	.comm	_ARPHRD_ETHER,4,2               ## @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IW_SCAN_MAX_DATA,4,2           ## @IW_SCAN_MAX_DATA
	.comm	_IW_EV_ADDR_LEN,4,2             ## @IW_EV_ADDR_LEN
	.comm	_SIOCGIWESSID,4,2               ## @SIOCGIWESSID
	.comm	_SIOCGIWMODE,4,2                ## @SIOCGIWMODE
	.comm	_IW_EV_UINT_LEN,4,2             ## @IW_EV_UINT_LEN
	.comm	_SIOCGIWFREQ,4,2                ## @SIOCGIWFREQ
	.comm	_IW_EV_FREQ_LEN,4,2             ## @IW_EV_FREQ_LEN
	.comm	_IWEVQUAL,4,2                   ## @IWEVQUAL
	.comm	_IW_EV_QUAL_LEN,4,2             ## @IW_EV_QUAL_LEN
	.comm	_SIOCGIWENCODE,4,2              ## @SIOCGIWENCODE
	.comm	_IW_ENCODE_ENABLED,4,2          ## @IW_ENCODE_ENABLED
	.comm	_IW_ENCODE_NOKEY,4,2            ## @IW_ENCODE_NOKEY
	.comm	_IW_ENCODE_DISABLED,4,2         ## @IW_ENCODE_DISABLED
	.no_dead_strip	_atmel_get_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_get_scan
_atmel_get_scan:                        ; @atmel_get_scan
	.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	x8, [x0]
Lloh0:
	adrp	x9, _SITE_SURVEY_COMPLETED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SITE_SURVEY_COMPLETED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	str	wzr, [x19]
	str	xzr, [x19, #8]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SITE_SURVEY_COMPLETED,8,3      ; @SITE_SURVEY_COMPLETED
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_SIOCGIWAP,4,2                  ; @SIOCGIWAP
	.comm	_ARPHRD_ETHER,4,2               ; @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IW_SCAN_MAX_DATA,4,2           ; @IW_SCAN_MAX_DATA
	.comm	_IW_EV_ADDR_LEN,4,2             ; @IW_EV_ADDR_LEN
	.comm	_SIOCGIWESSID,4,2               ; @SIOCGIWESSID
	.comm	_SIOCGIWMODE,4,2                ; @SIOCGIWMODE
	.comm	_IW_EV_UINT_LEN,4,2             ; @IW_EV_UINT_LEN
	.comm	_SIOCGIWFREQ,4,2                ; @SIOCGIWFREQ
	.comm	_IW_EV_FREQ_LEN,4,2             ; @IW_EV_FREQ_LEN
	.comm	_IWEVQUAL,4,2                   ; @IWEVQUAL
	.comm	_IW_EV_QUAL_LEN,4,2             ; @IW_EV_QUAL_LEN
	.comm	_SIOCGIWENCODE,4,2              ; @SIOCGIWENCODE
	.comm	_IW_ENCODE_ENABLED,4,2          ; @IW_ENCODE_ENABLED
	.comm	_IW_ENCODE_NOKEY,4,2            ; @IW_ENCODE_NOKEY
	.comm	_IW_ENCODE_DISABLED,4,2         ; @IW_ENCODE_DISABLED
	.no_dead_strip	_atmel_get_scan
.subsections_via_symbols
