	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_get_module_info
_bnxt_get_module_info:                  ## @bnxt_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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_SFF_DIAG_SUPPORT_OFFSET@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	incl	%eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	8(%rax), %rcx
	movq	_PORT_PHY_QCFG_RESP_MODULE_STATUS_WARNINGMSG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_10
## %bb.1:
	cmpl	$66049, (%rax)                  ## imm = 0x10201
	jg	LBB0_2
LBB0_10:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_I2C_DEV_ADDR_A0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r12), %r8d
	incl	%r8d
	movq	%rax, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_bnxt_read_sfp_module_eeprom_info
	testl	%eax, %eax
	jne	LBB0_11
## %bb.3:
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movq	_ETH_MODULE_SFF_8436@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_ETH_MODULE_SFF_8436_LEN@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movslq	(%r12), %rcx
	movq	_ETH_MODULE_SFF_8472@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	cmpl	$0, (%r15,%rcx,4)
	movl	%edx, 8(%r14)
	movq	_ETH_MODULE_SFF_8472_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%r14)
	jne	LBB0_11
## %bb.6:
	movq	_ETH_MODULE_SFF_8436_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%r14)
	jmp	LBB0_11
LBB0_9:
	movq	_ETH_MODULE_SFF_8636@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_ETH_MODULE_SFF_8636_LEN@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_SFF_DIAG_SUPPORT_OFFSET,4,2    ## @SFF_DIAG_SUPPORT_OFFSET
	.comm	_PORT_PHY_QCFG_RESP_MODULE_STATUS_WARNINGMSG,8,3 ## @PORT_PHY_QCFG_RESP_MODULE_STATUS_WARNINGMSG
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_I2C_DEV_ADDR_A0,4,2            ## @I2C_DEV_ADDR_A0
	.comm	_ETH_MODULE_SFF_8472,4,2        ## @ETH_MODULE_SFF_8472
	.comm	_ETH_MODULE_SFF_8472_LEN,8,3    ## @ETH_MODULE_SFF_8472_LEN
	.comm	_ETH_MODULE_SFF_8436_LEN,8,3    ## @ETH_MODULE_SFF_8436_LEN
	.comm	_ETH_MODULE_SFF_8436,4,2        ## @ETH_MODULE_SFF_8436
	.comm	_ETH_MODULE_SFF_8636,4,2        ## @ETH_MODULE_SFF_8636
	.comm	_ETH_MODULE_SFF_8636_LEN,8,3    ## @ETH_MODULE_SFF_8636_LEN
	.no_dead_strip	_bnxt_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 bnxt_get_module_info
_bnxt_get_module_info:                  ; @bnxt_get_module_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	sub	sp, sp, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x21, _SFF_DIAG_SUPPORT_OFFSET@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SFF_DIAG_SUPPORT_OFFSET@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w8, w8, #1
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	bl	_netdev_priv
	ldr	x8, [x0, #8]
Lloh7:
	adrp	x9, _PORT_PHY_QCFG_RESP_MODULE_STATUS_WARNINGMSG@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PORT_PHY_QCFG_RESP_MODULE_STATUS_WARNINGMSG@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_2
; %bb.1:
	ldr	w8, [x0]
	mov	w9, #513
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.gt	LBB0_5
LBB0_2:
Lloh10:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.4:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh16:
	adrp	x8, _I2C_DEV_ADDR_A0@GOTPAGE
Lloh17:
	ldr	x8, [x8, _I2C_DEV_ADDR_A0@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w8, [x21]
	add	w4, w8, #1
	mov	w2, #0
	mov	w3, #0
	mov	x5, x20
	bl	_bnxt_read_sfp_module_eeprom_info
	cbnz	w0, LBB0_3
; %bb.6:
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.7:
Lloh19:
	adrp	x9, lJTI0_0@PAGE
Lloh20:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	mov	w0, #0
Lloh21:
	adrp	x8, _ETH_MODULE_SFF_8436@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETH_MODULE_SFF_8436@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_9:
Lloh24:
	adrp	x8, _ETH_MODULE_SFF_8436_LEN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ETH_MODULE_SFF_8436_LEN@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	ldrsw	x8, [x21]
	ldr	w8, [x20, x8, lsl #2]
Lloh26:
	adrp	x9, _ETH_MODULE_SFF_8472@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ETH_MODULE_SFF_8472@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	str	w9, [x19, #8]
Lloh29:
	adrp	x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	str	x9, [x19]
	mov	w0, #0
	cbnz	w8, LBB0_3
	b	LBB0_9
LBB0_11:
	mov	w0, #0
Lloh32:
	adrp	x8, _ETH_MODULE_SFF_8636@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ETH_MODULE_SFF_8636@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh35:
	adrp	x8, _ETH_MODULE_SFF_8636_LEN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ETH_MODULE_SFF_8636_LEN@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_3
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
                                        ; -- End function
	.comm	_SFF_DIAG_SUPPORT_OFFSET,4,2    ; @SFF_DIAG_SUPPORT_OFFSET
	.comm	_PORT_PHY_QCFG_RESP_MODULE_STATUS_WARNINGMSG,8,3 ; @PORT_PHY_QCFG_RESP_MODULE_STATUS_WARNINGMSG
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_I2C_DEV_ADDR_A0,4,2            ; @I2C_DEV_ADDR_A0
	.comm	_ETH_MODULE_SFF_8472,4,2        ; @ETH_MODULE_SFF_8472
	.comm	_ETH_MODULE_SFF_8472_LEN,8,3    ; @ETH_MODULE_SFF_8472_LEN
	.comm	_ETH_MODULE_SFF_8436_LEN,8,3    ; @ETH_MODULE_SFF_8436_LEN
	.comm	_ETH_MODULE_SFF_8436,4,2        ; @ETH_MODULE_SFF_8436
	.comm	_ETH_MODULE_SFF_8636,4,2        ; @ETH_MODULE_SFF_8636
	.comm	_ETH_MODULE_SFF_8636_LEN,8,3    ; @ETH_MODULE_SFF_8636_LEN
	.no_dead_strip	_bnxt_get_module_info
.subsections_via_symbols
