	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_rearm_latch_signal
_bnx2x_rearm_latch_signal:              ## @bnx2x_rearm_latch_signal
	.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	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_NIG_REG_LATCH_STATUS_0@GOTPCREL(%rip), %rcx
	leal	(,%rbx,8), %eax
	movslq	%eax, %r15
	movq	(%rcx), %rsi
	addq	%r15, %rsi
	callq	_REG_RD
	movl	%eax, %r13d
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	callq	_DP
	movq	_NIG_REG_STATUS_INTERRUPT_PORT0@GOTPCREL(%rip), %rax
	shll	$2, %ebx
	movslq	%ebx, %rsi
	addq	(%rax), %rsi
	movq	_NIG_STATUS_EMAC0_MI_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	callq	_bnx2x_bits_en
	testb	$1, %r13b
	jne	LBB0_5
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	_bnx2x_bits_dis
	testb	$1, %r13b
	je	LBB0_4
LBB0_5:
	movq	_NIG_REG_LATCH_STATUS_0@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	orl	$1, %r13d
	movzwl	%r13w, %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_WR                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NIG_REG_LATCH_STATUS_0,8,3     ## @NIG_REG_LATCH_STATUS_0
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"latch_status = 0x%x\n"

	.comm	_NIG_REG_STATUS_INTERRUPT_PORT0,8,3 ## @NIG_REG_STATUS_INTERRUPT_PORT0
	.comm	_NIG_STATUS_EMAC0_MI_INT,4,2    ## @NIG_STATUS_EMAC0_MI_INT
	.no_dead_strip	_bnx2x_rearm_latch_signal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_rearm_latch_signal
_bnx2x_rearm_latch_signal:              ; @bnx2x_rearm_latch_signal
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _NIG_REG_LATCH_STATUS_0@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NIG_REG_LATCH_STATUS_0@GOTPAGEOFF]
	ldr	x8, [x23]
	lsl	w9, w1, #3
	sxtw	x24, w9
	add	x1, x8, x24
	bl	_REG_RD
	mov	x20, x0
Lloh2:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DP
Lloh7:
	adrp	x8, _NIG_REG_STATUS_INTERRUPT_PORT0@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NIG_REG_STATUS_INTERRUPT_PORT0@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	lsl	w9, w22, #2
	add	x1, x8, w9, sxtw
Lloh10:
	adrp	x8, _NIG_STATUS_EMAC0_MI_INT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NIG_STATUS_EMAC0_MI_INT@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	cbz	w21, LBB0_3
; %bb.1:
	bl	_bnx2x_bits_en
	tbnz	w20, #0, LBB0_4
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	bl	_bnx2x_bits_dis
	tbz	w20, #0, LBB0_2
LBB0_4:
	ldr	x8, [x23]
	add	x1, x8, x24
	and	w8, w20, #0xfffe
	orr	w2, w8, #0x1
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_REG_WR
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NIG_REG_LATCH_STATUS_0,8,3     ; @NIG_REG_LATCH_STATUS_0
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"latch_status = 0x%x\n"

	.comm	_NIG_REG_STATUS_INTERRUPT_PORT0,8,3 ; @NIG_REG_STATUS_INTERRUPT_PORT0
	.comm	_NIG_STATUS_EMAC0_MI_INT,4,2    ; @NIG_STATUS_EMAC0_MI_INT
	.no_dead_strip	_bnx2x_rearm_latch_signal
.subsections_via_symbols
