	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function qed_ooo_submit_tx_buffers
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_qed_ooo_submit_tx_buffers:             ## @qed_ooo_submit_tx_buffers
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	-104(%rbp), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	%r13, -80(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -88(%rbp)
	movq	%rbx, -96(%rbp)
	movl	4(%r14), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_qed_ll2_prepare_tx_packet
	testl	%eax, %eax
	jne	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r12, %rdi
	callq	_qed_ooo_get_ready_buffer
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	8(%rax), %r13
	addq	16(%rax), %r13
	movq	_CORE_TX_BD_DATA_FORCE_VLAN_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_SET_FIELD
	movq	_CORE_TX_BD_DATA_L4_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_SET_FIELD
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movl	$1, -104(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -48(%rbp)
	leaq	-64(%rbp), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movl	(%r14), %ecx
	movq	_QED_LL2_TX_DEST_DROP@GOTPCREL(%rip), %rax
	cmpl	$129, %ecx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_QED_LL2_TX_DEST_LB@GOTPCREL(%rip), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$128, %ecx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_QED_LL2_TX_DEST_NW@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movl	(%r12), %esi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_qed_ooo_put_ready_buffer
LBB0_8:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CORE_TX_BD_DATA_FORCE_VLAN_MODE,4,2 ## @CORE_TX_BD_DATA_FORCE_VLAN_MODE
	.comm	_CORE_TX_BD_DATA_L4_PROTOCOL,4,2 ## @CORE_TX_BD_DATA_L4_PROTOCOL
	.comm	_QED_LL2_TX_DEST_NW,4,2         ## @QED_LL2_TX_DEST_NW
	.comm	_QED_LL2_TX_DEST_LB,4,2         ## @QED_LL2_TX_DEST_LB
	.comm	_QED_LL2_TX_DEST_DROP,4,2       ## @QED_LL2_TX_DEST_DROP
	.no_dead_strip	_qed_ooo_submit_tx_buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_ooo_submit_tx_buffers
_qed_ooo_submit_tx_buffers:             ; @qed_ooo_submit_tx_buffers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	mov	x8, sp
	add	x22, x8, #40
	mov	w24, #1
Lloh0:
	adrp	x25, _CORE_TX_BD_DATA_L4_PROTOCOL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _CORE_TX_BD_DATA_L4_PROTOCOL@GOTPAGEOFF]
Lloh2:
	adrp	x26, _QED_LL2_TX_DEST_NW@GOTPAGE
Lloh3:
	ldr	x26, [x26, _QED_LL2_TX_DEST_NW@GOTPAGEOFF]
Lloh4:
	adrp	x27, _QED_LL2_TX_DEST_LB@GOTPAGE
Lloh5:
	ldr	x27, [x27, _QED_LL2_TX_DEST_LB@GOTPAGEOFF]
Lloh6:
	adrp	x28, _QED_LL2_TX_DEST_DROP@GOTPAGE
Lloh7:
	ldr	x28, [x28, _QED_LL2_TX_DEST_DROP@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	mov	x0, x19
	bl	_qed_ooo_get_ready_buffer
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x0
	ldp	x9, x8, [x0, #8]
	add	x23, x9, x8
Lloh8:
	adrp	x8, _CORE_TX_BD_DATA_FORCE_VLAN_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CORE_TX_BD_DATA_FORCE_VLAN_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, #0
	mov	w2, #1
	bl	_SET_FIELD
	ldr	w1, [x25]
	mov	x0, #0
	mov	w2, #1
	bl	_SET_FIELD
	mov	x0, sp
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	ldr	w8, [x21, #4]
	str	w24, [sp]
	str	w8, [sp, #56]
	ldp	w8, w1, [x20]
	cmp	w8, #129
	csel	x9, x27, x28, eq
	cmp	w8, #128
	stp	xzr, xzr, [x22]
	csel	x8, x26, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #32]
	str	x23, [sp, #24]
	ldr	w8, [x21]
	str	w8, [sp, #16]
	str	x21, [sp, #8]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #1
	bl	_qed_ll2_prepare_tx_packet
	cbz	w0, LBB0_1
; %bb.3:
	ldr	w1, [x19]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #0
	bl	_qed_ooo_put_ready_buffer
LBB0_4:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CORE_TX_BD_DATA_FORCE_VLAN_MODE,4,2 ; @CORE_TX_BD_DATA_FORCE_VLAN_MODE
	.comm	_CORE_TX_BD_DATA_L4_PROTOCOL,4,2 ; @CORE_TX_BD_DATA_L4_PROTOCOL
	.comm	_QED_LL2_TX_DEST_NW,4,2         ; @QED_LL2_TX_DEST_NW
	.comm	_QED_LL2_TX_DEST_LB,4,2         ; @QED_LL2_TX_DEST_LB
	.comm	_QED_LL2_TX_DEST_DROP,4,2       ; @QED_LL2_TX_DEST_DROP
	.no_dead_strip	_qed_ooo_submit_tx_buffers
.subsections_via_symbols
