	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_scan_check
_ipw_scan_check:                        ## @ipw_scan_check
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_STATUS_SCAN_ABORTING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.3:
	movq	_IPW_SCAN_CHECK_WATCHDOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jiffies_to_msecs
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_IPW_DEBUG_SCAN
	addq	$8, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_1:
	movq	_STATUS_SCANNING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.4:
	movq	_IPW_SCAN_CHECK_WATCHDOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jiffies_to_msecs
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_IPW_DEBUG_SCAN
	movq	%rbx, %rdi
	callq	_ipw_abort_scan
	addq	$4, %rbx
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_SCAN_ABORTING,4,2       ## @STATUS_SCAN_ABORTING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Scan completion watchdog resetting adapter after (%dms).\n"

	.comm	_IPW_SCAN_CHECK_WATCHDOG,4,2    ## @IPW_SCAN_CHECK_WATCHDOG
	.comm	_STATUS_SCANNING,4,2            ## @STATUS_SCANNING
L_.str.1:                               ## @.str.1
	.asciz	"Scan completion watchdog aborting scan after (%dms).\n"

	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_ipw_scan_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_scan_check
_ipw_scan_check:                        ; @ipw_scan_check
	.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, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _STATUS_SCAN_ABORTING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STATUS_SCAN_ABORTING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IPW_SCAN_CHECK_WATCHDOG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPW_SCAN_CHECK_WATCHDOG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_jiffies_to_msecs
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IPW_DEBUG_SCAN
	add	x0, x19, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_work
LBB0_2:
Lloh8:
	adrp	x9, _STATUS_SCANNING@GOTPAGE
Lloh9:
	ldr	x9, [x9, _STATUS_SCANNING@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _IPW_SCAN_CHECK_WATCHDOG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IPW_SCAN_CHECK_WATCHDOG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_jiffies_to_msecs
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IPW_DEBUG_SCAN
	mov	x0, x19
	bl	_ipw_abort_scan
	add	x0, x19, #4
Lloh16:
	adrp	x8, _HZ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_delayed_work
LBB0_4:
	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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_SCAN_ABORTING,4,2       ; @STATUS_SCAN_ABORTING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Scan completion watchdog resetting adapter after (%dms).\n"

	.comm	_IPW_SCAN_CHECK_WATCHDOG,4,2    ; @IPW_SCAN_CHECK_WATCHDOG
	.comm	_STATUS_SCANNING,4,2            ; @STATUS_SCANNING
l_.str.1:                               ; @.str.1
	.asciz	"Scan completion watchdog aborting scan after (%dms).\n"

	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_ipw_scan_check
.subsections_via_symbols
