	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath_ant_short_scan_check
_ath_ant_short_scan_check:              ## @ath_ant_short_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ecx, %ecx
	cmpl	$0, 28(%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 24(%rdi)
	je	LBB0_6
## %bb.2:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	16(%rbx), %r15
	movq	_ATH_ANT_DIV_COMB_SHORT_SCAN_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %r15
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_time_after
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movl	(%rbx), %esi
	movq	_ATH_ANT_DIV_COMB_SHORT_SCAN_PKTCOUNT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_5
## %bb.4:
	imull	$100, 4(%rbx), %eax
	cltd
	idivl	%esi
	cmpl	8(%rbx), %eax
	jl	LBB0_6
LBB0_5:
	xorl	%ecx, %ecx
LBB0_6:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_ATH_ANT_DIV_COMB_SHORT_SCAN_INTR,4,2 ## @ATH_ANT_DIV_COMB_SHORT_SCAN_INTR
	.comm	_ATH_ANT_DIV_COMB_SHORT_SCAN_PKTCOUNT,4,2 ## @ATH_ANT_DIV_COMB_SHORT_SCAN_PKTCOUNT
	.no_dead_strip	_ath_ant_short_scan_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath_ant_short_scan_check
_ath_ant_short_scan_check:              ; @ath_ant_short_scan_check
	.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
	ldr	w8, [x0, #28]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x21, [x19, #16]
Lloh3:
	adrp	x8, _ATH_ANT_DIV_COMB_SHORT_SCAN_INTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH_ANT_DIV_COMB_SHORT_SCAN_INTR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_time_after
	cbz	x0, LBB0_4
LBB0_3:
	mov	w0, #1
	b	LBB0_7
LBB0_4:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _ATH_ANT_DIV_COMB_SHORT_SCAN_PKTCOUNT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATH_ANT_DIV_COMB_SHORT_SCAN_PKTCOUNT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	mov	w9, #100
	ldp	w10, w11, [x19, #4]
	mul	w9, w10, w9
	sdiv	w8, w9, w8
	cmp	w8, w11
	b.lt	LBB0_3
LBB0_6:
	mov	w0, #0
LBB0_7:
	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	_ATH_ANT_DIV_COMB_SHORT_SCAN_INTR,4,2 ; @ATH_ANT_DIV_COMB_SHORT_SCAN_INTR
	.comm	_ATH_ANT_DIV_COMB_SHORT_SCAN_PKTCOUNT,4,2 ; @ATH_ANT_DIV_COMB_SHORT_SCAN_PKTCOUNT
	.no_dead_strip	_ath_ant_short_scan_check
.subsections_via_symbols
