	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_rx_untie_data
_carl9170_rx_untie_data:                ## @carl9170_rx_untie_data
	.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
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_IS_STARTED
	testl	%eax, %eax
	je	LBB0_29
## %bb.1:
	xorl	%edi, %edi
	cmpl	$4, %r13d
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
LBB0_28:
	incl	4(%rbx)
LBB0_29:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-48(%rbp), %rdi
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leal	-4(%r13), %r12d
	movslq	%r12d, %r15
	movl	(%r14,%r15,4), %ecx
	movq	_AR9170_RX_STATUS_MPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	andl	%ecx, %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_19
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	addl	$-12, %r13d
	leaq	16(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %rax
	leaq	(%r14,%rax,4), %rax
	addq	$16, %rax
	jmp	LBB0_18
LBB0_19:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_BUG
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
	jmp	LBB0_20
LBB0_9:
	movq	_RX_FLAG_AMPDU_IS_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -48(%rbp)
	xorl	%edi, %edi
	cmpl	$4, %r12d
	setae	%dil
	callq	_likely
	testl	%eax, %eax
	je	LBB0_14
## %bb.10:
	addl	$-8, %r13d
	movslq	%r13d, %rax
	leaq	(%r14,%rax,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r12d
LBB0_11:
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testl	%eax, %eax
	je	LBB0_29
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_8
LBB0_4:
	incl	24(%rbx)
	xorl	%edi, %edi
	cmpl	$4, %r12d
	setae	%dil
	callq	_likely
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	8(%rbx), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	addl	$-8, %r13d
	leaq	16(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, (%rbx)
	xorl	%eax, %eax
LBB0_18:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r12d
	jmp	LBB0_21
LBB0_16:
	leaq	8(%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_20:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
LBB0_21:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FCS_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %eax
	addl	$4, %eax
	xorl	%edi, %edi
	cmpl	%eax, %r12d
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_28
## %bb.22:
	leaq	(%r14,%r15,4), %rdx
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_carl9170_rx_mac_status
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_28
## %bb.23:
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_carl9170_ampdu_check
	testl	%eax, %eax
	je	LBB0_28
## %bb.24:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.25:
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_carl9170_rx_phy_status
	jmp	LBB0_27
LBB0_14:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testl	%eax, %eax
	je	LBB0_28
## %bb.15:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testl	%eax, %eax
	je	LBB0_28
## %bb.7:
	leaq	L_.str(%rip), %rsi
LBB0_8:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_wiphy_err
	jmp	LBB0_28
LBB0_26:
	movq	_RX_FLAG_NO_SIGNAL_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -48(%rbp)
LBB0_27:
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_carl9170_handle_mpdu
	testq	%rax, %rax
	jne	LBB0_28
	jmp	LBB0_29
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_AR9170_RX_STATUS_MPDU,4,2      ## @AR9170_RX_STATUS_MPDU
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"plcp info is clipped.\n"

	.comm	_RX_FLAG_AMPDU_IS_LAST,4,2      ## @RX_FLAG_AMPDU_IS_LAST
L_.str.1:                               ## @.str.1
	.asciz	"frame tail is clipped.\n"

L_.str.2:                               ## @.str.2
	.asciz	"rx stream does not start with a first_mpdu frame tag.\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_FCS_LEN,4,2                    ## @FCS_LEN
	.comm	_RX_FLAG_NO_SIGNAL_VAL,4,2      ## @RX_FLAG_NO_SIGNAL_VAL
	.no_dead_strip	_carl9170_rx_untie_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_rx_untie_data
_carl9170_rx_untie_data:                ; @carl9170_rx_untie_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x25, x2
	mov	x20, x1
	mov	x19, x0
	bl	_IS_STARTED
	cbz	w0, LBB0_3
; %bb.1:
	subs	w21, w25, #4
	cset	w0, lo
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x23, x20, w21, sxtw #2
	ldr	w22, [x23]
Lloh0:
	adrp	x8, _AR9170_RX_STATUS_MPDU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR9170_RX_STATUS_MPDU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w22
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.5:
	mov	x24, #0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	sub	w21, w25, #12
	mov	x25, x20
	add	x20, x20, #16
	add	x24, x20, w21, sxtw #2
	b	LBB0_16
LBB0_7:
	bl	_BUG
	mov	x24, #0
                                        ; implicit-def: $x25
	b	LBB0_16
LBB0_8:
Lloh5:
	adrp	x8, _RX_FLAG_AMPDU_IS_LAST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RX_FLAG_AMPDU_IS_LAST@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
	cmp	w21, #3
	cset	w0, hi
	bl	_likely
	cbz	w0, LBB0_21
; %bb.9:
	sub	w21, w25, #8
	add	x24, x20, w21, sxtw #2
LBB0_10:
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_15
; %bb.11:
	bl	_net_ratelimit
	cbz	w0, LBB0_3
; %bb.12:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_25
LBB0_13:
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	cmp	w21, #3
	cset	w0, hi
	bl	_likely
	cbz	w0, LBB0_23
; %bb.14:
	add	x0, x19, #8
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	mov	x24, #0
	sub	w21, w25, #8
	mov	x25, x20
	add	x20, x20, #16
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_16
LBB0_15:
	add	x25, x19, #8
LBB0_16:
Lloh10:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh12:
	adrp	x9, _FCS_LEN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FCS_LEN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	ldr	w9, [x9]
	add	w8, w8, w9
	add	w8, w8, #4
	cmp	w21, w8
	cset	w0, lt
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.17:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x25
	mov	x2, x23
	bl	_carl9170_rx_mac_status
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.18:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_carl9170_ampdu_check
	cbz	w0, LBB0_2
; %bb.19:
	cbz	x24, LBB0_26
; %bb.20:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x24
	bl	_carl9170_rx_phy_status
	b	LBB0_27
LBB0_21:
	bl	_net_ratelimit
	cbz	w0, LBB0_2
; %bb.22:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_25
LBB0_23:
	bl	_net_ratelimit
	cbz	w0, LBB0_2
; %bb.24:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
LBB0_25:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_wiphy_err
	b	LBB0_2
LBB0_26:
Lloh20:
	adrp	x8, _RX_FLAG_NO_SIGNAL_VAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RX_FLAG_NO_SIGNAL_VAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
LBB0_27:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_carl9170_handle_mpdu
	cbnz	x0, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
                                        ; -- End function
	.comm	_AR9170_RX_STATUS_MPDU,4,2      ; @AR9170_RX_STATUS_MPDU
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"plcp info is clipped.\n"

	.comm	_RX_FLAG_AMPDU_IS_LAST,4,2      ; @RX_FLAG_AMPDU_IS_LAST
l_.str.1:                               ; @.str.1
	.asciz	"frame tail is clipped.\n"

l_.str.2:                               ; @.str.2
	.asciz	"rx stream does not start with a first_mpdu frame tag.\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_FCS_LEN,4,2                    ; @FCS_LEN
	.comm	_RX_FLAG_NO_SIGNAL_VAL,4,2      ; @RX_FLAG_NO_SIGNAL_VAL
	.no_dead_strip	_carl9170_rx_untie_data
.subsections_via_symbols
