	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism2_ioctl_giwscan_sta
_prism2_ioctl_giwscan_sta:              ## @prism2_ioctl_giwscan_sta
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	callq	_netdev_priv
	movq	(%rax), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	addq	%rax, %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_3:
	movq	$0, (%rbx)
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_prism2_translate_scan
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movl	%eax, (%r12)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	movl	$0, (%r12)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_prism2_ioctl_giwscan_sta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism2_ioctl_giwscan_sta
_prism2_ioctl_giwscan_sta:              ; @prism2_ioctl_giwscan_sta
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	bl	_netdev_priv
	ldr	x22, [x0]
	ldr	x8, [x22]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _jiffies@GOTPAGE
Lloh1:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
Lloh3:
	adrp	x9, _HZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	add	x9, x9, x9, lsl #1
	add	x1, x8, x9
	bl	_time_before
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_3:
	str	xzr, [x22]
	ldr	w3, [x19]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_prism2_translate_scan
	tbnz	w0, #31, LBB0_5
; %bb.4:
	str	w0, [x19]
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	str	wzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_prism2_ioctl_giwscan_sta
.subsections_via_symbols
