	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_rx_handle_amsdu_mon_64
_ath10k_htt_rx_handle_amsdu_mon_64:     ## @ath10k_htt_rx_handle_amsdu_mon_64
	.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, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r15
	movl	(%r15), %edi
	callq	___le16_to_cpu
	movl	%eax, %r12d
	movq	16(%r14), %rsi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_trace_ath10k_htt_rx_desc
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_skb_put
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_skb_pull
	movq	_HTT_RX_MSDU_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_min
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_skb_put
	movl	8(%r14), %eax
	movl	%r12d, %r13d
	subl	%eax, %r13d
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	cmpl	%eax, %r12d
	je	LBB0_16
## %bb.2:
	movl	(%r15), %edi
	callq	___le16_to_cpu
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
	jmp	LBB0_16
LBB0_3:
	movl	40(%r15), %edi
	callq	___le64_to_cpu
	movl	%eax, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ath10k_htt_rx_pop_paddr
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r12
	movq	_HTT_RX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_min
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_skb_put
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_ath10k_htt_append_frag_list
	subl	8(%r12), %r13d
	cmpq	$0, 32(%r15)
	je	LBB0_8
## %bb.7:
	addq	$24, %r15
	jmp	LBB0_13
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_ath10k_warn
	jmp	LBB0_5
LBB0_8:
	addq	$64, %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %r14
	movl	(%r15), %edi
	callq	___le64_to_cpu
	movl	%eax, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ath10k_htt_rx_pop_paddr
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	movq	_HTT_RX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_min
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_put
	subl	8(%rbx), %r13d
	leaq	24(%r15), %rax
	cmpq	$0, -8(%r15)
	movq	%rbx, (%r14)
	movq	%rax, %r15
	movq	%rbx, %r12
	je	LBB0_9
## %bb.12:
	addq	$-40, %rax
	movq	%rbx, %r12
	movq	%rax, %r15
LBB0_13:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	testl	%r13d, %r13d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_15
## %bb.14:
	movl	(%r15), %edi
	callq	___le16_to_cpu
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_15:
	movq	%r15, (%rbx)
	movq	$0, (%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
	movq	$0, (%r14)
LBB0_5:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HTT_RX_MSDU_SIZE,4,2           ## @HTT_RX_MSDU_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid amsdu len %u, left %d"

L_.str.1:                               ## @.str.1
	.asciz	"failed to pop frag-1 paddr: 0x%llx"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_HTT_RX_BUF_SIZE,4,2            ## @HTT_RX_BUF_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"failed to pop frag-n paddr: 0x%llx"

	.no_dead_strip	_ath10k_htt_rx_handle_amsdu_mon_64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_htt_rx_handle_amsdu_mon_64
_ath10k_htt_rx_handle_amsdu_mon_64:     ; @ath10k_htt_rx_handle_amsdu_mon_64
	.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	x20, x2
	mov	x23, x1
	mov	x21, x0
	ldr	x19, [x0]
	ldr	x26, [x2]
	ldr	w0, [x26]
	bl	___le16_to_cpu
	mov	x22, x0
	ldr	x1, [x23, #16]
	mov	x0, x19
	mov	w2, #4
	bl	_trace_ath10k_htt_rx_desc
	mov	x0, x23
	mov	w1, #4
	bl	_skb_put
	mov	x0, x23
	mov	w1, #4
	bl	_skb_pull
Lloh0:
	adrp	x8, _HTT_RX_MSDU_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HTT_RX_MSDU_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_min
	mov	x1, x0
	mov	x0, x23
	bl	_skb_put
	ldr	w8, [x23, #8]
	sub	w24, w22, w8
	ldr	x9, [x26, #8]
	cbz	x9, LBB0_3
; %bb.1:
	cmp	w22, w8
	b.ne	LBB0_8
; %bb.2:
	mov	w0, #0
	b	LBB0_16
LBB0_3:
	ldr	w0, [x26, #40]
	bl	___le64_to_cpu
	mov	x25, x0
	mov	x0, x21
	mov	x1, x25
	bl	_ath10k_htt_rx_pop_paddr
	cbz	x0, LBB0_9
; %bb.4:
	mov	x22, x0
Lloh3:
	adrp	x27, _HTT_RX_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x27, [x27, _HTT_RX_BUF_SIZE@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x24
	bl	_min
	mov	x1, x0
	mov	x0, x22
	bl	_skb_put
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_ath10k_htt_append_frag_list
	ldr	w8, [x22, #8]
	sub	w23, w24, w8
	ldr	x8, [x26, #32]
	cbz	x8, LBB0_10
; %bb.5:
	add	x21, x26, #24
	cbz	w23, LBB0_7
LBB0_6:
	ldr	w0, [x21]
	bl	___le16_to_cpu
	mov	x2, x0
	str	x23, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
LBB0_7:
	mov	w0, #0
	str	x21, [x20]
	str	xzr, [x22]
	b	LBB0_16
LBB0_8:
	ldr	w0, [x26]
	bl	___le16_to_cpu
	mov	x2, x0
	str	x24, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
	mov	w0, #0
	b	LBB0_16
LBB0_9:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x25
	bl	_ath10k_warn
	b	LBB0_15
LBB0_10:
	add	x26, x26, #64
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x26]
	bl	___le64_to_cpu
	mov	x25, x0
	mov	x0, x21
	mov	x1, x25
	bl	_ath10k_htt_rx_pop_paddr
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x24, x0
	ldr	w1, [x27]
	mov	x0, x23
	bl	_min
	mov	x1, x0
	mov	x0, x24
	bl	_skb_put
	ldur	x8, [x26, #-8]
	ldr	w9, [x24, #8]
	sub	w23, w23, w9
	str	x24, [x22]
	add	x26, x26, #24
	mov	x22, x24
	cbz	x8, LBB0_11
; %bb.13:
	sub	x21, x26, #40
	mov	x22, x24
	cbnz	w23, LBB0_6
	b	LBB0_7
LBB0_14:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x25
	bl	_ath10k_warn
	str	xzr, [x22]
LBB0_15:
Lloh13:
	adrp	x8, _ENOENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_HTT_RX_MSDU_SIZE,4,2           ; @HTT_RX_MSDU_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid amsdu len %u, left %d"

l_.str.1:                               ; @.str.1
	.asciz	"failed to pop frag-1 paddr: 0x%llx"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_HTT_RX_BUF_SIZE,4,2            ; @HTT_RX_BUF_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"failed to pop frag-n paddr: 0x%llx"

	.no_dead_strip	_ath10k_htt_rx_handle_amsdu_mon_64
.subsections_via_symbols
