	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_prep_dmae_with_comp      ## -- Begin function bnx2x_prep_dmae_with_comp
	.p2align	4, 0x90
_bnx2x_prep_dmae_with_comp:             ## @bnx2x_prep_dmae_with_comp
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_DMAE_COMP_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	$1, %ecx
	callq	_bnx2x_dmae_opcode
	movl	%eax, 12(%rbx)
	movq	_wb_comp@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_bnx2x_sp_mapping
	movl	%eax, %edi
	callq	_U64_LO
	movl	%eax, 8(%rbx)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_bnx2x_sp_mapping
	movl	%eax, %edi
	callq	_U64_HI
	movl	%eax, 4(%rbx)
	movq	_DMAE_COMP_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAE_COMP_PCI,4,2              ## @DMAE_COMP_PCI
	.comm	_wb_comp,4,2                    ## @wb_comp
	.comm	_DMAE_COMP_VAL,4,2              ## @DMAE_COMP_VAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_prep_dmae_with_comp      ; -- Begin function bnx2x_prep_dmae_with_comp
	.p2align	2
_bnx2x_prep_dmae_with_comp:             ; @bnx2x_prep_dmae_with_comp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _DMAE_COMP_PCI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAE_COMP_PCI@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	w3, #1
	bl	_bnx2x_dmae_opcode
	str	w0, [x21, #12]
Lloh3:
	adrp	x19, _wb_comp@GOTPAGE
Lloh4:
	ldr	x19, [x19, _wb_comp@GOTPAGEOFF]
	ldr	w1, [x19]
	mov	x0, x22
	bl	_bnx2x_sp_mapping
	bl	_U64_LO
	str	w0, [x21, #8]
	ldr	w1, [x19]
	mov	x0, x22
	bl	_bnx2x_sp_mapping
	bl	_U64_HI
Lloh5:
	adrp	x8, _DMAE_COMP_VAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DMAE_COMP_VAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w8, w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAE_COMP_PCI,4,2              ; @DMAE_COMP_PCI
	.comm	_wb_comp,4,2                    ; @wb_comp
	.comm	_DMAE_COMP_VAL,4,2              ; @DMAE_COMP_VAL
.subsections_via_symbols
