	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_verbs_tx_desc
_build_verbs_tx_desc:                   ## @build_verbs_tx_desc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r15
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %ebx
	cmpq	$0, 24(%rdx)
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	shll	$2, %edi
	addl	$-4, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_hfi1_get_16b_padding
                                        ## kill: def $eax killed $eax def $rax
	movq	_SIZE_OF_CRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx,4), %r12d
	movq	_SIZE_OF_LT@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	jmp	LBB0_3
LBB0_1:
	xorl	%r12d, %r12d
LBB0_3:
	leal	4(,%rbx,4), %r14d
	movl	8(%r13), %r8d
	movl	16(%r13), %esi
	leaq	4(%r15), %rbx
	testl	%r8d, %r8d
	je	LBB0_4
## %bb.6:
	movl	12(%r13), %ecx
	movq	(%r13), %r9
	movq	_verbs_sdma_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	pushq	%rax
	pushq	%r14
	callq	_sdma_txinit_ahg
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_14
LBB0_8:
	cmpq	$0, 8(%r15)
	je	LBB0_12
## %bb.9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r15, %rdx
	callq	_build_verbs_ulp_payload
	testl	%eax, %eax
	jne	LBB0_14
## %bb.10:
	testl	%r12d, %r12d
	jne	LBB0_11
	jmp	LBB0_14
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%r14,%rax), %edx
	addl	%r12d, %edx
	movl	12(%r13), %ecx
	movq	_verbs_sdma_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_sdma_txinit_ahg
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_14
## %bb.5:
	leaq	16(%r15), %r13
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le64
	movl	%eax, (%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_sdma_txadd_kvaddr
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_8
LBB0_12:
	testl	%r12d, %r12d
	je	LBB0_13
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movl	(%rdi), %edx
	movq	%rbx, %rsi
	movl	%r12d, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdma_txadd_daddr               ## TAILCALL
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_OF_CRC,4,2                ## @SIZE_OF_CRC
	.comm	_SIZE_OF_LT,4,2                 ## @SIZE_OF_LT
	.comm	_verbs_sdma_complete,4,2        ## @verbs_sdma_complete
	.no_dead_strip	_build_verbs_tx_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_verbs_tx_desc
_build_verbs_tx_desc:                   ; @build_verbs_tx_desc
	.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	x25, x4
	mov	x26, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x2]
	lsl	w8, w8, #2
	add	w24, w8, #4
	ldr	x9, [x2, #24]
	cbz	x9, LBB0_2
; %bb.1:
	sub	w0, w8, #4
	mov	x1, x21
	bl	_hfi1_get_16b_padding
Lloh0:
	adrp	x8, _SIZE_OF_CRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIZE_OF_CRC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w0, w8, lsl #2
Lloh3:
	adrp	x9, _SIZE_OF_LT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SIZE_OF_LT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w22, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w22, #0
LBB0_3:
	ldr	w4, [x26, #8]
	add	x23, x20, #4
	ldr	w1, [x26, #16]
	cbz	w4, LBB0_8
; %bb.4:
	ldr	w3, [x26, #12]
	ldr	x5, [x26]
Lloh6:
	adrp	x8, _verbs_sdma_complete@GOTPAGE
Lloh7:
	ldr	x8, [x8, _verbs_sdma_complete@GOTPAGEOFF]
Lloh8:
	ldr	w7, [x8]
	mov	x0, x23
	mov	x2, x21
	mov	x6, x24
	bl	_sdma_txinit_ahg
	cbnz	w0, LBB0_13
LBB0_5:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_build_verbs_ulp_payload
	cbnz	w0, LBB0_13
; %bb.7:
	cbnz	w22, LBB0_11
	b	LBB0_13
LBB0_8:
	add	w8, w24, w21
	add	w2, w8, w22
	ldr	w3, [x26, #12]
Lloh9:
	adrp	x8, _verbs_sdma_complete@GOTPAGE
Lloh10:
	ldr	x8, [x8, _verbs_sdma_complete@GOTPAGEOFF]
Lloh11:
	ldr	w7, [x8]
	mov	x0, x23
	mov	x5, #0
	mov	w6, #0
	bl	_sdma_txinit_ahg
	cbnz	w0, LBB0_13
; %bb.9:
	add	x26, x20, #16
	mov	x0, x25
	bl	_cpu_to_le64
	str	w0, [x26]
	ldr	x0, [x19]
	mov	x1, x23
	mov	x2, x26
	mov	x3, x24
	bl	_sdma_txadd_kvaddr
	cbnz	w0, LBB0_13
	b	LBB0_5
LBB0_10:
	cbz	w22, LBB0_12
LBB0_11:
	ldr	x0, [x19]
	ldr	w2, [x0]
	mov	x1, x23
	mov	x3, 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
	b	_sdma_txadd_daddr
LBB0_12:
	mov	w0, #0
LBB0_13:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_OF_CRC,4,2                ; @SIZE_OF_CRC
	.comm	_SIZE_OF_LT,4,2                 ; @SIZE_OF_LT
	.comm	_verbs_sdma_complete,4,2        ; @verbs_sdma_complete
	.no_dead_strip	_build_verbs_tx_desc
.subsections_via_symbols
