	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_sdio_mbox_rx_process_packet
_ath10k_sdio_mbox_rx_process_packet:    ## @ath10k_sdio_mbox_rx_process_packet
	.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	8(%rsi), %rbx
	movq	8(%rbx), %r12
	movq	_ATH10K_HTC_FLAG_TRAILER_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_5
## %bb.1:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movslq	(%rbx), %r15
	addq	%r12, %r15
	subq	8(%r12), %r15
	movq	%rdi, %r14
	movl	16(%r12), %edi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	callq	_pipe_id_to_eid
	movq	8(%r12), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %ecx
	movq	%r13, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_ath10k_htc_process_trailer
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_is_trailer_only_msg
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, (%r14)
LBB0_4:
	movslq	(%rbx), %rsi
	subq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_skb_trim
LBB0_5:
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_skb_pull
	xorl	%eax, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_HTC_FLAG_TRAILER_PRESENT,4,2 ## @ATH10K_HTC_FLAG_TRAILER_PRESENT
	.no_dead_strip	_ath10k_sdio_mbox_rx_process_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_sdio_mbox_rx_process_packet
_ath10k_sdio_mbox_rx_process_packet:    ; @ath10k_sdio_mbox_rx_process_packet
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x19, [x1, #8]
	ldr	x25, [x19, #8]
	ldr	w8, [x25]
Lloh0:
	adrp	x9, _ATH10K_HTC_FLAG_TRAILER_PRESENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATH10K_HTC_FLAG_TRAILER_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	ldrsw	x8, [x19]
	ldr	x9, [x25, #8]
	add	x8, x25, x8
	sub	x24, x8, x9
	ldr	w0, [x25, #16]
	bl	_pipe_id_to_eid
	mov	x3, x0
	ldr	x2, [x25, #8]
	mov	x0, x23
	mov	x1, x24
	mov	x4, x22
	mov	x5, x21
	bl	_ath10k_htc_process_trailer
	cbnz	w0, LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_is_trailer_only_msg
	cbz	x0, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x20]
LBB0_4:
	ldrsw	x8, [x19]
	ldr	x9, [x25, #8]
	sub	x1, x8, x9
	mov	x0, x19
	bl	_skb_trim
LBB0_5:
	mov	x0, x19
	mov	w1, #24
	bl	_skb_pull
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_HTC_FLAG_TRAILER_PRESENT,4,2 ; @ATH10K_HTC_FLAG_TRAILER_PRESENT
	.no_dead_strip	_ath10k_sdio_mbox_rx_process_packet
.subsections_via_symbols
