	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_driver_pstate                  ## -- Begin function driver_pstate
	.p2align	4, 0x90
_driver_pstate:                         ## @driver_pstate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edx
	leal	-128(%rdx), %eax
	cmpl	$10, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_IB_PORTPHYSSTATE_LINKUP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_OPA_PORTPHYSSTATE_OFFLINE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_IB_PORTPHYSSTATE_TRAINING@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	movq	_IB_PORTPHYSSTATE_POLLING@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dd_dev_err
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_8:
	movq	_IB_PORTPHYSSTATE_DISABLED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_IB_PORTPHYSSTATE_LINKUP,4,2    ## @IB_PORTPHYSSTATE_LINKUP
	.comm	_IB_PORTPHYSSTATE_POLLING,4,2   ## @IB_PORTPHYSSTATE_POLLING
	.comm	_IB_PORTPHYSSTATE_DISABLED,4,2  ## @IB_PORTPHYSSTATE_DISABLED
	.comm	_OPA_PORTPHYSSTATE_OFFLINE,4,2  ## @OPA_PORTPHYSSTATE_OFFLINE
	.comm	_IB_PORTPHYSSTATE_TRAINING,4,2  ## @IB_PORTPHYSSTATE_TRAINING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid host_link_state 0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_driver_pstate                  ; -- Begin function driver_pstate
	.p2align	2
_driver_pstate:                         ; @driver_pstate
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w2, [x0]
	sub	w8, w2, #128
	cmp	w8, #10
	b.hi	LBB0_6
; %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, _IB_PORTPHYSSTATE_LINKUP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IB_PORTPHYSSTATE_LINKUP@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh4:
	adrp	x8, _OPA_PORTPHYSSTATE_OFFLINE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OPA_PORTPHYSSTATE_OFFLINE@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh6:
	adrp	x8, _IB_PORTPHYSSTATE_TRAINING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_PORTPHYSSTATE_TRAINING@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _IB_PORTPHYSSTATE_POLLING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_PORTPHYSSTATE_POLLING@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	w0, [x0, #4]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dd_dev_err
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh12:
	adrp	x8, _IB_PORTPHYSSTATE_DISABLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_PORTPHYSSTATE_DISABLED@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_IB_PORTPHYSSTATE_LINKUP,4,2    ; @IB_PORTPHYSSTATE_LINKUP
	.comm	_IB_PORTPHYSSTATE_POLLING,4,2   ; @IB_PORTPHYSSTATE_POLLING
	.comm	_IB_PORTPHYSSTATE_DISABLED,4,2  ; @IB_PORTPHYSSTATE_DISABLED
	.comm	_OPA_PORTPHYSSTATE_OFFLINE,4,2  ; @OPA_PORTPHYSSTATE_OFFLINE
	.comm	_IB_PORTPHYSSTATE_TRAINING,4,2  ; @IB_PORTPHYSSTATE_TRAINING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid host_link_state 0x%x\n"

.subsections_via_symbols
