	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa_xmit
_dpaa_xmit:                             ## @dpaa_xmit
	.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	%rcx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	movslq	%edx, %rax
	movq	(%rcx,%rax,8), %r12
	movq	(%r15), %rcx
	movq	_FSL_DPAA_BPID_INV@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_qman_fq_fqid
	movl	%eax, %edi
	callq	_cpu_to_be32
	orl	%eax, 8(%r15)
LBB0_2:
	movl	(%rbx), %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_trace_dpaa_tx_fd
	movq	_DPAA_ENQUEUE_RETRIES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.4:
	xorl	%r14d, %r14d
	movq	_EBUSY@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_qman_enqueue
	movl	%eax, %ebx
	addl	(%r13), %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%r14d
	movq	_DPAA_ENQUEUE_RETRIES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jl	LBB0_6
	jmp	LBB0_7
LBB0_3:
                                        ## implicit-def: $ebx
LBB0_7:
	movl	%ebx, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	8(%rax)
	jmp	LBB0_10
LBB0_9:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	incl	4(%rbx)
	movq	%r15, %rdi
	callq	_qm_fd_get_length
	addl	%eax, (%rbx)
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_DPAA_BPID_INV,8,3          ## @FSL_DPAA_BPID_INV
	.comm	_DPAA_ENQUEUE_RETRIES,4,2       ## @DPAA_ENQUEUE_RETRIES
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_dpaa_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa_xmit
_dpaa_xmit:                             ; @dpaa_xmit
	.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	x20, x3
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x1
	mov	x22, x0
	ldr	x8, [x0, #16]
	ldr	x21, [x8, w2, sxtw #3]
	ldr	x8, [x3]
Lloh0:
	adrp	x9, _FSL_DPAA_BPID_INV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FSL_DPAA_BPID_INV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	sxtw	x8, w2
	ldr	x9, [x22, #8]
	ldr	w0, [x9, x8, lsl #2]
	bl	_qman_fq_fqid
	bl	_cpu_to_be32
	ldr	w8, [x20, #8]
	orr	w8, w8, w0
	str	w8, [x20, #8]
LBB0_2:
	ldr	w0, [x22]
	mov	x1, x21
	mov	x2, x20
	bl	_trace_dpaa_tx_fd
Lloh3:
	adrp	x23, _DPAA_ENQUEUE_RETRIES@GOTPAGE
Lloh4:
	ldr	x23, [x23, _DPAA_ENQUEUE_RETRIES@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w24, #0
Lloh5:
	adrp	x25, _EBUSY@GOTPAGE
Lloh6:
	ldr	x25, [x25, _EBUSY@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_qman_enqueue
	mov	x22, x0
	ldr	w8, [x25]
	cmn	w0, w8
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #1
	ldr	w8, [x23]
	cmp	w24, w8
	b.lt	LBB0_4
	b	LBB0_7
LBB0_6:
                                        ; implicit-def: $w22
LBB0_7:
	lsr	w0, w22, #31
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_10
LBB0_9:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x20
	bl	_qm_fd_get_length
	mov	w22, #0
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_DPAA_BPID_INV,8,3          ; @FSL_DPAA_BPID_INV
	.comm	_DPAA_ENQUEUE_RETRIES,4,2       ; @DPAA_ENQUEUE_RETRIES
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_dpaa_xmit
.subsections_via_symbols
