	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_get_fw_speed
_bnxt_get_fw_speed:                     ## @bnxt_get_fw_speed
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_netdev_priv
	addl	$-128, %ebx
	cmpl	$8, %ebx
	ja	LBB0_20
## %bb.1:
	movl	(%rax), %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_16:
	movq	_BNXT_LINK_SPEED_MSK_50GB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_21
## %bb.17:
	movq	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_50GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_14:
	movq	_BNXT_LINK_SPEED_MSK_40GB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_21
## %bb.15:
	movq	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_40GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_12:
	movq	_BNXT_LINK_SPEED_MSK_25GB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_21
## %bb.13:
	movq	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_25GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_6:
	movq	_BNXT_LINK_SPEED_MSK_2_5GB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_21
## %bb.7:
	movq	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_2_5GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_10:
	movq	_BNXT_LINK_SPEED_MSK_20GB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_21
## %bb.11:
	movq	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_20GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_18:
	movq	_BNXT_LINK_SPEED_MSK_100GB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_21
## %bb.19:
	movq	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_8:
	movq	_BNXT_LINK_SPEED_MSK_10GB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_21
## %bb.9:
	movq	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_10GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_4:
	movq	_BNXT_LINK_SPEED_MSK_1GB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_21
## %bb.5:
	movq	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_1GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_2:
	movq	_BNXT_LINK_SPEED_MSK_100MB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_21
## %bb.3:
	movq	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100MB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_20:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_err
	xorl	%eax, %eax
LBB0_21:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_18
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_BNXT_LINK_SPEED_MSK_100MB,4,2  ## @BNXT_LINK_SPEED_MSK_100MB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100MB,4,2 ## @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100MB
	.comm	_BNXT_LINK_SPEED_MSK_1GB,4,2    ## @BNXT_LINK_SPEED_MSK_1GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_1GB,4,2 ## @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_1GB
	.comm	_BNXT_LINK_SPEED_MSK_2_5GB,4,2  ## @BNXT_LINK_SPEED_MSK_2_5GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_2_5GB,4,2 ## @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_2_5GB
	.comm	_BNXT_LINK_SPEED_MSK_10GB,4,2   ## @BNXT_LINK_SPEED_MSK_10GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_10GB,4,2 ## @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_10GB
	.comm	_BNXT_LINK_SPEED_MSK_20GB,4,2   ## @BNXT_LINK_SPEED_MSK_20GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_20GB,4,2 ## @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_20GB
	.comm	_BNXT_LINK_SPEED_MSK_25GB,4,2   ## @BNXT_LINK_SPEED_MSK_25GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_25GB,4,2 ## @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_25GB
	.comm	_BNXT_LINK_SPEED_MSK_40GB,4,2   ## @BNXT_LINK_SPEED_MSK_40GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_40GB,4,2 ## @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_40GB
	.comm	_BNXT_LINK_SPEED_MSK_50GB,4,2   ## @BNXT_LINK_SPEED_MSK_50GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_50GB,4,2 ## @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_50GB
	.comm	_BNXT_LINK_SPEED_MSK_100GB,4,2  ## @BNXT_LINK_SPEED_MSK_100GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100GB,4,2 ## @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100GB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported speed!\n"

	.no_dead_strip	_bnxt_get_fw_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_get_fw_speed
_bnxt_get_fw_speed:                     ; @bnxt_get_fw_speed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	sub	w9, w20, #128
	cmp	w9, #8
	b.hi	LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh2:
	adrp	x9, _BNXT_LINK_SPEED_MSK_50GB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BNXT_LINK_SPEED_MSK_50GB@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_50GB@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_50GB@GOTPAGEOFF]
	b	LBB0_12
LBB0_3:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	mov	w0, #0
	b	LBB0_13
LBB0_4:
Lloh9:
	adrp	x9, _BNXT_LINK_SPEED_MSK_40GB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BNXT_LINK_SPEED_MSK_40GB@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_40GB@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_40GB@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
