	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v9_0_set_gds_init
_gfx_v9_0_set_gds_init:                 ## @gfx_v9_0_set_gds_init
	.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), %eax
	leal	-131(%rax), %ecx
	cmpl	$2, %ecx
	movl	$4096, %ecx                     ## imm = 0x1000
	movl	$65536, %edx                    ## imm = 0x10000
	cmovbl	%ecx, %edx
	movl	%edx, 8(%rdi)
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movl	$2047, 12(%rdi)                 ## imm = 0x7FF
	jmp	LBB0_8
LBB0_2:
	movl	$639, 12(%rdi)                  ## imm = 0x27F
	jmp	LBB0_8
LBB0_6:
	movl	$4095, 12(%rdi)                 ## imm = 0xFFF
	jmp	LBB0_8
LBB0_3:
	cmpl	$8, 4(%rdi)
	jl	LBB0_5
## %bb.4:
	movl	$119, 12(%rdi)
	jmp	LBB0_8
LBB0_5:
	movl	$351, 12(%rdi)                  ## imm = 0x15F
LBB0_8:
	movabsq	$68719476800, %rax              ## imm = 0x1000000040
	movq	%rax, 16(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_gfx_v9_0_set_gds_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function gfx_v9_0_set_gds_init
lCPI0_0:
	.long	64                              ; 0x40
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_gfx_v9_0_set_gds_init:                 ; @gfx_v9_0_set_gds_init
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w9, w8, #131
	mov	w10, #65536
	mov	w11, #4096
	cmp	w9, #2
	csel	w9, w11, w10, lo
	str	w9, [x0, #8]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_2
; %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:
	mov	w8, #2047
	b	LBB0_8
LBB0_3:
	mov	w8, #639
	b	LBB0_8
LBB0_4:
	mov	w8, #4095
	b	LBB0_8
LBB0_5:
	ldr	w8, [x0, #4]
	cmp	w8, #8
	b.lt	LBB0_7
; %bb.6:
	mov	w8, #119
	b	LBB0_8
LBB0_7:
	mov	w8, #351
LBB0_8:
	str	w8, [x0, #12]
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0, #16]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_gfx_v9_0_set_gds_init
.subsections_via_symbols
