	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unexpected_offload
_unexpected_offload:                    ## @unexpected_offload
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	8(%rsi), %rcx
	leaq	(%rcx,%rax,8), %rbx
	movq	(%rcx,%rax,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rdi), %r12d
	movq	_dma_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pci_unmap_addr
	movl	%eax, %r13d
	movq	_dma_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pci_unmap_len
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_pci_dma_sync_single_for_cpu
	movl	(%r14), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	callq	_CH_ERR
	movq	(%r15), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_recycle_fl_buf                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dma_addr,4,2                   ## @dma_addr
	.comm	_dma_len,4,2                    ## @dma_len
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: unexpected offload packet, cmd %u\n"

	.no_dead_strip	_unexpected_offload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unexpected_offload
_unexpected_offload:                    ; @unexpected_offload
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldp	x9, x8, [x1]
	add	x21, x8, x9, lsl #3
	ldr	x24, [x21]
	ldr	w22, [x0, #4]
Lloh0:
	adrp	x8, _dma_addr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dma_addr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_pci_unmap_addr
	mov	x23, x0
Lloh3:
	adrp	x8, _dma_len@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dma_len@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_pci_unmap_len
	mov	x2, x0
Lloh6:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x23
	bl	_pci_dma_sync_single_for_cpu
	ldr	w1, [x20]
	ldr	x8, [x24]
	ldr	w2, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_CH_ERR
	ldr	x1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_recycle_fl_buf
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dma_addr,4,2                   ; @dma_addr
	.comm	_dma_len,4,2                    ; @dma_len
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: unexpected offload packet, cmd %u\n"

	.no_dead_strip	_unexpected_offload
.subsections_via_symbols