Lloh14:
	adrp	x9, _BNXT_LINK_SPEED_MSK_25GB@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BNXT_LINK_SPEED_MSK_25GB@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_25GB@GOTPAGE
Lloh18:
	ldr	x10, [x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_25GB@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
Lloh19:
	adrp	x9, _BNXT_LINK_SPEED_MSK_2_5GB@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BNXT_LINK_SPEED_MSK_2_5GB@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_2_5GB@GOTPAGE
Lloh23:
	ldr	x10, [x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_2_5GB@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
Lloh24:
	adrp	x9, _BNXT_LINK_SPEED_MSK_20GB@GOTPAGE
Lloh25:
	ldr	x9, [x9, _BNXT_LINK_SPEED_MSK_20GB@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_20GB@GOTPAGE
Lloh28:
	ldr	x10, [x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_20GB@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh29:
	adrp	x9, _BNXT_LINK_SPEED_MSK_100GB@GOTPAGE
Lloh30:
	ldr	x9, [x9, _BNXT_LINK_SPEED_MSK_100GB@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	adrp	x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100GB@GOTPAGE
Lloh33:
	ldr	x10, [x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100GB@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh34:
	adrp	x9, _BNXT_LINK_SPEED_MSK_10GB@GOTPAGE
Lloh35:
	ldr	x9, [x9, _BNXT_LINK_SPEED_MSK_10GB@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_10GB@GOTPAGE
Lloh38:
	ldr	x10, [x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_10GB@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh39:
	adrp	x9, _BNXT_LINK_SPEED_MSK_1GB@GOTPAGE
Lloh40:
	ldr	x9, [x9, _BNXT_LINK_SPEED_MSK_1GB@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
Lloh42:
	adrp	x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_1GB@GOTPAGE
Lloh43:
	ldr	x10, [x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_1GB@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh44:
	adrp	x9, _BNXT_LINK_SPEED_MSK_100MB@GOTPAGE
Lloh45:
	ldr	x9, [x9, _BNXT_LINK_SPEED_MSK_100MB@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
Lloh47:
	adrp	x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100MB@GOTPAGE
Lloh48:
	ldr	x10, [x10, _PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100MB@GOTPAGEOFF]
LBB0_12:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w0, wzr, w10, eq
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_BNXT_LINK_SPEED_MSK_100MB,4,2  ; @BNXT_LINK_SPEED_MSK_100MB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100MB,4,2 ; @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100MB
	.comm	_BNXT_LINK_SPEED_MSK_1GB,4,2    ; @BNXT_LINK_SPEED_MSK_1GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_1GB,4,2 ; @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_1GB
	.comm	_BNXT_LINK_SPEED_MSK_2_5GB,4,2  ; @BNXT_LINK_SPEED_MSK_2_5GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_2_5GB,4,2 ; @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_2_5GB
	.comm	_BNXT_LINK_SPEED_MSK_10GB,4,2   ; @BNXT_LINK_SPEED_MSK_10GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_10GB,4,2 ; @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_10GB
	.comm	_BNXT_LINK_SPEED_MSK_20GB,4,2   ; @BNXT_LINK_SPEED_MSK_20GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_20GB,4,2 ; @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_20GB
	.comm	_BNXT_LINK_SPEED_MSK_25GB,4,2   ; @BNXT_LINK_SPEED_MSK_25GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_25GB,4,2 ; @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_25GB
	.comm	_BNXT_LINK_SPEED_MSK_40GB,4,2   ; @BNXT_LINK_SPEED_MSK_40GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_40GB,4,2 ; @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_40GB
	.comm	_BNXT_LINK_SPEED_MSK_50GB,4,2   ; @BNXT_LINK_SPEED_MSK_50GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_50GB,4,2 ; @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_50GB
	.comm	_BNXT_LINK_SPEED_MSK_100GB,4,2  ; @BNXT_LINK_SPEED_MSK_100GB
	.comm	_PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100GB,4,2 ; @PORT_PHY_CFG_REQ_AUTO_LINK_SPEED_100GB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported speed!\n"

	.no_dead_strip	_bnxt_get_fw_speed
.subsections_via_symbols
