	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_check_sfp_event
_ixgbe_check_sfp_event:                 ## @ixgbe_check_sfp_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_IXGBE_EICR_GPI_SDP2
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_ixgbe_is_sfp
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	(%rbx), %rax
	movq	_ixgbe_mac_X540@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.2:
	movq	_IXGBE_EICR_GPI_SDP0_X540@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_3:
	testl	%r15d, %r12d
	je	LBB0_6
## %bb.4:
	movq	_IXGBE_EICR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	movq	___IXGBE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
	movq	$0, 16(%r14)
	movq	%r14, %rdi
	callq	_ixgbe_service_event_schedule
LBB0_6:
	movq	(%rbx), %rax
	movq	_ixgbe_mac_82599EB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_IXGBE_EICR_GPI_SDP1
	testl	%r15d, %eax
	je	LBB0_9
## %bb.8:
	movq	_IXGBE_EICR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_IXGBE_EICR_GPI_SDP1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
	movq	___IXGBE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_10
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_IXGBE_FLAG_NEED_LINK_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ixgbe_service_event_schedule   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ixgbe_mac_X540,8,3             ## @ixgbe_mac_X540
	.comm	_IXGBE_EICR_GPI_SDP0_X540,4,2   ## @IXGBE_EICR_GPI_SDP0_X540
	.comm	_IXGBE_EICR,4,2                 ## @IXGBE_EICR
	.comm	___IXGBE_DOWN,4,2               ## @__IXGBE_DOWN
	.comm	_IXGBE_FLAG2_SFP_NEEDS_RESET,4,2 ## @IXGBE_FLAG2_SFP_NEEDS_RESET
	.comm	_ixgbe_mac_82599EB,8,3          ## @ixgbe_mac_82599EB
	.comm	_IXGBE_FLAG_NEED_LINK_CONFIG,4,2 ## @IXGBE_FLAG_NEED_LINK_CONFIG
	.no_dead_strip	_ixgbe_check_sfp_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_check_sfp_event
_ixgbe_check_sfp_event:                 ; @ixgbe_check_sfp_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	add	x20, x0, #8
	mov	x0, x20
	bl	_IXGBE_EICR_GPI_SDP2
	mov	x22, x0
	mov	x0, x20
	bl	_ixgbe_is_sfp
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _ixgbe_mac_X540@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ixgbe_mac_X540@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IXGBE_EICR_GPI_SDP0_X540@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IXGBE_EICR_GPI_SDP0_X540@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w2, w22, w10, lt
	tst	w2, w21
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _IXGBE_EICR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_EICR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
Lloh9:
	adrp	x8, ___IXGBE_DOWN@GOTPAGE
Lloh10:
	ldr	x8, [x8, ___IXGBE_DOWN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cbnz	w0, LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
	mov	x0, x19
	bl	_ixgbe_service_event_schedule
LBB0_4:
	ldr	x8, [x20]
Lloh15:
	adrp	x9, _ixgbe_mac_82599EB@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ixgbe_mac_82599EB@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_IXGBE_EICR_GPI_SDP1
	tst	w0, w21
	b.eq	LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _IXGBE_EICR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IXGBE_EICR@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_IXGBE_EICR_GPI_SDP1
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_IXGBE_WRITE_REG
Lloh21:
	adrp	x8, ___IXGBE_DOWN@GOTPAGE
Lloh22:
	ldr	x8, [x8, ___IXGBE_DOWN@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cbz	w0, LBB0_8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh24:
	adrp	x8, _IXGBE_FLAG_NEED_LINK_CONFIG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IXGBE_FLAG_NEED_LINK_CONFIG@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ixgbe_service_event_schedule
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ixgbe_mac_X540,8,3             ; @ixgbe_mac_X540
	.comm	_IXGBE_EICR_GPI_SDP0_X540,4,2   ; @IXGBE_EICR_GPI_SDP0_X540
	.comm	_IXGBE_EICR,4,2                 ; @IXGBE_EICR
	.comm	___IXGBE_DOWN,4,2               ; @__IXGBE_DOWN
	.comm	_IXGBE_FLAG2_SFP_NEEDS_RESET,4,2 ; @IXGBE_FLAG2_SFP_NEEDS_RESET
	.comm	_ixgbe_mac_82599EB,8,3          ; @ixgbe_mac_82599EB
	.comm	_IXGBE_FLAG_NEED_LINK_CONFIG,4,2 ; @IXGBE_FLAG_NEED_LINK_CONFIG
	.no_dead_strip	_ixgbe_check_sfp_event
.subsections_via_symbols
