	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_init_rx_context
_bnx2_init_rx_context:                  ## @bnx2_init_rx_context
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_GET_CID_ADDR
	movq	_BNX2_L2CTX_CTX_TYPE_CTX_BD_CHN_TYPE_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_BNX2_L2CTX_CTX_TYPE_SIZE_L2@GOTPCREL(%rip), %rdx
	movq	_FLOW_CTRL_TX@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	(%rbx), %esi
	je	LBB0_2
## %bb.1:
	movq	_BNX2_L2CTX_FLOW_CTRL_ENABLE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_2:
	orl	(%rdx), %ecx
	orl	%esi, %ecx
	orl	$512, %ecx                      ## imm = 0x200
	movq	_BNX2_L2CTX_CTX_TYPE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bnx2_ctx_wr                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2_L2CTX_CTX_TYPE_CTX_BD_CHN_TYPE_VALUE,4,2 ## @BNX2_L2CTX_CTX_TYPE_CTX_BD_CHN_TYPE_VALUE
	.comm	_BNX2_L2CTX_CTX_TYPE_SIZE_L2,4,2 ## @BNX2_L2CTX_CTX_TYPE_SIZE_L2
	.comm	_FLOW_CTRL_TX,4,2               ## @FLOW_CTRL_TX
	.comm	_BNX2_L2CTX_FLOW_CTRL_ENABLE,4,2 ## @BNX2_L2CTX_FLOW_CTRL_ENABLE
	.comm	_BNX2_L2CTX_CTX_TYPE,4,2        ## @BNX2_L2CTX_CTX_TYPE
	.no_dead_strip	_bnx2_init_rx_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_init_rx_context
_bnx2_init_rx_context:                  ; @bnx2_init_rx_context
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	bl	_GET_CID_ADDR
	mov	x1, x0
Lloh0:
	adrp	x8, _BNX2_L2CTX_CTX_TYPE_CTX_BD_CHN_TYPE_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2_L2CTX_CTX_TYPE_CTX_BD_CHN_TYPE_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BNX2_L2CTX_CTX_TYPE_SIZE_L2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNX2_L2CTX_CTX_TYPE_SIZE_L2@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w10, [x19]
Lloh6:
	adrp	x11, _FLOW_CTRL_TX@GOTPAGE
Lloh7:
	ldr	x11, [x11, _FLOW_CTRL_TX@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _BNX2_L2CTX_FLOW_CTRL_ENABLE@GOTPAGE
Lloh10:
	ldr	x12, [x12, _BNX2_L2CTX_FLOW_CTRL_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	tst	w11, w10
	csel	w10, wzr, w12, eq
	orr	w8, w8, w9
	orr	w8, w8, w10
Lloh12:
	adrp	x9, _BNX2_L2CTX_CTX_TYPE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BNX2_L2CTX_CTX_TYPE@GOTPAGEOFF]
	orr	w3, w8, #0x200
Lloh14:
	ldr	w2, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2_ctx_wr
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_BNX2_L2CTX_CTX_TYPE_CTX_BD_CHN_TYPE_VALUE,4,2 ; @BNX2_L2CTX_CTX_TYPE_CTX_BD_CHN_TYPE_VALUE
	.comm	_BNX2_L2CTX_CTX_TYPE_SIZE_L2,4,2 ; @BNX2_L2CTX_CTX_TYPE_SIZE_L2
	.comm	_FLOW_CTRL_TX,4,2               ; @FLOW_CTRL_TX
	.comm	_BNX2_L2CTX_FLOW_CTRL_ENABLE,4,2 ; @BNX2_L2CTX_FLOW_CTRL_ENABLE
	.comm	_BNX2_L2CTX_CTX_TYPE,4,2        ; @BNX2_L2CTX_CTX_TYPE
	.no_dead_strip	_bnx2_init_rx_context
.subsections_via_symbols
