	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_write_dmae_phys_len
_bnx2x_write_dmae_phys_len:             ## @bnx2x_write_dmae_phys_len
	.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
	movl	%ecx, %ebx
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_DMAE_LEN32_WR_MAX
	xorl	%r15d, %r15d
	cmpl	%ebx, %eax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jge	LBB0_3
## %bb.1:
	movl	%eax, %r13d
	leal	(,%r13,4), %eax
	movslq	%eax, %r12
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r15), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r13d, %ecx
	callq	_bnx2x_write_dmae
	subl	%r13d, %ebx
	addl	%r12d, %r15d
	addq	%r12, %r14
	cmpl	%r13d, %ebx
	jg	LBB0_2
LBB0_3:
	movslq	%r15d, %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addq	%rdx, %rsi
	addl	-56(%rbp), %edx                 ## 4-byte Folded Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_write_dmae               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bnx2x_write_dmae_phys_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_write_dmae_phys_len
_bnx2x_write_dmae_phys_len:             ; @bnx2x_write_dmae_phys_len
	.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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	bl	_DMAE_LEN32_WR_MAX
	cmp	w0, w19
	b.ge	LBB0_3
; %bb.1:
	mov	x23, x0
	mov	w25, #0
	lsl	w8, w0, #2
	sxtw	x26, w8
	mov	x24, x22
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w2, w20, w25
	mov	x0, x21
	mov	x1, x24
	mov	x3, x23
	bl	_bnx2x_write_dmae
	add	w25, w25, w26
	add	x24, x24, x26
	sub	w19, w19, w23
	cmp	w19, w23
	b.gt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w25, #0
LBB0_4:
	add	x1, x22, w25, sxtw
	add	w2, w25, w20
	mov	x0, x21
	mov	x3, x19
	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	_bnx2x_write_dmae
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bnx2x_write_dmae_phys_len
.subsections_via_symbols
