	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_tn_check_overtemp        ## -- Begin function ixgbe_tn_check_overtemp
	.p2align	4, 0x90
_ixgbe_tn_check_overtemp:               ## @ixgbe_tn_check_overtemp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	movq	(%rdi), %rcx
	movq	_IXGBE_DEV_ID_82599_T3_LOM@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.1:
	movq	_IXGBE_TN_LASI_STATUS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MDIO_MMD_PMAPMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-4(%rbp), %rcx
	callq	*8(%rdi)
	movq	_IXGBE_TN_LASI_STATUS_TEMP_ALARM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-4(%rbp), %eax
	je	LBB0_3
## %bb.2:
	movq	_IXGBE_ERR_OVERTEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_DEV_ID_82599_T3_LOM,8,3  ## @IXGBE_DEV_ID_82599_T3_LOM
	.comm	_IXGBE_TN_LASI_STATUS_REG,4,2   ## @IXGBE_TN_LASI_STATUS_REG
	.comm	_MDIO_MMD_PMAPMD,4,2            ## @MDIO_MMD_PMAPMD
	.comm	_IXGBE_TN_LASI_STATUS_TEMP_ALARM,4,2 ## @IXGBE_TN_LASI_STATUS_TEMP_ALARM
	.comm	_IXGBE_ERR_OVERTEMP,4,2         ## @IXGBE_ERR_OVERTEMP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_tn_check_overtemp        ; -- Begin function ixgbe_tn_check_overtemp
	.p2align	2
_ixgbe_tn_check_overtemp:               ; @ixgbe_tn_check_overtemp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	w8, #0
	stur	wzr, [x29, #-4]
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _IXGBE_DEV_ID_82599_T3_LOM@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IXGBE_DEV_ID_82599_T3_LOM@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _IXGBE_TN_LASI_STATUS_REG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IXGBE_TN_LASI_STATUS_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
Lloh6:
	adrp	x9, _MDIO_MMD_PMAPMD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MDIO_MMD_PMAPMD@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x9]
	sub	x3, x29, #4
	blr	x8
	ldur	w8, [x29, #-4]
Lloh9:
	adrp	x9, _IXGBE_TN_LASI_STATUS_TEMP_ALARM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IXGBE_TN_LASI_STATUS_TEMP_ALARM@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _IXGBE_ERR_OVERTEMP@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IXGBE_ERR_OVERTEMP@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w8, wzr, w10, eq
LBB0_2:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_DEV_ID_82599_T3_LOM,8,3  ; @IXGBE_DEV_ID_82599_T3_LOM
	.comm	_IXGBE_TN_LASI_STATUS_REG,4,2   ; @IXGBE_TN_LASI_STATUS_REG
	.comm	_MDIO_MMD_PMAPMD,4,2            ; @MDIO_MMD_PMAPMD
	.comm	_IXGBE_TN_LASI_STATUS_TEMP_ALARM,4,2 ; @IXGBE_TN_LASI_STATUS_TEMP_ALARM
	.comm	_IXGBE_ERR_OVERTEMP,4,2         ; @IXGBE_ERR_OVERTEMP
.subsections_via_symbols
