	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_sfp_detection_subtask
_ixgbe_sfp_detection_subtask:           ## @ixgbe_sfp_detection_subtask
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_IXGBE_FLAG2_SEARCH_FOR_SFP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
LBB0_2:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_18
LBB0_4:
	movq	___IXGBE_IN_SFP_INIT@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	16(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_18
## %bb.5:
	leaq	32(%rbx), %r12
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_IXGBE_SFP_POLL_JIFFIES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rcx, %rax
	decq	%rax
	movq	%rax, 24(%rbx)
	movq	%r12, %rdi
	callq	*40(%rbx)
	movq	%rax, %r15
	movq	_IXGBE_ERR_SFP_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_16
## %bb.6:
	movq	_IXGBE_ERR_SFP_NOT_PRESENT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_8
## %bb.7:
	movq	_IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_8:
	testq	%r15, %r15
	je	LBB0_9
LBB0_16:
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_clear_bit
	movq	_IXGBE_ERR_SFP_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_18
## %bb.17:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_NETREG_REGISTERED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.19:
	leaq	L_.str.1(%rip), %rdi
	callq	_e_dev_err
	leaq	L_.str.2(%rip), %rdi
	callq	_e_dev_err
	movq	8(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unregister_netdev              ## TAILCALL
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	(%rbx), %eax
	movq	_IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_10
## %bb.11:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	56(%rbx), %rax
	movq	_ixgbe_mac_82598EB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	%r12, %rdi
	callq	*48(%rbx)
	jmp	LBB0_14
LBB0_10:
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_13:
	movq	%r12, %rdi
	callq	*64(%rbx)
LBB0_14:
	movq	%rax, %r15
	movq	_IXGBE_ERR_SFP_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_16
## %bb.15:
	movq	_IXGBE_FLAG_NEED_LINK_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%rbx)
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_e_info
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG2_SEARCH_FOR_SFP,4,2 ## @IXGBE_FLAG2_SEARCH_FOR_SFP
	.comm	_IXGBE_FLAG2_SFP_NEEDS_RESET,4,2 ## @IXGBE_FLAG2_SFP_NEEDS_RESET
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	___IXGBE_IN_SFP_INIT,4,2        ## @__IXGBE_IN_SFP_INIT
	.comm	_IXGBE_SFP_POLL_JIFFIES,8,3     ## @IXGBE_SFP_POLL_JIFFIES
	.comm	_IXGBE_ERR_SFP_NOT_SUPPORTED,8,3 ## @IXGBE_ERR_SFP_NOT_SUPPORTED
	.comm	_IXGBE_ERR_SFP_NOT_PRESENT,8,3  ## @IXGBE_ERR_SFP_NOT_PRESENT
	.comm	_ixgbe_mac_82598EB,8,3          ## @ixgbe_mac_82598EB
	.comm	_IXGBE_FLAG_NEED_LINK_CONFIG,4,2 ## @IXGBE_FLAG_NEED_LINK_CONFIG
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"detected SFP+: %d\n"

	.comm	_NETREG_REGISTERED,8,3          ## @NETREG_REGISTERED
L_.str.1:                               ## @.str.1
	.asciz	"failed to initialize because an unsupported SFP+ module type was detected.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Reload the driver after installing a supported module.\n"

	.no_dead_strip	_ixgbe_sfp_detection_subtask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_sfp_detection_subtask
_ixgbe_sfp_detection_subtask:           ; @ixgbe_sfp_detection_subtask
	.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	x19, x0
	mov	x21, x0
	ldr	w8, [x21], #32
Lloh0:
	adrp	x9, _IXGBE_FLAG2_SEARCH_FOR_SFP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAG2_SEARCH_FOR_SFP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
LBB0_2:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	bl	_time_after
	cbnz	x0, LBB0_12
LBB0_4:
Lloh9:
	adrp	x23, ___IXGBE_IN_SFP_INIT@GOTPAGE
Lloh10:
	ldr	x23, [x23, ___IXGBE_IN_SFP_INIT@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x20, x19, #16
	mov	x1, x20
	bl	_test_and_set_bit
	cbnz	x0, LBB0_12
; %bb.5:
Lloh11:
	adrp	x8, _jiffies@GOTPAGE
Lloh12:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh13:
	adrp	x9, _IXGBE_SFP_POLL_JIFFIES@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IXGBE_SFP_POLL_JIFFIES@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	ldr	x9, [x9]
	add	x8, x8, x9
	sub	x8, x8, #1
	str	x8, [x19, #24]
	ldr	x8, [x19, #40]
	mov	x0, x21
	blr	x8
	mov	x22, x0
Lloh17:
	adrp	x24, _IXGBE_ERR_SFP_NOT_SUPPORTED@GOTPAGE
Lloh18:
	ldr	x24, [x24, _IXGBE_ERR_SFP_NOT_SUPPORTED@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.6:
Lloh19:
	adrp	x8, _IXGBE_ERR_SFP_NOT_PRESENT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IXGBE_ERR_SFP_NOT_PRESENT@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_8
; %bb.7:
Lloh22:
	adrp	x8, _IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
	cbz	x22, LBB0_13
LBB0_9:
	ldr	w0, [x23]
	mov	x1, x20
	bl	_clear_bit
	ldr	x8, [x24]
	cmp	x22, x8
	b.ne	LBB0_12
; %bb.10:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _NETREG_REGISTERED@GOTPAGE
Lloh26:
	ldr	x9, [x9, _NETREG_REGISTERED@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_e_dev_err
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_e_dev_err
	ldr	x0, [x19, #8]
	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	_unregister_netdev
LBB0_12:
	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_13:
	ldr	w8, [x19]
Lloh32:
	adrp	x9, _IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IXGBE_FLAG2_SFP_NEEDS_RESET@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.14:
	bic	w8, w8, w9
	str	w8, [x19]
	ldr	x8, [x19, #56]
Lloh35:
	adrp	x9, _ixgbe_mac_82598EB@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ixgbe_mac_82598EB@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.15:
	ldr	x8, [x19, #48]
	b	LBB0_18
LBB0_16:
	mov	x22, #0
	b	LBB0_9
LBB0_17:
	ldr	x8, [x19, #64]
LBB0_18:
	mov	x0, x21
	blr	x8
	mov	x22, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.19:
Lloh38:
	adrp	x8, _IXGBE_FLAG_NEED_LINK_CONFIG@GOTPAGE
Lloh39:
	ldr	x8, [x8, _IXGBE_FLAG_NEED_LINK_CONFIG@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	ldr	w9, [x19, #20]
	orr	w8, w9, w8
	str	w8, [x19, #20]
Lloh41:
	adrp	x8, _probe@GOTPAGE
Lloh42:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	ldr	w2, [x19, #32]
Lloh44:
	adrp	x1, l_.str@PAGE
Lloh45:
	add	x1, x1, l_.str@PAGEOFF
	bl	_e_info
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG2_SEARCH_FOR_SFP,4,2 ; @IXGBE_FLAG2_SEARCH_FOR_SFP
	.comm	_IXGBE_FLAG2_SFP_NEEDS_RESET,4,2 ; @IXGBE_FLAG2_SFP_NEEDS_RESET
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	___IXGBE_IN_SFP_INIT,4,2        ; @__IXGBE_IN_SFP_INIT
	.comm	_IXGBE_SFP_POLL_JIFFIES,8,3     ; @IXGBE_SFP_POLL_JIFFIES
	.comm	_IXGBE_ERR_SFP_NOT_SUPPORTED,8,3 ; @IXGBE_ERR_SFP_NOT_SUPPORTED
	.comm	_IXGBE_ERR_SFP_NOT_PRESENT,8,3  ; @IXGBE_ERR_SFP_NOT_PRESENT
	.comm	_ixgbe_mac_82598EB,8,3          ; @ixgbe_mac_82598EB
	.comm	_IXGBE_FLAG_NEED_LINK_CONFIG,4,2 ; @IXGBE_FLAG_NEED_LINK_CONFIG
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"detected SFP+: %d\n"

	.comm	_NETREG_REGISTERED,8,3          ; @NETREG_REGISTERED
l_.str.1:                               ; @.str.1
	.asciz	"failed to initialize because an unsupported SFP+ module type was detected.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Reload the driver after installing a supported module.\n"

	.no_dead_strip	_ixgbe_sfp_detection_subtask
.subsections_via_symbols
