	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	12(%rdi), %r14
	movq	_IXGBE_EICR_GPI_SDP2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%esi, %edx
	je	LBB0_3
## %bb.1:
	movq	_IXGBE_EICR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
	movq	___IXGBE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r15)
	movq	%r15, %rdi
	callq	_ixgbe_service_event_schedule
LBB0_3:
	movq	_IXGBE_EICR_GPI_SDP1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %edx
	je	LBB0_5
## %bb.4:
	movq	_IXGBE_EICR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
	movq	___IXGBE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_6
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_IXGBE_FLAG_NEED_LINK_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ixgbe_service_event_schedule   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_EICR_GPI_SDP2,4,2        ## @IXGBE_EICR_GPI_SDP2
	.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_EICR_GPI_SDP1,4,2        ## @IXGBE_EICR_GPI_SDP1
	.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	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, x1
	mov	x19, x0
	add	x20, x0, #12
Lloh0:
	adrp	x8, _IXGBE_EICR_GPI_SDP2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_EICR_GPI_SDP2@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x23, _IXGBE_EICR@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IXGBE_EICR@GOTPAGEOFF]
Lloh5:
	adrp	x22, ___IXGBE_DOWN@GOTPAGE
Lloh6:
	ldr	x22, [x22, ___IXGBE_DOWN@GOTPAGEOFF]
	tst	w2, w1
	b.eq	LBB0_3
; %bb.1:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	ldr	w0, [x22]
	add	x1, x19, #4
	bl	_test_bit
	cbnz	w0, LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_ixgbe_service_event_schedule
LBB0_3:
Lloh10:
	adrp	x8, _IXGBE_EICR_GPI_SDP1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_EICR_GPI_SDP1@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	tst	w2, w21
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	ldr	w0, [x22]
	add	x1, x19, #4
	bl	_test_bit
	cbz	w0, LBB0_6
LBB0_5:
	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_6:
Lloh13:
	adrp	x8, _IXGBE_FLAG_NEED_LINK_CONFIG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IXGBE_FLAG_NEED_LINK_CONFIG@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	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	_ixgbe_service_event_schedule
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_EICR_GPI_SDP2,4,2        ; @IXGBE_EICR_GPI_SDP2
	.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_EICR_GPI_SDP1,4,2        ; @IXGBE_EICR_GPI_SDP1
	.comm	_IXGBE_FLAG_NEED_LINK_CONFIG,4,2 ; @IXGBE_FLAG_NEED_LINK_CONFIG
	.no_dead_strip	_ixgbe_check_sfp_event
.subsections_via_symbols
