	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_fw_health_readl           ## -- Begin function bnxt_fw_health_readl
	.p2align	4, 0x90
_bnxt_fw_health_readl:                  ## @bnxt_fw_health_readl
	.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	%esi, %r14d
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movslq	%esi, %r13
	movl	(%rax,%r13,4), %r12d
	movl	$0, -44(%rbp)
	movl	%r12d, %edi
	callq	_BNXT_FW_HEALTH_REG_TYPE
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_BNXT_FW_HEALTH_REG_OFF
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax,%r13,4), %eax
LBB0_4:
	addl	(%r15), %eax
	jmp	LBB0_6
LBB0_2:
	movl	8(%r15), %edi
	leaq	-44(%rbp), %rdx
	movl	%eax, %esi
	callq	_pci_read_config_dword
	jmp	LBB0_7
LBB0_5:
	addl	4(%r15), %eax
LBB0_6:
	movl	%eax, %edi
	callq	_readl
	movl	%eax, -44(%rbp)
LBB0_7:
	movq	_BNXT_FW_RESET_INPROG_REG@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_8
## %bb.9:
	movl	-44(%rbp), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	andl	16(%rcx), %eax
	jmp	LBB0_10
LBB0_8:
	movl	-44(%rbp), %eax
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_BNXT_FW_RESET_INPROG_REG,4,2   ## @BNXT_FW_RESET_INPROG_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_fw_health_readl           ; -- Begin function bnxt_fw_health_readl
	.p2align	2
_bnxt_fw_health_readl:                  ; @bnxt_fw_health_readl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #16]
	ldr	x8, [x23]
	ldr	w21, [x8, w1, sxtw #2]
	str	wzr, [sp, #12]
	mov	x0, x21
	bl	_BNXT_FW_HEALTH_REG_TYPE
	mov	x22, x0
	mov	x0, x21
	bl	_BNXT_FW_HEALTH_REG_OFF
	sub	w8, w22, #128
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.1:
	mov	x1, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	sxtw	x8, w19
	ldr	x9, [x23, #8]
	ldr	w1, [x9, x8, lsl #2]
LBB0_3:
	ldr	w8, [x20]
	b	LBB0_6
LBB0_4:
	ldr	w0, [x20, #8]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	b	LBB0_7
LBB0_5:
	ldr	w8, [x20, #4]
LBB0_6:
	add	w0, w8, w1
	bl	_readl
	str	w0, [sp, #12]
LBB0_7:
Lloh2:
	adrp	x8, _BNXT_FW_RESET_INPROG_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BNXT_FW_RESET_INPROG_REG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_9
; %bb.8:
	ldr	w8, [x23, #16]
	ldr	w9, [sp, #12]
	and	w0, w9, w8
	b	LBB0_10
LBB0_9:
	ldr	w0, [sp, #12]
LBB0_10:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_BNXT_FW_RESET_INPROG_REG,4,2   ; @BNXT_FW_RESET_INPROG_REG
.subsections_via_symbols
