	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_dmae_opcode              ## -- Begin function bnx2x_dmae_opcode
	.p2align	4, 0x90
_bnx2x_dmae_opcode:                     ## @bnx2x_dmae_opcode
	.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
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movq	_DMAE_COMMAND_SRC_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movq	_DMAE_COMMAND_DST_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movl	%r8d, %r15d
	movq	%rdi, %r12
	orl	%esi, %ebx
	movq	_DMAE_CMD_SRC_RESET@GOTPCREL(%rip), %rax
	movq	_DMAE_CMD_DST_RESET@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	callq	_BP_PORT
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_DMAE_CMD_PORT_0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DMAE_CMD_PORT_1@GOTPCREL(%rip), %rax
LBB0_3:
	orl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_BP_VN
	movl	%eax, %r13d
	movq	_DMAE_CMD_E1HVN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r13d
	movq	%r12, %rdi
	callq	_BP_VN
	movq	_DMAE_COMMAND_DST_VN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_DMAE_COMMAND_ERR_POLICY_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_DMAE_COM_SET_ERR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	shll	%cl, %edi
	orl	%r13d, %eax
	orl	%eax, %edi
	orl	%ebx, %edi
	movq	_DMAE_CMD_ENDIANITY_DW_SWAP@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.5:
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_dmae_opcode_add_comp     ## TAILCALL
LBB0_4:
	movl	%edi, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAE_COMMAND_SRC_SHIFT,4,2     ## @DMAE_COMMAND_SRC_SHIFT
	.comm	_DMAE_COMMAND_DST_SHIFT,4,2     ## @DMAE_COMMAND_DST_SHIFT
	.comm	_DMAE_CMD_SRC_RESET,4,2         ## @DMAE_CMD_SRC_RESET
	.comm	_DMAE_CMD_DST_RESET,4,2         ## @DMAE_CMD_DST_RESET
	.comm	_DMAE_CMD_PORT_1,4,2            ## @DMAE_CMD_PORT_1
	.comm	_DMAE_CMD_PORT_0,4,2            ## @DMAE_CMD_PORT_0
	.comm	_DMAE_CMD_E1HVN_SHIFT,4,2       ## @DMAE_CMD_E1HVN_SHIFT
	.comm	_DMAE_COMMAND_DST_VN_SHIFT,4,2  ## @DMAE_COMMAND_DST_VN_SHIFT
	.comm	_DMAE_COM_SET_ERR,4,2           ## @DMAE_COM_SET_ERR
	.comm	_DMAE_COMMAND_ERR_POLICY_SHIFT,4,2 ## @DMAE_COMMAND_ERR_POLICY_SHIFT
	.comm	_DMAE_CMD_ENDIANITY_DW_SWAP,4,2 ## @DMAE_CMD_ENDIANITY_DW_SWAP
	.comm	_DMAE_CMD_ENDIANITY_B_DW_SWAP,4,2 ## @DMAE_CMD_ENDIANITY_B_DW_SWAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_dmae_opcode              ; -- Begin function bnx2x_dmae_opcode
	.p2align	2
_bnx2x_dmae_opcode:                     ; @bnx2x_dmae_opcode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x4
	mov	x20, x3
	mov	x21, x0
Lloh0:
	adrp	x8, _DMAE_COMMAND_SRC_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAE_COMMAND_SRC_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w22, w1, w8
Lloh3:
	adrp	x8, _DMAE_COMMAND_DST_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMAE_COMMAND_DST_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w23, w2, w8
Lloh6:
	adrp	x8, _DMAE_CMD_SRC_RESET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMAE_CMD_SRC_RESET@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
Lloh9:
	adrp	x8, _DMAE_CMD_DST_RESET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMAE_CMD_DST_RESET@GOTPAGEOFF]
Lloh11:
	ldr	w25, [x8]
	bl	_BP_PORT
Lloh12:
	adrp	x8, _DMAE_CMD_PORT_1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMAE_CMD_PORT_1@GOTPAGEOFF]
Lloh14:
	adrp	x9, _DMAE_CMD_PORT_0@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DMAE_CMD_PORT_0@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w26, [x8]
	mov	x0, x21
	bl	_BP_VN
Lloh16:
	adrp	x8, _DMAE_CMD_E1HVN_SHIFT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DMAE_CMD_E1HVN_SHIFT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	lsl	w27, w0, w8
	mov	x0, x21
	bl	_BP_VN
Lloh19:
	adrp	x8, _DMAE_COMMAND_DST_VN_SHIFT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DMAE_COMMAND_DST_VN_SHIFT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	lsl	w8, w0, w8
Lloh22:
	adrp	x9, _DMAE_COM_SET_ERR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DMAE_COM_SET_ERR@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x10, _DMAE_COMMAND_ERR_POLICY_SHIFT@GOTPAGE
Lloh26:
	ldr	x10, [x10, _DMAE_COMMAND_ERR_POLICY_SHIFT@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh28:
	adrp	x10, _DMAE_CMD_ENDIANITY_DW_SWAP@GOTPAGE
Lloh29:
	ldr	x10, [x10, _DMAE_CMD_ENDIANITY_DW_SWAP@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	orr	w11, w23, w22
	orr	w11, w11, w24
	orr	w11, w11, w25
	orr	w11, w11, w26
	orr	w11, w11, w27
	orr	w8, w11, w8
	orr	w8, w8, w9
	orr	w0, w8, w10
	cbz	w20, LBB0_2
; %bb.1:
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_bnx2x_dmae_opcode_add_comp
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAE_COMMAND_SRC_SHIFT,4,2     ; @DMAE_COMMAND_SRC_SHIFT
	.comm	_DMAE_COMMAND_DST_SHIFT,4,2     ; @DMAE_COMMAND_DST_SHIFT
	.comm	_DMAE_CMD_SRC_RESET,4,2         ; @DMAE_CMD_SRC_RESET
	.comm	_DMAE_CMD_DST_RESET,4,2         ; @DMAE_CMD_DST_RESET
	.comm	_DMAE_CMD_PORT_1,4,2            ; @DMAE_CMD_PORT_1
	.comm	_DMAE_CMD_PORT_0,4,2            ; @DMAE_CMD_PORT_0
	.comm	_DMAE_CMD_E1HVN_SHIFT,4,2       ; @DMAE_CMD_E1HVN_SHIFT
	.comm	_DMAE_COMMAND_DST_VN_SHIFT,4,2  ; @DMAE_COMMAND_DST_VN_SHIFT
	.comm	_DMAE_COM_SET_ERR,4,2           ; @DMAE_COM_SET_ERR
	.comm	_DMAE_COMMAND_ERR_POLICY_SHIFT,4,2 ; @DMAE_COMMAND_ERR_POLICY_SHIFT
	.comm	_DMAE_CMD_ENDIANITY_DW_SWAP,4,2 ; @DMAE_CMD_ENDIANITY_DW_SWAP
	.comm	_DMAE_CMD_ENDIANITY_B_DW_SWAP,4,2 ; @DMAE_CMD_ENDIANITY_B_DW_SWAP
.subsections_via_symbols
