	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_next
_send_next:                             ## @send_next
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	40(%rdi), %r14
	movq	%r14, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r15), %esi
	leaq	L_.str(%rip), %rdx
	callq	_PRINT
	xorl	%eax, %eax
	callq	_BUG
LBB0_2:
	movl	44(%r15), %edi
	callq	_driver_packet
	movq	%rax, %rbx
	leaq	24(%rax), %rdi
	movq	%r14, %rsi
	callq	_list_move_tail
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	20(%rbx), %esi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	callq	_pci_map_single
	movq	%rax, 32(%r15)
	movl	(%r15), %edi
	movl	4(%rbx), %edx
	movl	16(%rbx), %esi
	movl	(%r14), %ecx
	callq	_pci_map_single
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trying to queue a new packet in nonempty fifo"

	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_PCL_NEXT_INVALID,8,3           ## @PCL_NEXT_INVALID
	.comm	_PCL_BIGENDIAN,4,2              ## @PCL_BIGENDIAN
	.comm	_PCL_LAST_BUFF,4,2              ## @PCL_LAST_BUFF
	.comm	_PCL_CMD_XMT,4,2                ## @PCL_CMD_XMT
	.comm	_PCL_CMD_UNFXMT,4,2             ## @PCL_CMD_UNFXMT
	.comm	_PCL_ISOMODE,4,2                ## @PCL_ISOMODE
	.no_dead_strip	_send_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_next
_send_next:                             ; @send_next
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	add	x20, x0, #40
	mov	x0, x20
	bl	_list_empty
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_PRINT
	bl	_BUG
LBB0_2:
	ldr	w0, [x19, #44]
	bl	_driver_packet
	mov	x21, x0
	add	x0, x0, #24
	mov	x1, x20
	bl	_list_move_tail
	ldr	w0, [x19]
	ldr	w1, [x21, #20]
	ldr	w2, [x21]
Lloh5:
	adrp	x20, _PCI_DMA_TODEVICE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	ldr	w3, [x20]
	bl	_pci_map_single
	str	x0, [x19, #32]
	ldr	w2, [x21, #4]
	ldr	w0, [x19]
	ldr	w1, [x21, #16]
	ldr	w3, [x20]
	bl	_pci_map_single
	brk	#0x1
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trying to queue a new packet in nonempty fifo"

	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_PCL_NEXT_INVALID,8,3           ; @PCL_NEXT_INVALID
	.comm	_PCL_BIGENDIAN,4,2              ; @PCL_BIGENDIAN
	.comm	_PCL_LAST_BUFF,4,2              ; @PCL_LAST_BUFF
	.comm	_PCL_CMD_XMT,4,2                ; @PCL_CMD_XMT
	.comm	_PCL_CMD_UNFXMT,4,2             ; @PCL_CMD_UNFXMT
	.comm	_PCL_ISOMODE,4,2                ; @PCL_ISOMODE
	.no_dead_strip	_send_next
.subsections_via_symbols
