	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_get_module_info
_igb_get_module_info:                   ## @igb_get_module_info
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_e1000_media_type_unknown@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.4:
	movq	_IGB_SFF_8472_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_igb_read_phy_reg_i2c
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_IGB_SFF_8472_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_igb_read_phy_reg_i2c
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movb	-20(%rbp), %al
	movq	_IGB_SFF_ADDRESSING_MODE@GOTPCREL(%rip), %rcx
	testb	%al, (%rcx)
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
	callq	_hw_dbg
	jmp	LBB0_10
LBB0_9:
	movzbl	-24(%rbp), %eax
	movq	_IGB_SFF_8472_UNSUP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
LBB0_10:
	movq	_ETH_MODULE_SFF_8079@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ETH_MODULE_SFF_8079_LEN@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_11:
	movq	_ETH_MODULE_SFF_8472@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ETH_MODULE_SFF_8472_LEN@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_media_type_copper,8,3    ## @e1000_media_type_copper
	.comm	_e1000_media_type_unknown,8,3   ## @e1000_media_type_unknown
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_IGB_SFF_8472_COMP,4,2          ## @IGB_SFF_8472_COMP
	.comm	_EIO,4,2                        ## @EIO
	.comm	_IGB_SFF_8472_SWAP,4,2          ## @IGB_SFF_8472_SWAP
	.comm	_IGB_SFF_ADDRESSING_MODE,4,2    ## @IGB_SFF_ADDRESSING_MODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Address change required to access page 0xA2, but not supported. Please report the module type to the driver maintainers.\n"

	.comm	_IGB_SFF_8472_UNSUP,4,2         ## @IGB_SFF_8472_UNSUP
	.comm	_ETH_MODULE_SFF_8079,4,2        ## @ETH_MODULE_SFF_8079
	.comm	_ETH_MODULE_SFF_8079_LEN,4,2    ## @ETH_MODULE_SFF_8079_LEN
	.comm	_ETH_MODULE_SFF_8472,4,2        ## @ETH_MODULE_SFF_8472
	.comm	_ETH_MODULE_SFF_8472_LEN,4,2    ## @ETH_MODULE_SFF_8472_LEN
	.no_dead_strip	_igb_get_module_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_get_module_info
_igb_get_module_info:                   ; @igb_get_module_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	bl	_netdev_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _e1000_media_type_copper@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_media_type_copper@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _e1000_media_type_unknown@GOTPAGE
Lloh4:
	ldr	x10, [x10, _e1000_media_type_unknown@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x20, x0
Lloh8:
	adrp	x8, _IGB_SFF_8472_COMP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IGB_SFF_8472_COMP@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_igb_read_phy_reg_i2c
	cbnz	x0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _IGB_SFF_8472_SWAP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IGB_SFF_8472_SWAP@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_igb_read_phy_reg_i2c
	cbz	x0, LBB0_7
LBB0_4:
Lloh14:
	adrp	x8, _EIO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
	ldrb	w8, [sp, #8]
Lloh16:
	adrp	x9, _IGB_SFF_ADDRESSING_MODE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IGB_SFF_ADDRESSING_MODE@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_9
; %bb.8:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hw_dbg
	b	LBB0_10
LBB0_9:
	ldrb	w8, [sp, #12]
Lloh20:
	adrp	x9, _IGB_SFF_8472_UNSUP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IGB_SFF_8472_UNSUP@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
LBB0_10:
	mov	w0, #0
Lloh23:
	adrp	x8, _ETH_MODULE_SFF_8079@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ETH_MODULE_SFF_8079@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _ETH_MODULE_SFF_8079_LEN@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ETH_MODULE_SFF_8079_LEN@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
	mov	w0, #0
Lloh28:
	adrp	x8, _ETH_MODULE_SFF_8472@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ETH_MODULE_SFF_8472@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGEOFF]
LBB0_12:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_media_type_copper,8,3    ; @e1000_media_type_copper
	.comm	_e1000_media_type_unknown,8,3   ; @e1000_media_type_unknown
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_IGB_SFF_8472_COMP,4,2          ; @IGB_SFF_8472_COMP
	.comm	_EIO,4,2                        ; @EIO
	.comm	_IGB_SFF_8472_SWAP,4,2          ; @IGB_SFF_8472_SWAP
	.comm	_IGB_SFF_ADDRESSING_MODE,4,2    ; @IGB_SFF_ADDRESSING_MODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Address change required to access page 0xA2, but not supported. Please report the module type to the driver maintainers.\n"

	.comm	_IGB_SFF_8472_UNSUP,4,2         ; @IGB_SFF_8472_UNSUP
	.comm	_ETH_MODULE_SFF_8079,4,2        ; @ETH_MODULE_SFF_8079
	.comm	_ETH_MODULE_SFF_8079_LEN,4,2    ; @ETH_MODULE_SFF_8079_LEN
	.comm	_ETH_MODULE_SFF_8472,4,2        ; @ETH_MODULE_SFF_8472
	.comm	_ETH_MODULE_SFF_8472_LEN,4,2    ; @ETH_MODULE_SFF_8472_LEN
	.no_dead_strip	_igb_get_module_info
.subsections_via_symbols
