	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb4_get_module_info
_cxgb4_get_module_info:                 ## @cxgb4_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	16(%rax), %r15
	movl	8(%rax), %edi
	callq	_t4_is_inserted_mod_type
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_14
## %bb.2:
	movl	$236, %ecx
	btl	%eax, %ecx
	jae	LBB0_3
## %bb.10:
	movl	(%r15), %esi
	movl	4(%rbx), %edx
	movq	_I2C_DEV_ADDR_A0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SFF_REV_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_SFF_REV_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-36(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	callq	_t4_i2c_rd
	testl	%eax, %eax
	jne	LBB0_15
## %bb.11:
	cmpl	$3, -36(%rbp)
	jl	LBB0_13
## %bb.12:
	movq	_ETH_MODULE_SFF_8636@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ETH_MODULE_SFF_8636_LEN@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_3:
	movl	(%r15), %esi
	movl	4(%rbx), %edx
	movq	_I2C_DEV_ADDR_A0@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	_SFF_8472_COMP_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_SFF_8472_COMP_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	callq	_t4_i2c_rd
	testl	%eax, %eax
	jne	LBB0_15
## %bb.4:
	movl	(%r15), %esi
	movl	4(%rbx), %edx
	movl	(%r12), %ecx
	movq	_SFP_DIAG_TYPE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_SFP_DIAG_TYPE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-40(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	callq	_t4_i2c_rd
	testl	%eax, %eax
	jne	LBB0_15
## %bb.5:
	cmpl	$0, -44(%rbp)
	je	LBB0_7
## %bb.6:
	testb	$4, -40(%rbp)
	jne	LBB0_7
## %bb.9:
	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_8
LBB0_13:
	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_8
LBB0_7:
	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_8:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_15:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_I2C_DEV_ADDR_A0,4,2            ## @I2C_DEV_ADDR_A0
	.comm	_SFF_8472_COMP_ADDR,4,2         ## @SFF_8472_COMP_ADDR
	.comm	_SFF_8472_COMP_LEN,4,2          ## @SFF_8472_COMP_LEN
	.comm	_SFP_DIAG_TYPE_ADDR,4,2         ## @SFP_DIAG_TYPE_ADDR
	.comm	_SFP_DIAG_TYPE_LEN,4,2          ## @SFP_DIAG_TYPE_LEN
	.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
	.comm	_SFF_REV_ADDR,4,2               ## @SFF_REV_ADDR
	.comm	_SFF_REV_LEN,4,2                ## @SFF_REV_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
	.comm	_ETH_MODULE_SFF_8436,4,2        ## @ETH_MODULE_SFF_8436
	.comm	_ETH_MODULE_SFF_8436_LEN,4,2    ## @ETH_MODULE_SFF_8436_LEN
	.no_dead_strip	_cxgb4_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 cxgb4_get_module_info
_cxgb4_get_module_info:                 ; @cxgb4_get_module_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x20, [x0, #16]
	ldr	w0, [x0, #8]
	bl	_t4_is_inserted_mod_type
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_6
; %bb.2:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #236
	tst	w8, w9
	b.eq	LBB0_7
; %bb.3:
	ldr	w1, [x20]
	ldr	w2, [x21, #4]
Lloh0:
	adrp	x8, _I2C_DEV_ADDR_A0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_DEV_ADDR_A0@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _SFF_REV_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SFF_REV_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x8, _SFF_REV_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SFF_REV_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	add	x6, sp, #4
	mov	x0, x20
	bl	_t4_i2c_rd
	cbnz	w0, LBB0_15
; %bb.4:
	ldr	w8, [sp, #4]
	cmp	w8, #3
	b.lt	LBB0_12
; %bb.5:
	mov	w0, #0
Lloh9:
	adrp	x8, _ETH_MODULE_SFF_8636@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_MODULE_SFF_8636@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _ETH_MODULE_SFF_8636_LEN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ETH_MODULE_SFF_8636_LEN@GOTPAGEOFF]
	b	LBB0_14
LBB0_6:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_7:
	ldr	w1, [x20]
	ldr	w2, [x21, #4]
Lloh17:
	adrp	x22, _I2C_DEV_ADDR_A0@GOTPAGE
Lloh18:
	ldr	x22, [x22, _I2C_DEV_ADDR_A0@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh19:
	adrp	x8, _SFF_8472_COMP_ADDR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SFF_8472_COMP_ADDR@GOTPAGEOFF]
Lloh21:
	ldr	w4, [x8]
Lloh22:
	adrp	x8, _SFF_8472_COMP_LEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SFF_8472_COMP_LEN@GOTPAGEOFF]
Lloh24:
	ldr	w5, [x8]
	add	x6, sp, #12
	mov	x0, x20
	bl	_t4_i2c_rd
	cbnz	w0, LBB0_15
; %bb.8:
	ldr	w1, [x20]
	ldr	w2, [x21, #4]
	ldr	w3, [x22]
Lloh25:
	adrp	x8, _SFP_DIAG_TYPE_ADDR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SFP_DIAG_TYPE_ADDR@GOTPAGEOFF]
Lloh27:
	ldr	w4, [x8]
Lloh28:
	adrp	x8, _SFP_DIAG_TYPE_LEN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SFP_DIAG_TYPE_LEN@GOTPAGEOFF]
Lloh30:
	ldr	w5, [x8]
	add	x6, sp, #8
	mov	x0, x20
	bl	_t4_i2c_rd
	cbnz	w0, LBB0_15
; %bb.9:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_13
; %bb.10:
	ldrb	w8, [sp, #8]
	tbnz	w8, #2, LBB0_13
; %bb.11:
	mov	w0, #0
Lloh31:
	adrp	x8, _ETH_MODULE_SFF_8472@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ETH_MODULE_SFF_8472@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	mov	w0, #0
Lloh36:
	adrp	x8, _ETH_MODULE_SFF_8436@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ETH_MODULE_SFF_8436@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _ETH_MODULE_SFF_8436_LEN@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ETH_MODULE_SFF_8436_LEN@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
	mov	w0, #0
Lloh41:
	adrp	x8, _ETH_MODULE_SFF_8079@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ETH_MODULE_SFF_8079@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _ETH_MODULE_SFF_8079_LEN@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ETH_MODULE_SFF_8079_LEN@GOTPAGEOFF]
LBB0_14:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
LBB0_15:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_I2C_DEV_ADDR_A0,4,2            ; @I2C_DEV_ADDR_A0
	.comm	_SFF_8472_COMP_ADDR,4,2         ; @SFF_8472_COMP_ADDR
	.comm	_SFF_8472_COMP_LEN,4,2          ; @SFF_8472_COMP_LEN
	.comm	_SFP_DIAG_TYPE_ADDR,4,2         ; @SFP_DIAG_TYPE_ADDR
	.comm	_SFP_DIAG_TYPE_LEN,4,2          ; @SFP_DIAG_TYPE_LEN
	.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
	.comm	_SFF_REV_ADDR,4,2               ; @SFF_REV_ADDR
	.comm	_SFF_REV_LEN,4,2                ; @SFF_REV_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
	.comm	_ETH_MODULE_SFF_8436,4,2        ; @ETH_MODULE_SFF_8436
	.comm	_ETH_MODULE_SFF_8436_LEN,4,2    ; @ETH_MODULE_SFF_8436_LEN
	.no_dead_strip	_cxgb4_get_module_info
.subsections_via_symbols
