	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function agp_speed
_agp_speed:                             ## @agp_speed
	.cfi_startproc
## %bb.0:
	movl	$3, %eax
	testb	$4, %sil
	jne	LBB0_3
## %bb.1:
	movl	$2, %eax
	testb	$2, %sil
	jne	LBB0_3
## %bb.2:
	movl	$1, %eax
	xorl	%ecx, %ecx
	testb	$1, %sil
	je	LBB0_6
LBB0_3:
	testl	%edi, %edi
	je	LBB0_4
## %bb.5:
	addl	$2, %eax
	xorl	%ecx, %ecx
	cmpl	$5, %eax
	cmovnel	%eax, %ecx
	jmp	LBB0_6
LBB0_4:
	movl	%eax, %ecx
LBB0_6:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_agp_speeds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_agp_speeds,8,3                 ## @agp_speeds
	.no_dead_strip	_agp_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function agp_speed
_agp_speed:                             ; @agp_speed
	.cfi_startproc
; %bb.0:
	tbnz	w1, #2, LBB0_4
; %bb.1:
	tbnz	w1, #1, LBB0_5
; %bb.2:
	tbnz	w1, #0, LBB0_6
; %bb.3:
	mov	w8, #0
	b	LBB0_8
LBB0_4:
	mov	w8, #3
	b	LBB0_7
LBB0_5:
	mov	w8, #2
	b	LBB0_7
LBB0_6:
	mov	w8, #1
LBB0_7:
	add	w9, w8, #2
	cmp	w9, #5
	csel	w9, wzr, w9, eq
	cmp	w0, #0
	csel	w8, w8, w9, eq
LBB0_8:
Lloh0:
	adrp	x9, _agp_speeds@GOTPAGE
Lloh1:
	ldr	x9, [x9, _agp_speeds@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x9, w8, uxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_agp_speeds,8,3                 ; @agp_speeds
	.no_dead_strip	_agp_speed
.subsections_via_symbols
