	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gfx_start                      ## -- Begin function gfx_start
	.p2align	4, 0x90
_gfx_start:                             ## @gfx_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_scd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	testb	$4, 16(%rax)
	jne	LBB0_2
## %bb.1:
	movq	8(%rcx), %r8
	shll	$2, %edi
	andl	$262136, %edi                   ## imm = 0x3FFF8
	addq	%r8, %rdi
	movq	_gfx@GOTPCREL(%rip), %r9
	movq	%rdi, 40(%r9)
	movl	532(%rax), %edi
	addl	%edi, %edi
	andl	$12, %edi
	leaq	L_switch.table.gfx_start(%rip), %rdx
	movl	(%rdi,%rdx), %r10d
	leaq	L_switch.table.gfx_start.1(%rip), %rcx
	movl	(%rdi,%rcx), %ecx
	leaq	L_switch.table.gfx_start.2(%rip), %rdx
	movl	(%rdi,%rdx), %edx
	leaq	L_switch.table.gfx_start.3(%rip), %r11
	movl	%r10d, (%r9)
	movl	%ecx, 4(%r9)
	movl	%edx, 8(%r9)
	movl	540(%rax), %ecx
	shll	$2, %ecx
	andl	(%rdi,%r11), %ecx
	addq	%r8, %rcx
	movq	%rcx, 32(%r9)
	movl	556(%rax), %ecx
	andl	$31, %ecx
	shll	$6, %ecx
	orl	$57, %ecx
	movl	%ecx, 12(%r9)
	movl	$65528, %ecx                    ## imm = 0xFFF8
	andl	564(%rax), %ecx
	movl	580(%rax), %edx
	andl	$63, %edx
	leal	(%rdx,%rcx,8), %ecx
	movl	%ecx, 16(%r9)
	movl	%esi, 20(%r9)
	movl	588(%rax), %ecx
	shll	$2, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%ecx, 24(%r9)
	movl	$128, 536(%rax)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scd,16,3                       ## @scd
	.comm	_gfx,48,3                       ## @gfx
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.gfx_start
L_switch.table.gfx_start:
	.long	524287                          ## 0x7ffff
	.long	524287                          ## 0x7ffff
	.long	8388607                         ## 0x7fffff
	.long	8388607                         ## 0x7fffff

	.p2align	2                               ## @switch.table.gfx_start.1
L_switch.table.gfx_start.1:
	.long	15                              ## 0xf
	.long	16                              ## 0x10
	.long	15                              ## 0xf
	.long	16                              ## 0x10

	.p2align	2                               ## @switch.table.gfx_start.2
L_switch.table.gfx_start.2:
	.long	4                               ## 0x4
	.long	3                               ## 0x3
	.long	8                               ## 0x8
	.long	7                               ## 0x7

	.p2align	2                               ## @switch.table.gfx_start.3
L_switch.table.gfx_start.3:
	.long	261632                          ## 0x3fe00
	.long	262016                          ## 0x3ff80
	.long	131072                          ## 0x20000
	.long	229376                          ## 0x38000

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gfx_start                      ; -- Begin function gfx_start
	.p2align	2
_gfx_start:                             ; @gfx_start
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _scd@GOTPAGE
Lloh1:
	ldr	x9, [x9, _scd@GOTPAGEOFF]
	ldr	x8, [x9]
	ldrb	w10, [x8, #16]
	tbnz	w10, #2, LBB0_2
; %bb.1:
	ldr	w10, [x8, #532]
	ubfx	x10, x10, #1, #2
	lsl	x10, x10, #2
Lloh2:
	adrp	x11, l_switch.table.gfx_start@PAGE
Lloh3:
	add	x11, x11, l_switch.table.gfx_start@PAGEOFF
	ldr	w11, [x11, x10]
Lloh4:
	adrp	x12, l_switch.table.gfx_start.1@PAGE
Lloh5:
	add	x12, x12, l_switch.table.gfx_start.1@PAGEOFF
	ldr	w12, [x12, x10]
Lloh6:
	adrp	x13, l_switch.table.gfx_start.2@PAGE
Lloh7:
	add	x13, x13, l_switch.table.gfx_start.2@PAGEOFF
	ldr	w13, [x13, x10]
	ldr	x9, [x9, #8]
Lloh8:
	adrp	x14, l_switch.table.gfx_start.3@PAGE
Lloh9:
	add	x14, x14, l_switch.table.gfx_start.3@PAGEOFF
	ldr	w10, [x14, x10]
	lsl	w14, w0, #2
	and	w14, w14, #0x3fff8
	add	x14, x9, x14
Lloh10:
	adrp	x15, _gfx@GOTPAGE
Lloh11:
	ldr	x15, [x15, _gfx@GOTPAGEOFF]
	stp	w11, w12, [x15]
	ldr	w11, [x8, #540]
	lsl	w11, w11, #2
	and	x10, x11, x10
	add	x9, x9, x10
	stp	x9, x14, [x15, #32]
	ldr	w9, [x8, #556]
	mov	w10, #57
	bfi	w10, w9, #6, #5
	stp	w13, w10, [x15, #8]
	ldr	w9, [x8, #564]
	lsl	w9, w9, #3
	and	w9, w9, #0x7ffc0
	ldr	w10, [x8, #580]
	bfxil	w9, w10, #0, #6
	stp	w9, w1, [x15, #16]
	ldr	w9, [x8, #588]
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #2
	str	w9, [x15, #24]
	mov	w9, #128
	str	w9, [x8, #536]
LBB0_2:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_scd,16,3                       ; @scd
	.comm	_gfx,48,3                       ; @gfx
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.gfx_start
l_switch.table.gfx_start:
	.long	524287                          ; 0x7ffff
	.long	524287                          ; 0x7ffff
	.long	8388607                         ; 0x7fffff
	.long	8388607                         ; 0x7fffff

	.p2align	2                               ; @switch.table.gfx_start.1
l_switch.table.gfx_start.1:
	.long	15                              ; 0xf
	.long	16                              ; 0x10
	.long	15                              ; 0xf
	.long	16                              ; 0x10

	.p2align	2                               ; @switch.table.gfx_start.2
l_switch.table.gfx_start.2:
	.long	4                               ; 0x4
	.long	3                               ; 0x3
	.long	8                               ; 0x8
	.long	7                               ; 0x7

	.p2align	2                               ; @switch.table.gfx_start.3
l_switch.table.gfx_start.3:
	.long	261632                          ; 0x3fe00
	.long	262016                          ; 0x3ff80
	.long	131072                          ; 0x20000
	.long	229376                          ; 0x38000

.subsections_via_symbols
