	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __ath10k_snoc_rx_post_buf
___ath10k_snoc_rx_post_buf:             ## @__ath10k_snoc_rx_post_buf
	.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	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	16(%rdi), %r13
	movq	%r14, %rdi
	callq	_ath10k_ce_priv
	movq	%rax, %r12
	movl	(%rbx), %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rdi
	andl	$3, %edi
	leaq	L_.str(%rip), %rsi
	callq	_WARN_ONCE
	movl	(%r14), %r13d
	movq	(%r15), %rbx
	movq	8(%r15), %r12
	movq	%r15, %rdi
	callq	_skb_tailroom
	addq	%rax, %rbx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_dma_map_single
	movl	%eax, %r13d
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_ath10k_warn
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r15, %rdi
	callq	_ATH10K_SKB_RXCB
	movl	%r13d, (%rax)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	*(%rax)
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.7:
	movl	(%r14), %r14d
	movq	(%r15), %r12
	movq	%r15, %rdi
	callq	_skb_tailroom
	addq	%rax, %r12
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	movl	%r13d, %esi
	movq	%r12, %rdx
	callq	_dma_unmap_single
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unaligned skb"

	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
L_.str.1:                               ## @.str.1
	.asciz	"failed to dma map snoc rx buf\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	___ath10k_snoc_rx_post_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __ath10k_snoc_rx_post_buf
___ath10k_snoc_rx_post_buf:             ; @__ath10k_snoc_rx_post_buf
	.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
	mov	x19, x0
	ldp	x20, x22, [x0, #8]
	mov	x0, x20
	bl	_ath10k_ce_priv
	mov	x21, x0
	ldr	w0, [x19]
	bl	_dev_alloc_skb
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	and	x0, x8, #0x3
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	ldr	w23, [x20]
	ldp	x25, x24, [x19]
	mov	x0, x19
	bl	_skb_tailroom
	add	x2, x0, x25
Lloh2:
	adrp	x25, _DMA_FROM_DEVICE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DMA_FROM_DEVICE@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x0, x23
	mov	x1, x24
	bl	_dma_map_single
	mov	x23, x0
	ldr	w0, [x20]
	mov	x1, x23
	bl	_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.2:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
	mov	x0, x19
	bl	_dev_kfree_skb_any
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_5:
	mov	x0, x22
	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
LBB0_6:
	mov	x0, x19
	bl	_ATH10K_SKB_RXCB
	str	w23, [x0]
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	blr	x8
	mov	x22, x0
	mov	x0, x21
	bl	_spin_unlock_bh
	cbz	w22, LBB0_5
; %bb.7:
	ldr	w20, [x20]
	ldr	x21, [x19]
	mov	x0, x19
	bl	_skb_tailroom
	add	x2, x0, x21
	ldr	w3, [x25]
	mov	x0, x20
	mov	x1, x23
	bl	_dma_unmap_single
	mov	x0, x19
	bl	_dev_kfree_skb_any
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unaligned skb"

	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
l_.str.1:                               ; @.str.1
	.asciz	"failed to dma map snoc rx buf\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	___ath10k_snoc_rx_post_buf
.subsections_via_symbols
