	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil_rx_get_cid_by_skb
_wil_rx_get_cid_by_skb:                 ## @wil_rx_get_cid_by_skb
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_wil_skb_rxdesc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_wil_rxdesc_mid
	movq	16(%r14), %rcx
	cltq
	movq	(%rcx,%rax,8), %r15
	movq	%rbx, %rdi
	callq	_wil_rxdesc_cid
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_wil_rx_snaplen
	movl	%eax, %r12d
	movq	(%r15), %rax
	movq	_NL80211_IFTYPE_MONITOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_23
LBB0_2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_wil_rxdesc_ftype
	movl	%eax, %r15d
	shll	$2, %r15d
	movq	_IEEE80211_FTYPE_DATA@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r15d
	sete	%dil
	callq	_likely
	movq	(%r13), %rcx
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	%r12d, %edx
	addq	(%rax), %rdx
	xorl	%edi, %edi
	cmpq	%rdx, %rcx
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%r13), %rdx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_7:
	xorl	%edi, %edi
	cmpq	$8, %rcx
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r13), %rdx
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	xorl	%r14d, %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_wil_err_ratelimited
LBB0_22:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_23
LBB0_6:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_wil_skb_get_sa
	jmp	LBB0_10
LBB0_9:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rax
	movq	(%rax), %rax
LBB0_10:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %eax
	movq	_WIL6210_RX_DESC_MAX_CID@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jle	LBB0_23
## %bb.11:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	movq	_NL80211_IFTYPE_P2P_GO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_13
## %bb.12:
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_23
LBB0_13:
	cmpl	%eax, %r14d
	jge	LBB0_20
## %bb.14:
	movq	_wil_sta_unused@GOTPCREL(%rip), %r12
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	addl	%ecx, %r14d
	cmpl	%eax, %r14d
	jge	LBB0_20
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdx
	movslq	%r14d, %rsi
	shlq	$4, %rsi
	movq	(%rdx,%rsi), %rdi
	cmpq	(%r12), %rdi
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	8(%rdx,%rsi), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_ether_addr_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	(%rbx), %ecx
	movl	(%r13), %eax
	jmp	LBB0_19
LBB0_17:
	movl	(%r13), %eax
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
LBB0_20:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%eax, %r14d
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jge	LBB0_21
LBB0_23:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	(%rcx), %rcx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r9
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_wil_err_ratelimited
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_MONITOR,8,3     ## @NL80211_IFTYPE_MONITOR
	.comm	_IEEE80211_FTYPE_DATA,4,2       ## @IEEE80211_FTYPE_DATA
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Short data frame, len = %d\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"Short frame, len = %d\n"

	.comm	_WIL6210_RX_DESC_MAX_CID,4,2    ## @WIL6210_RX_DESC_MAX_CID
	.comm	_NL80211_IFTYPE_P2P_GO,8,3      ## @NL80211_IFTYPE_P2P_GO
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_wil_sta_unused,8,3             ## @wil_sta_unused
L_.str.2:                               ## @.str.2
	.asciz	"Could not find cid for frame with transmit addr = %pM, iftype = %d, frametype = %d, len = %d\n"

	.no_dead_strip	_wil_rx_get_cid_by_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil_rx_get_cid_by_skb
_wil_rx_get_cid_by_skb:                 ; @wil_rx_get_cid_by_skb
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_wil_skb_rxdesc
	mov	x23, x0
	bl	_wil_rxdesc_mid
	ldr	x8, [x19, #16]
	ldr	x24, [x8, w0, sxtw #3]
	mov	x0, x23
	bl	_wil_rxdesc_cid
	mov	x21, x0
	bl	_wil_rx_snaplen
	ldr	x8, [x24]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_MONITOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_MONITOR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.1:
	mov	x22, x0
	mov	x0, x23
	bl	_wil_rxdesc_ftype
	lsl	w23, w0, #2
Lloh3:
	adrp	x8, _IEEE80211_FTYPE_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_FTYPE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w23, w8
	cset	w0, eq
	bl	_likely
	ldr	x8, [x20]
	cbz	x0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x9, x9, w22, uxtw
	cmp	x8, x9
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	cmp	x8, #8
	cset	w0, lo
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_wil_err_ratelimited
Lloh13:
	adrp	x8, _ENOENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_20
LBB0_7:
	mov	x0, x20
	bl	_wil_skb_get_sa
	mov	x22, x0
	b	LBB0_9
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	x22, [x8]
LBB0_9:
	ldr	w8, [x19]
Lloh16:
	adrp	x25, _WIL6210_RX_DESC_MAX_CID@GOTPAGE
Lloh17:
	ldr	x25, [x25, _WIL6210_RX_DESC_MAX_CID@GOTPAGEOFF]
	ldr	w9, [x25]
	cmp	w8, w9
	b.le	LBB0_20
; %bb.10:
	ldr	x10, [x24]
Lloh18:
	adrp	x11, _NL80211_IFTYPE_P2P_GO@GOTPAGE
Lloh19:
	ldr	x11, [x11, _NL80211_IFTYPE_P2P_GO@GOTPAGEOFF]
Lloh20:
	ldr	x11, [x11]
Lloh21:
	adrp	x12, _NL80211_IFTYPE_AP@GOTPAGE
Lloh22:
	ldr	x12, [x12, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh23:
	ldr	x12, [x12]
	cmp	x10, x11
	ccmp	x10, x12, #4, ne
	b.ne	LBB0_20
; %bb.11:
	cmp	w21, w8
	b.ge	LBB0_17
; %bb.12:
Lloh24:
	adrp	x27, _wil_sta_unused@GOTPAGE
Lloh25:
	ldr	x27, [x27, _wil_sta_unused@GOTPAGEOFF]
	mov	x26, x21
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w26, w9, w26
	cmp	w26, w8
	b.ge	LBB0_19
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19, #8]
	sbfiz	x11, x26, #4, #32
	ldr	x11, [x10, x11]
	ldr	x12, [x27]
	cmp	x11, x12
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	sxtw	x8, w26
	add	x8, x10, x8, lsl #4
	ldr	w0, [x8, #8]
	mov	x1, x22
	bl	_ether_addr_equal
	cbnz	x0, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x25]
	ldr	w8, [x19]
	b	LBB0_13
LBB0_17:
	mov	x26, x21
	b	LBB0_19
LBB0_18:
	ldr	w8, [x19]
	mov	x21, x26
LBB0_19:
	cmp	w26, w8
	b.ge	LBB0_21
LBB0_20:
	mov	x0, x21
	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
LBB0_21:
	ldr	x8, [x24]
	ldr	x9, [x20]
	stp	x23, x9, [sp, #16]
	stp	x22, x8, [sp]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_MONITOR,8,3     ; @NL80211_IFTYPE_MONITOR
	.comm	_IEEE80211_FTYPE_DATA,4,2       ; @IEEE80211_FTYPE_DATA
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Short data frame, len = %d\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"Short frame, len = %d\n"

	.comm	_WIL6210_RX_DESC_MAX_CID,4,2    ; @WIL6210_RX_DESC_MAX_CID
	.comm	_NL80211_IFTYPE_P2P_GO,8,3      ; @NL80211_IFTYPE_P2P_GO
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_wil_sta_unused,8,3             ; @wil_sta_unused
l_.str.2:                               ; @.str.2
	.asciz	"Could not find cid for frame with transmit addr = %pM, iftype = %d, frametype = %d, len = %d\n"

	.no_dead_strip	_wil_rx_get_cid_by_skb
.subsections_via_symbols
