	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil_check_bar
_wil_check_bar:                         ## @wil_check_bar
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r12
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_wil_rx_status_get_frame_type
	movq	_IEEE80211_FTYPE_DATA@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.1:
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_wil_rx_status_get_fc1
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_wil_rx_status_get_mid
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_wil_rx_status_get_tid
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_wil_rx_status_get_seq
	movl	%eax, %edi
	callq	_le16_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r14), %rax
	movslq	%ebx, %r12
	movq	(%rax,%r12,8), %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wil_dbg_txrx
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %r14
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_wil_dbg_txrx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	incl	(%r12)
LBB0_5:
	movq	%r14, %rbx
	movq	%r14, %rdi
	callq	_wil_is_back_req
	testq	%rax, %rax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %r8d
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %r9d
	xorl	%eax, %eax
	callq	_wil_dbg_txrx
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	callq	_wil_rx_bar
	jmp	LBB0_8
LBB0_7:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	leaq	L_.str.3(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_wil_dbg_txrx
	movq	_DUMP_PREFIX_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	leaq	L_.str.4(%rip), %rdi
	movl	$32, %edx
	movl	$4, %ecx
	movq	%r13, %r8
	movl	$4, %r9d
	callq	_wil_hex_dump_txrx
	movq	_DUMP_PREFIX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %r14
	callq	_skb_headlen
	movl	$0, (%rsp)
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
	movl	$16, %edx
	movl	$1, %ecx
	movq	%r14, %r8
	movl	%eax, %r9d
	callq	_wil_hex_dump_txrx
LBB0_8:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_9:
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_FTYPE_DATA,8,3       ## @IEEE80211_FTYPE_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RX descriptor with invalid mid %d"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
L_.str.1:                               ## @.str.1
	.asciz	"Non-data frame FC[7:0] 0x%02x MID %d CID %d TID %d Seq 0x%03x\n"

L_.str.2:                               ## @.str.2
	.asciz	"BAR: MID %d CID %d TID %d Seq 0x%03x\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unhandled non-data frame FC[7:0] 0x%02x MID %d CID %d TID %d Seq 0x%03x\n"

L_.str.4:                               ## @.str.4
	.asciz	"RxS "

	.comm	_DUMP_PREFIX_NONE,4,2           ## @DUMP_PREFIX_NONE
L_.str.5:                               ## @.str.5
	.asciz	"Rx "

	.comm	_DUMP_PREFIX_OFFSET,4,2         ## @DUMP_PREFIX_OFFSET
	.no_dead_strip	_wil_check_bar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil_check_bar
_wil_check_bar:                         ; @wil_check_bar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_wil_rx_status_get_frame_type
Lloh0:
	adrp	x8, _IEEE80211_FTYPE_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_FTYPE_DATA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_10
LBB0_2:
	mov	x0, x20
	mov	x1, x22
	bl	_wil_rx_status_get_fc1
	mov	x24, x0
	mov	x0, x22
	bl	_wil_rx_status_get_mid
	mov	x28, x0
	mov	x0, x22
	bl	_wil_rx_status_get_tid
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_wil_rx_status_get_seq
	bl	_le16_to_cpu
	mov	x27, x0
	ldr	x8, [x20, #8]
	sxtw	x26, w28
	ldr	x28, [x8, w28, sxtw #3]
	cmp	x28, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x26
	bl	_wil_dbg_txrx
	b	LBB0_9
LBB0_4:
	stp	x23, x27, [sp, #16]
	stp	x26, x21, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_wil_dbg_txrx
	cbz	x25, LBB0_6
; %bb.5:
	ldr	w8, [x25]
	add	w8, w8, #1
	str	w8, [x25]
LBB0_6:
	mov	x0, x24
	bl	_wil_is_back_req
	cbz	x0, LBB0_8
; %bb.7:
	mov	x8, x27
	str	x8, [sp, #16]
	mov	x8, x23
	mov	x9, x21
	stp	x9, x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x26
	bl	_wil_dbg_txrx
	mov	x0, x20
	mov	x1, x28
	mov	x2, x21
	mov	x3, x23
	mov	x4, x27
	bl	_wil_rx_bar
	b	LBB0_9
LBB0_8:
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	stp	x23, x27, [sp, #16]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	stp	x26, x21, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_wil_dbg_txrx
Lloh11:
	adrp	x8, _DUMP_PREFIX_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DUMP_PREFIX_NONE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w2, #32
	mov	w3, #4
	mov	x4, x22
	mov	w5, #4
	mov	w6, #0
	bl	_wil_hex_dump_txrx
Lloh16:
	adrp	x8, _DUMP_PREFIX_OFFSET@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DUMP_PREFIX_OFFSET@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
	ldr	x21, [x19]
	mov	x0, x19
	bl	_skb_headlen
	mov	x5, x0
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	mov	w2, #16
	mov	w3, #1
	mov	x4, x21
	mov	w6, #0
	bl	_wil_hex_dump_txrx
LBB0_9:
Lloh21:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_FTYPE_DATA,8,3       ; @IEEE80211_FTYPE_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RX descriptor with invalid mid %d"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
l_.str.1:                               ; @.str.1
	.asciz	"Non-data frame FC[7:0] 0x%02x MID %d CID %d TID %d Seq 0x%03x\n"

l_.str.2:                               ; @.str.2
	.asciz	"BAR: MID %d CID %d TID %d Seq 0x%03x\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unhandled non-data frame FC[7:0] 0x%02x MID %d CID %d TID %d Seq 0x%03x\n"

l_.str.4:                               ; @.str.4
	.asciz	"RxS "

	.comm	_DUMP_PREFIX_NONE,4,2           ; @DUMP_PREFIX_NONE
l_.str.5:                               ; @.str.5
	.asciz	"Rx "

	.comm	_DUMP_PREFIX_OFFSET,4,2         ; @DUMP_PREFIX_OFFSET
	.no_dead_strip	_wil_check_bar
.subsections_via_symbols
