	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1271_scan_stm                ## -- Begin function wl1271_scan_stm
	.p2align	4, 0x90
_wl1271_scan_stm:                       ## @wl1271_scan_stm
	.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	8(%rdi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_18
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	movl	$0, 12(%rbx)
	jmp	LBB0_14
LBB0_18:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wl1271_error                   ## TAILCALL
LBB0_16:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%r14), %rax
	movl	(%rax,%r15,4), %esi
	movq	%rbx, %rdi
	callq	_wl1271_tx_min_rate_get
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	movl	$1, %ecx
	movl	%eax, %r8d
	callq	_wl1271_scan_send
	movl	%eax, %r15d
	movq	_WL1271_NOTHING_TO_SCAN@GOTPCREL(%rip), %rcx
	movl	$129, %eax
	jmp	LBB0_6
LBB0_15:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%r14), %rax
	movl	(%rax,%r15,4), %esi
	movq	%rbx, %rdi
	callq	_wl1271_tx_min_rate_get
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_wl1271_scan_send
	movl	%eax, %r15d
	movq	_WL1271_NOTHING_TO_SCAN@GOTPCREL(%rip), %rcx
	movl	$130, %eax
	jmp	LBB0_6
LBB0_7:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%r14), %rax
	movl	(%rax,%r15,4), %esi
	movq	16(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.8:
	movq	_CONF_TX_CCK_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %esi
	jne	LBB0_10
## %bb.9:
	movq	_CONF_TX_RATE_MASK_BASIC_P2P@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_10:
	movq	%rbx, %rdi
	callq	_wl1271_tx_min_rate_get
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	movl	$1, %ecx
	movl	%eax, %r8d
	callq	_wl1271_scan_send
	movl	%eax, %r15d
	movq	_WL1271_NOTHING_TO_SCAN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_13
## %bb.11:
	xorl	%eax, %eax
	cmpl	$0, 24(%rbx)
	setne	%al
	addl	%eax, %eax
	addl	$129, %eax
	jmp	LBB0_12
LBB0_2:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%r14), %rax
	movl	(%rax,%r15,4), %esi
	movq	16(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_CONF_TX_CCK_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %esi
	jne	LBB0_5
## %bb.4:
	movq	_CONF_TX_RATE_MASK_BASIC_P2P@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_5:
	movq	%rbx, %rdi
	callq	_wl1271_tx_min_rate_get
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_wl1271_scan_send
	movl	%eax, %r15d
	movq	_WL1271_NOTHING_TO_SCAN@GOTPCREL(%rip), %rcx
	movl	$132, %eax
LBB0_6:
	cmpl	(%rcx), %r15d
	jne	LBB0_13
LBB0_12:
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wl1271_scan_stm
LBB0_13:
	testl	%r15d, %r15d
	js	LBB0_14
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%rbx, %rdi
	callq	_cancel_delayed_work
	movl	4(%rbx), %r14d
	xorl	%edi, %edi
	callq	_msecs_to_jiffies
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_queue_delayed_work   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_17
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_7
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_CONF_TX_CCK_RATES,4,2          ## @CONF_TX_CCK_RATES
	.comm	_CONF_TX_RATE_MASK_BASIC_P2P,4,2 ## @CONF_TX_RATE_MASK_BASIC_P2P
	.comm	_WL1271_NOTHING_TO_SCAN,4,2     ## @WL1271_NOTHING_TO_SCAN
	.comm	_NL80211_BAND_5GHZ,4,2          ## @NL80211_BAND_5GHZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid scan state"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1271_scan_stm                ; -- Begin function wl1271_scan_stm
	.p2align	2
_wl1271_scan_stm:                       ; @wl1271_scan_stm
	.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, #8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_19
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	str	wzr, [x19, #12]
	b	LBB0_18
LBB0_3:
Lloh2:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	ldr	x8, [x20]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_wl1271_tx_min_rate_get
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #1
	bl	_wl1271_scan_send
	mov	x21, x0
Lloh5:
	adrp	x8, _WL1271_NOTHING_TO_SCAN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WL1271_NOTHING_TO_SCAN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.4:
	mov	w8, #129
	b	LBB0_15
LBB0_5:
Lloh8:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	ldr	x8, [x20]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_wl1271_tx_min_rate_get
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	bl	_wl1271_scan_send
	mov	x21, x0
Lloh11:
	adrp	x8, _WL1271_NOTHING_TO_SCAN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WL1271_NOTHING_TO_SCAN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.6:
	mov	w8, #130
	b	LBB0_15
LBB0_7:
Lloh14:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
	ldr	x8, [x20]
	ldr	w1, [x8, x21, lsl #2]
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	cbz	w8, LBB0_9
; %bb.8:
Lloh17:
	adrp	x8, _CONF_TX_CCK_RATES@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CONF_TX_CCK_RATES@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _CONF_TX_RATE_MASK_BASIC_P2P@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CONF_TX_RATE_MASK_BASIC_P2P@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	bics	w8, w1, w8
	csel	w1, w9, w8, eq
LBB0_9:
	mov	x0, x19
	bl	_wl1271_tx_min_rate_get
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #1
	bl	_wl1271_scan_send
	mov	x21, x0
Lloh23:
	adrp	x8, _WL1271_NOTHING_TO_SCAN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WL1271_NOTHING_TO_SCAN@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.10:
	ldr	w8, [x19, #24]
	mov	w9, #131
	mov	w10, #129
	cmp	w8, #0
	csel	w8, w10, w9, eq
	b	LBB0_15
LBB0_11:
Lloh26:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh28:
	ldr	w21, [x8]
	ldr	x8, [x20]
	ldr	w1, [x8, x21, lsl #2]
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.12:
Lloh29:
	adrp	x8, _CONF_TX_CCK_RATES@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CONF_TX_CCK_RATES@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _CONF_TX_RATE_MASK_BASIC_P2P@GOTPAGE
Lloh33:
	ldr	x9, [x9, _CONF_TX_RATE_MASK_BASIC_P2P@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	bics	w8, w1, w8
	csel	w1, w9, w8, eq
LBB0_13:
	mov	x0, x19
	bl	_wl1271_tx_min_rate_get
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	bl	_wl1271_scan_send
	mov	x21, x0
Lloh35:
	adrp	x8, _WL1271_NOTHING_TO_SCAN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WL1271_NOTHING_TO_SCAN@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.14:
	mov	w8, #132
LBB0_15:
	str	w8, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_wl1271_scan_stm
LBB0_16:
	tbnz	w21, #31, LBB0_18
LBB0_17:
	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_18:
	mov	x0, x19
	bl	_cancel_delayed_work
	ldr	w20, [x19, #4]
	mov	w0, #0
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x20
	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	_ieee80211_queue_delayed_work
LBB0_19:
Lloh38:
	adrp	x0, l_.str@PAGE
Lloh39:
	add	x0, x0, l_.str@PAGEOFF
	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	_wl1271_error
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_CONF_TX_CCK_RATES,4,2          ; @CONF_TX_CCK_RATES
	.comm	_CONF_TX_RATE_MASK_BASIC_P2P,4,2 ; @CONF_TX_RATE_MASK_BASIC_P2P
	.comm	_WL1271_NOTHING_TO_SCAN,4,2     ; @WL1271_NOTHING_TO_SCAN
	.comm	_NL80211_BAND_5GHZ,4,2          ; @NL80211_BAND_5GHZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid scan state"

.subsections_via_symbols
