	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil_can_suspend_vif
_wil_can_suspend_vif:                   ## @wil_can_suspend_vif
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_vif_to_wdev
	movl	(%rax), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_1
## %bb.3:
	movq	_wil_vif_fwconnecting@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_1:
	cmpl	$130, %eax
	jne	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
LBB0_5:
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movq	%r15, %rdi
	callq	_wil_dbg_pm
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$1, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sniffer\n"

	.comm	_wil_vif_fwconnecting,4,2       ## @wil_vif_fwconnecting
L_.str.1:                               ## @.str.1
	.asciz	"Delay suspend when connecting\n"

L_.str.2:                               ## @.str.2
	.asciz	"STA-like interface\n"

L_.str.3:                               ## @.str.3
	.asciz	"AP-like interface\n"

	.no_dead_strip	_wil_can_suspend_vif
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil_can_suspend_vif
_wil_can_suspend_vif:                   ; @wil_can_suspend_vif
	.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, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_vif_to_wdev
	ldr	w8, [x0]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _wil_vif_fwconnecting@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wil_vif_fwconnecting@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x9, l_.str@PAGE
Lloh6:
	add	x9, x9, l_.str@PAGEOFF
	cmp	w8, #130
Lloh7:
	adrp	x8, l_.str.3@PAGE
Lloh8:
	add	x8, x8, l_.str.3@PAGEOFF
	csel	x1, x9, x8, eq
LBB0_4:
	mov	x0, x19
	bl	_wil_dbg_pm
	mov	w0, #0
LBB0_5:
	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
LBB0_6:
	cbz	w20, LBB0_8
; %bb.7:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_8:
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sniffer\n"

	.comm	_wil_vif_fwconnecting,4,2       ; @wil_vif_fwconnecting
l_.str.1:                               ; @.str.1
	.asciz	"Delay suspend when connecting\n"

l_.str.2:                               ; @.str.2
	.asciz	"STA-like interface\n"

l_.str.3:                               ; @.str.3
	.asciz	"AP-like interface\n"

	.no_dead_strip	_wil_can_suspend_vif
.subsections_via_symbols
