	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function velocity_get_opt_media_mode
_velocity_get_opt_media_mode:           ## @velocity_get_opt_media_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	4(%rdi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_VELOCITY_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_7:
	movq	_VELOCITY_SPEED_10@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_5:
	movq	_VELOCITY_SPEED_10@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_6:
	movq	_VELOCITY_SPEED_100@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_4:
	movq	_VELOCITY_SPEED_100@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_8:
	movq	_VELOCITY_SPEED_1000@GOTPCREL(%rip), %rcx
LBB0_9:
	movq	_VELOCITY_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
LBB0_10:
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_VELOCITY_AUTONEG_ENABLE,4,2    ## @VELOCITY_AUTONEG_ENABLE
	.comm	_VELOCITY_SPEED_100,4,2         ## @VELOCITY_SPEED_100
	.comm	_VELOCITY_DUPLEX_FULL,4,2       ## @VELOCITY_DUPLEX_FULL
	.comm	_VELOCITY_SPEED_10,4,2          ## @VELOCITY_SPEED_10
	.comm	_VELOCITY_SPEED_1000,4,2        ## @VELOCITY_SPEED_1000
	.no_dead_strip	_velocity_get_opt_media_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function velocity_get_opt_media_mode
_velocity_get_opt_media_mode:           ; @velocity_get_opt_media_mode
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #4]
	sub	w8, w8, #128
	cmp	w8, #5
	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:
Lloh2:
	adrp	x8, _VELOCITY_AUTONEG_ENABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VELOCITY_AUTONEG_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	b	LBB0_10
LBB0_3:
	mov	w8, #0
	b	LBB0_10
LBB0_4:
Lloh5:
	adrp	x8, _VELOCITY_SPEED_10@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VELOCITY_SPEED_10@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	b	LBB0_10
LBB0_5:
Lloh8:
	adrp	x8, _VELOCITY_SPEED_10@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VELOCITY_SPEED_10@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh10:
	adrp	x8, _VELOCITY_SPEED_100@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VELOCITY_SPEED_100@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	b	LBB0_10
LBB0_7:
Lloh13:
	adrp	x8, _VELOCITY_SPEED_100@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VELOCITY_SPEED_100@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh15:
	adrp	x8, _VELOCITY_SPEED_1000@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VELOCITY_SPEED_1000@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _VELOCITY_DUPLEX_FULL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _VELOCITY_DUPLEX_FULL@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_10:
	str	w8, [x0]
	mov	x0, x8
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.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
                                        ; -- End function
	.comm	_VELOCITY_AUTONEG_ENABLE,4,2    ; @VELOCITY_AUTONEG_ENABLE
	.comm	_VELOCITY_SPEED_100,4,2         ; @VELOCITY_SPEED_100
	.comm	_VELOCITY_DUPLEX_FULL,4,2       ; @VELOCITY_DUPLEX_FULL
	.comm	_VELOCITY_SPEED_10,4,2          ; @VELOCITY_SPEED_10
	.comm	_VELOCITY_SPEED_1000,4,2        ; @VELOCITY_SPEED_1000
	.no_dead_strip	_velocity_get_opt_media_mode
.subsections_via_symbols
