	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function agp_return_size
_agp_return_size:                       ## @agp_return_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_agp_bridge@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rdx), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	addl	$-128, %ecx
	movl	$0, %eax
	cmpl	$4, %ecx
	ja	LBB0_8
## %bb.1:
	movq	8(%rdx), %rdi
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	callq	_A_SIZE_8
	jmp	LBB0_7
LBB0_4:
	callq	_A_SIZE_32
	jmp	LBB0_7
LBB0_3:
	callq	_A_SIZE_16
	jmp	LBB0_7
LBB0_5:
	callq	_A_SIZE_LVL2
	jmp	LBB0_7
LBB0_6:
	callq	_A_SIZE_FIX
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	movq	_agp_memory_reserved@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	1048575(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$20, %edx
	subl	%edx, %eax
	testl	%eax, %eax
	cmovgl	%eax, %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_agp_bridge,8,3                 ## @agp_bridge
	.comm	_agp_memory_reserved,4,2        ## @agp_memory_reserved
	.no_dead_strip	_agp_return_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function agp_return_size
_agp_return_size:                       ; @agp_return_size
	.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
Lloh0:
	adrp	x8, _agp_bridge@GOTPAGE
Lloh1:
	ldr	x8, [x8, _agp_bridge@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x9]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
	ldr	x0, [x9, #8]
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	bl	_A_SIZE_8
	b	LBB0_8
LBB0_3:
	mov	w8, #0
	b	LBB0_9
LBB0_4:
	bl	_A_SIZE_32
	b	LBB0_8
LBB0_5:
	bl	_A_SIZE_16
	b	LBB0_8
LBB0_6:
	bl	_A_SIZE_LVL2
	b	LBB0_8
LBB0_7:
	bl	_A_SIZE_FIX
LBB0_8:
	ldr	w8, [x0]
LBB0_9:
Lloh5:
	adrp	x9, _agp_memory_reserved@GOTPAGE
Lloh6:
	ldr	x9, [x9, _agp_memory_reserved@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	mov	w10, #1048575
	add	w10, w9, w10
	cmp	w9, #0
	csel	w9, w10, w9, lt
	sub	w8, w8, w9, asr #20
	cmp	w8, #0
	csel	w0, w8, wzr, gt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.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
                                        ; -- End function
	.comm	_agp_bridge,8,3                 ; @agp_bridge
	.comm	_agp_memory_reserved,4,2        ; @agp_memory_reserved
	.no_dead_strip	_agp_return_size
.subsections_via_symbols
