	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_get_module_info
_qede_get_module_info:                  ## @qede_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_netdev_priv
	movq	%rax, %r15
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movl	(%r15), %edi
	movq	_QED_I2C_DEV_ADDR_A0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %rsi
	xorl	%ecx, %ecx
	movl	$4, %r8d
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_DP_ERR
	jmp	LBB0_10
LBB0_2:
	movl	-48(%rbp), %edx
	leal	-12(%rdx), %eax
	cmpl	$2, %eax
	jb	LBB0_7
## %bb.3:
	cmpl	$17, %edx
	je	LBB0_8
## %bb.4:
	cmpl	$3, %edx
	jne	LBB0_9
## %bb.5:
	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_6
LBB0_7:
	movq	_ETH_MODULE_SFF_8436@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ETH_MODULE_SFF_8436_LEN@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_ETH_MODULE_SFF_8636@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ETH_MODULE_SFF_8636_LEN@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_DP_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_I2C_DEV_ADDR_A0,4,2        ## @QED_I2C_DEV_ADDR_A0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed reading EEPROM data %d\n"

	.comm	_ETH_MODULE_SFF_8472,4,2        ## @ETH_MODULE_SFF_8472
	.comm	_ETH_MODULE_SFF_8472_LEN,4,2    ## @ETH_MODULE_SFF_8472_LEN
	.comm	_ETH_MODULE_SFF_8436,4,2        ## @ETH_MODULE_SFF_8436
	.comm	_ETH_MODULE_SFF_8436_LEN,4,2    ## @ETH_MODULE_SFF_8436_LEN
	.comm	_ETH_MODULE_SFF_8636,4,2        ## @ETH_MODULE_SFF_8636
	.comm	_ETH_MODULE_SFF_8636_LEN,4,2    ## @ETH_MODULE_SFF_8636_LEN
L_.str.1:                               ## @.str.1
	.asciz	"Unknown transceiver type 0x%x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_qede_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 qede_get_module_info
_qede_get_module_info:                  ; @qede_get_module_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_netdev_priv
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x0]
Lloh3:
	adrp	x9, _QED_I2C_DEV_ADDR_A0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QED_I2C_DEV_ADDR_A0@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	add	x1, sp, #8
	mov	w3, #0
	mov	w4, #4
	blr	x8
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_DP_ERR
	b	LBB0_9
LBB0_2:
	ldr	w2, [sp, #8]
	sub	w8, w2, #12
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.3:
	cmp	w2, #17
	b.eq	LBB0_7
; %bb.4:
	cmp	w2, #3
	b.ne	LBB0_11
; %bb.5:
	mov	w20, #0
Lloh8:
	adrp	x8, _ETH_MODULE_SFF_8472@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_MODULE_SFF_8472@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	w20, #0
Lloh13:
	adrp	x8, _ETH_MODULE_SFF_8436@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ETH_MODULE_SFF_8436@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _ETH_MODULE_SFF_8436_LEN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ETH_MODULE_SFF_8436_LEN@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w20, #0
Lloh18:
	adrp	x8, _ETH_MODULE_SFF_8636@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ETH_MODULE_SFF_8636@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _ETH_MODULE_SFF_8636_LEN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ETH_MODULE_SFF_8636_LEN@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
LBB0_9:
	ldr	x8, [sp, #24]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_DP_ERR
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_9
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_I2C_DEV_ADDR_A0,4,2        ; @QED_I2C_DEV_ADDR_A0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed reading EEPROM data %d\n"

	.comm	_ETH_MODULE_SFF_8472,4,2        ; @ETH_MODULE_SFF_8472
	.comm	_ETH_MODULE_SFF_8472_LEN,4,2    ; @ETH_MODULE_SFF_8472_LEN
	.comm	_ETH_MODULE_SFF_8436,4,2        ; @ETH_MODULE_SFF_8436
	.comm	_ETH_MODULE_SFF_8436_LEN,4,2    ; @ETH_MODULE_SFF_8436_LEN
	.comm	_ETH_MODULE_SFF_8636,4,2        ; @ETH_MODULE_SFF_8636
	.comm	_ETH_MODULE_SFF_8636_LEN,4,2    ; @ETH_MODULE_SFF_8636_LEN
l_.str.1:                               ; @.str.1
	.asciz	"Unknown transceiver type 0x%x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_qede_get_module_info
.subsections_via_symbols
