	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_change_mode
_xgbe_change_mode:                      ## @xgbe_change_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %r8d
	leal	-128(%r8), %eax
	cmpl	$7, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	popq	%rbp
	jmp	_xgbe_x_mode                    ## TAILCALL
LBB0_9:
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	popq	%rbp
	jmp	_netif_dbg                      ## TAILCALL
LBB0_10:
	popq	%rbp
	retq
LBB0_6:
	popq	%rbp
	jmp	_xgbe_sgmii_1000_mode           ## TAILCALL
LBB0_5:
	popq	%rbp
	jmp	_xgbe_sgmii_100_mode            ## TAILCALL
LBB0_8:
	popq	%rbp
	jmp	_xgbe_sfi_mode                  ## TAILCALL
LBB0_3:
	popq	%rbp
	jmp	_xgbe_kx_2500_mode              ## TAILCALL
LBB0_2:
	popq	%rbp
	jmp	_xgbe_kx_1000_mode              ## TAILCALL
LBB0_4:
	popq	%rbp
	jmp	_xgbe_kr_mode                   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_link,4,2                       ## @link
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid operation mode requested (%u)\n"

	.no_dead_strip	_xgbe_change_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_change_mode
_xgbe_change_mode:                      ; @xgbe_change_mode
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	b	_xgbe_x_mode
LBB0_3:
	mov	x4, x1
Lloh2:
	adrp	x8, _link@GOTPAGE
Lloh3:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	ldr	w2, [x0]
	b	_netif_dbg
LBB0_4:
	ret
LBB0_5:
	b	_xgbe_sgmii_1000_mode
LBB0_6:
	b	_xgbe_sgmii_100_mode
LBB0_7:
	b	_xgbe_sfi_mode
LBB0_8:
	b	_xgbe_kx_2500_mode
LBB0_9:
	b	_xgbe_kx_1000_mode
LBB0_10:
	b	_xgbe_kr_mode
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.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
                                        ; -- End function
	.comm	_link,4,2                       ; @link
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid operation mode requested (%u)\n"

	.no_dead_strip	_xgbe_change_mode
.subsections_via_symbols
