	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_get_passive_dwell_time      ## -- Begin function il_get_passive_dwell_time
	.p2align	4, 0x90
_il_get_passive_dwell_time:             ## @il_get_passive_dwell_time
	.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
	movq	%rdi, %r14
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movq	_IL_PASSIVE_DWELL_BASE@GOTPCREL(%rip), %r15
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_IL_PASSIVE_DWELL_TIME_24@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IL_PASSIVE_DWELL_TIME_52@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	addl	(%r15), %ebx
	movq	%r14, %rdi
	callq	_il_is_any_associated
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
LBB0_7:
	movl	(%r15), %ecx
	cmpl	%ecx, %eax
	movl	%ecx, %edx
	cmovlel	%eax, %edx
	testl	%eax, %eax
	cmovel	%ecx, %edx
	imull	$98, %edx, %eax
	cltq
	imulq	$1374389535, %rax, %rdi         ## imm = 0x51EB851F
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$37, %rdi
	addl	%eax, %edi
	movq	_IL_CHANNEL_TUNE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	subl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_min                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_IL_PASSIVE_DWELL_BASE,4,2      ## @IL_PASSIVE_DWELL_BASE
	.comm	_IL_PASSIVE_DWELL_TIME_24,4,2   ## @IL_PASSIVE_DWELL_TIME_24
	.comm	_IL_PASSIVE_DWELL_TIME_52,4,2   ## @IL_PASSIVE_DWELL_TIME_52
	.comm	_IL_CHANNEL_TUNE_TIME,4,2       ## @IL_CHANNEL_TUNE_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_get_passive_dwell_time      ; -- Begin function il_get_passive_dwell_time
	.p2align	2
_il_get_passive_dwell_time:             ; @il_get_passive_dwell_time
	.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, x0
Lloh0:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _IL_PASSIVE_DWELL_BASE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IL_PASSIVE_DWELL_BASE@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh5:
	adrp	x10, _IL_PASSIVE_DWELL_TIME_24@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IL_PASSIVE_DWELL_TIME_24@GOTPAGEOFF]
Lloh7:
	adrp	x11, _IL_PASSIVE_DWELL_TIME_52@GOTPAGE
Lloh8:
	ldr	x11, [x11, _IL_PASSIVE_DWELL_TIME_52@GOTPAGEOFF]
	cmp	w8, w1
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	add	w19, w8, w9
	bl	_il_is_any_associated
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x8]
LBB0_3:
	ldr	w9, [x21]
	cmp	w8, w9
	ccmp	w8, #0, #4, le
	csel	w8, w8, w9, ne
	mov	w9, #98
	mul	w8, w8, w9
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
Lloh9:
	adrp	x9, _IL_CHANNEL_TUNE_TIME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IL_CHANNEL_TUNE_TIME@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	sub	w0, w8, w9, lsl #1
	mov	x1, x19
	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
	b	_min
LBB0_4:
	mov	x0, x19
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_IL_PASSIVE_DWELL_BASE,4,2      ; @IL_PASSIVE_DWELL_BASE
	.comm	_IL_PASSIVE_DWELL_TIME_24,4,2   ; @IL_PASSIVE_DWELL_TIME_24
	.comm	_IL_PASSIVE_DWELL_TIME_52,4,2   ; @IL_PASSIVE_DWELL_TIME_52
	.comm	_IL_CHANNEL_TUNE_TIME,4,2       ; @IL_CHANNEL_TUNE_TIME
.subsections_via_symbols
