	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gk104_pcie_set_cap_speed
_gk104_pcie_set_cap_speed:              ## @gk104_pcie_set_cap_speed
	.cfi_startproc
## %bb.0:
	addl	$-128, %esi
	cmpl	$2, %esi
	ja	LBB0_1
## %bb.2:
	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
	movq	(%rdi), %r14
	movslq	%esi, %rax
	leaq	l_switch.table.gk104_pcie_set_cap_speed(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	shll	$16, %esi
	movl	$196608, %ebx                   ## imm = 0x30000
	subl	%esi, %ebx
	movl	%eax, %esi
	callq	_gf100_pcie_set_cap_speed
	movq	%r14, %rdi
	movl	$573888, %esi                   ## imm = 0x8C1C0
	movl	$196608, %edx                   ## imm = 0x30000
	movl	%ebx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nvkm_mask                      ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gk104_pcie_set_cap_speed
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.gk104_pcie_set_cap_speed
l_switch.table.gk104_pcie_set_cap_speed:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gk104_pcie_set_cap_speed
_gk104_pcie_set_cap_speed:              ; @gk104_pcie_set_cap_speed
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
	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
	ldr	x19, [x0]
Lloh0:
	adrp	x9, l_switch.table.gk104_pcie_set_cap_speed@PAGE
Lloh1:
	add	x9, x9, l_switch.table.gk104_pcie_set_cap_speed@PAGEOFF
	ldr	w1, [x9, w8, sxtw #2]
	mov	w9, #196608
	sub	w20, w9, w8, lsl #16
	bl	_gf100_pcie_set_cap_speed
	mov	x0, x19
	mov	w1, #49600
	movk	w1, #8, lsl #16
	mov	w2, #196608
	mov	x3, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nvkm_mask
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gk104_pcie_set_cap_speed
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.gk104_pcie_set_cap_speed
l_switch.table.gk104_pcie_set_cap_speed:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	0                               ; 0x0

.subsections_via_symbols
