	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil_find_tx_ucast
_wil_find_tx_ucast:                     ## @wil_find_tx_ucast
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_wil_skb_get_da
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_wil_get_min_tx_ring_id
	movl	%eax, %r14d
	movl	(%r15), %esi
	movq	%r13, %rdi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	callq	_wil_find_cid
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movl	%eax, %r15d
	cmpl	(%r13), %eax
	jge	LBB0_8
## %bb.2:
	movq	8(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r14d
	jge	LBB0_8
## %bb.3:
	movslq	%r14d, %rbx
	leaq	(,%rbx,8), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rdi
	movq	(%rdi,%r14), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	addq	$8, %r14
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	cmpl	$0, 8(%rax,%r14,2)
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
	movq	_ETH_P_PAE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	cmpq	%rax, %r12
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rdi
	jmp	LBB0_7
LBB0_8:
	xorl	%r14d, %r14d
LBB0_14:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	16(%r13), %r15
	movq	24(%r13), %r12
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_wil_dbg_txrx
	cmpq	$0, (%r12,%r14)
	je	LBB0_13
## %bb.11:
	cmpq	$0, (%r15,%r14,2)
	je	LBB0_13
## %bb.12:
	movq	%r12, %rax
	addq	%r14, %rax
	movq	%rax, %r14
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wil_dbg_txrx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_PAE,4,2                  ## @ETH_P_PAE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"find_tx_ucast: (%pM) -> [%d]\n"

L_.str.1:                               ## @.str.1
	.asciz	"find_tx_ucast: vring[%d] not valid\n"

	.no_dead_strip	_wil_find_tx_ucast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil_find_tx_ucast
_wil_find_tx_ucast:                     ; @wil_find_tx_ucast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x2
	bl	_wil_skb_get_da
	mov	x20, x0
	mov	x0, x19
	bl	_wil_get_min_tx_ring_id
	mov	x24, x0
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_wil_find_cid
	tbnz	w0, #31, LBB0_12
; %bb.1:
	mov	x23, x0
	ldr	w8, [x19]
	cmp	w0, w8
	b.ge	LBB0_12
; %bb.2:
	ldr	x0, [x19, #8]
	bl	_ARRAY_SIZE
	cmp	w24, w0
	b.ge	LBB0_12
; %bb.3:
	sxtw	x22, w24
	sbfiz	x25, x24, #3, #32
Lloh0:
	adrp	x26, _ETH_P_PAE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ETH_P_PAE@GOTPAGEOFF]
	sbfiz	x24, x24, #4, #32
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #8]
	ldr	x8, [x0, x25]
	ldr	w8, [x8]
	cmp	w8, w23
	b.eq	LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	add	x25, x25, #8
	add	x24, x24, #16
	cmp	x22, w0, sxtw
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x8, x8, x24
	ldr	w8, [x8, #8]
	cbnz	w8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x27, [x21]
	ldr	w0, [x26]
	bl	_cpu_to_be16
	cmp	x27, x0
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #8]
	b	LBB0_5
LBB0_9:
	ldp	x23, x8, [x19, #16]
	add	x21, x8, x25
	mov	x8, x22
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_wil_dbg_txrx
	ldr	x8, [x21]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x8, [x23, x24]
	cbnz	x8, LBB0_13
LBB0_11:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_wil_dbg_txrx
LBB0_12:
	mov	x21, #0
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_PAE,4,2                  ; @ETH_P_PAE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"find_tx_ucast: (%pM) -> [%d]\n"

l_.str.1:                               ; @.str.1
	.asciz	"find_tx_ucast: vring[%d] not valid\n"

	.no_dead_strip	_wil_find_tx_ucast
.subsections_via_symbols
