	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_handle_link_event
_i40e_handle_link_event:                ## @i40e_handle_link_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_i40e_link_event
	movq	(%rbx), %rax
	movq	_I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
LBB0_7:
	movq	8(%r14), %rdi
	callq	_dev_err
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_2:
	movl	8(%rbx), %eax
	movq	_I40E_AQ_MEDIA_AVAILABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.3:
	movq	_I40E_AQ_QUALIFIED_MODULE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 12(%rbx)
	jne	LBB0_8
## %bb.4:
	movq	_I40E_AQ_LINK_UP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.5:
	movq	_I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_6
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP,8,3 ## @I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx/Tx is disabled on this device because the module does not meet thermal requirements.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Refer to the Intel(R) Ethernet Adapters and Devices User Guide for a list of supported modules.\n"

	.comm	_I40E_AQ_MEDIA_AVAILABLE,4,2    ## @I40E_AQ_MEDIA_AVAILABLE
	.comm	_I40E_AQ_QUALIFIED_MODULE,4,2   ## @I40E_AQ_QUALIFIED_MODULE
	.comm	_I40E_AQ_LINK_UP,4,2            ## @I40E_AQ_LINK_UP
	.comm	_I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED,4,2 ## @I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED
L_.str.2:                               ## @.str.2
	.asciz	"Rx/Tx is disabled on this device because an unsupported SFP module type was detected.\n"

	.no_dead_strip	_i40e_handle_link_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_handle_link_event
_i40e_handle_link_event:                ; @i40e_handle_link_event
	.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	x20, x1
	mov	x19, x0
	bl	_i40e_link_event
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	ldr	x0, [x19, #8]
	bl	_dev_err
	ldr	x0, [x19, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
LBB0_3:
	ldr	w8, [x20, #8]
Lloh7:
	adrp	x9, _I40E_AQ_MEDIA_AVAILABLE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _I40E_AQ_MEDIA_AVAILABLE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
	ldr	w9, [x20, #12]
Lloh10:
	adrp	x10, _I40E_AQ_QUALIFIED_MODULE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _I40E_AQ_QUALIFIED_MODULE@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_7
; %bb.5:
Lloh13:
	adrp	x9, _I40E_AQ_LINK_UP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _I40E_AQ_LINK_UP@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.6:
	ldr	w8, [x19]
Lloh16:
	adrp	x9, _I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED@GOTPAGE
Lloh17:
	ldr	x9, [x9, _I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP,8,3 ; @I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx/Tx is disabled on this device because the module does not meet thermal requirements.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Refer to the Intel(R) Ethernet Adapters and Devices User Guide for a list of supported modules.\n"

	.comm	_I40E_AQ_MEDIA_AVAILABLE,4,2    ; @I40E_AQ_MEDIA_AVAILABLE
	.comm	_I40E_AQ_QUALIFIED_MODULE,4,2   ; @I40E_AQ_QUALIFIED_MODULE
	.comm	_I40E_AQ_LINK_UP,4,2            ; @I40E_AQ_LINK_UP
	.comm	_I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED,4,2 ; @I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED
l_.str.2:                               ; @.str.2
	.asciz	"Rx/Tx is disabled on this device because an unsupported SFP module type was detected.\n"

	.no_dead_strip	_i40e_handle_link_event
.subsections_via_symbols
