	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntb_transport_rx_enqueue       ## -- Begin function ntb_transport_rx_enqueue
	.p2align	4, 0x90
_ntb_transport_rx_enqueue:              ## @ntb_transport_rx_enqueue
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	20(%rdi), %r14
	leaq	24(%rdi), %rsi
	movq	%r14, %rdi
	callq	_ntb_list_rm
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r13, 48(%rax)
	movq	%r12, 40(%rax)
	movl	%r15d, (%rax)
	movq	%rax, %rsi
	addq	$4, %rsi
	leaq	16(%rbx), %rdx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movups	%xmm0, 24(%rax)
	movq	%r14, %rdi
	callq	_ntb_list_add
	xorl	%r14d, %r14d
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_tasklet_schedule
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntb_transport_rx_enqueue       ; -- Begin function ntb_transport_rx_enqueue
	.p2align	2
_ntb_transport_rx_enqueue:              ; @ntb_transport_rx_enqueue
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	add	x21, x0, #20
	add	x1, x0, #24
	mov	x0, x21
	bl	_ntb_list_rm
	cbz	x0, LBB0_6
; %bb.2:
	stp	x22, x23, [x0, #40]
	str	w20, [x0]
	add	x1, x0, #4
	add	x2, x19, #16
	movi.2d	v0, #0000000000000000
	stur	q0, [x0, #8]
	stur	q0, [x0, #24]
	mov	x0, x21
	bl	_ntb_list_add
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_tasklet_schedule
LBB0_4:
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
