	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cik_set_ip_blocks              ## -- Begin function cik_set_ip_blocks
	.p2align	4, 0x90
_cik_set_ip_blocks:                     ## @cik_set_ip_blocks
	.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	%rdi, %rbx
	callq	_cik_detect_hw_virtualization
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_cik_common_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gmc_v7_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_cik_ih_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gfx_v7_2_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_cik_sdma_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_kv_smu_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	cmpl	$0, 4(%rbx)
	jne	LBB0_14
## %bb.3:
	movq	_dce_v8_3_ip_block@GOTPCREL(%rip), %rsi
	jmp	LBB0_15
LBB0_4:
	movq	_cik_common_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gmc_v7_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_cik_ih_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gfx_v7_1_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_cik_sdma_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_kv_smu_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	cmpl	$0, 4(%rbx)
	jne	LBB0_14
## %bb.5:
	movq	_dce_v8_1_ip_block@GOTPCREL(%rip), %rsi
	jmp	LBB0_15
LBB0_6:
	movq	_cik_common_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gmc_v7_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_cik_ih_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gfx_v7_2_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_cik_sdma_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_pp_smu_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	cmpl	$0, 4(%rbx)
	jne	LBB0_14
## %bb.7:
	movq	_dce_v8_2_ip_block@GOTPCREL(%rip), %rsi
	jmp	LBB0_15
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_16
LBB0_9:
	movq	_cik_common_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gmc_v7_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_cik_ih_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gfx_v7_3_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_cik_sdma_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_pp_smu_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	cmpl	$0, 4(%rbx)
	jne	LBB0_14
## %bb.10:
	movq	_dce_v8_5_ip_block@GOTPCREL(%rip), %rsi
	jmp	LBB0_15
LBB0_14:
	movq	_dce_virtual_ip_block@GOTPCREL(%rip), %rsi
LBB0_15:
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_uvd_v4_2_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_vce_v2_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	xorl	%eax, %eax
LBB0_16:
	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_9, LBB0_9-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_2
	.long	L0_0_set_9
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_cik_common_ip_block,4,2        ## @cik_common_ip_block
	.comm	_gmc_v7_0_ip_block,4,2          ## @gmc_v7_0_ip_block
	.comm	_cik_ih_ip_block,4,2            ## @cik_ih_ip_block
	.comm	_gfx_v7_2_ip_block,4,2          ## @gfx_v7_2_ip_block
	.comm	_cik_sdma_ip_block,4,2          ## @cik_sdma_ip_block
	.comm	_pp_smu_ip_block,4,2            ## @pp_smu_ip_block
	.comm	_dce_virtual_ip_block,4,2       ## @dce_virtual_ip_block
	.comm	_dce_v8_2_ip_block,4,2          ## @dce_v8_2_ip_block
	.comm	_uvd_v4_2_ip_block,4,2          ## @uvd_v4_2_ip_block
	.comm	_vce_v2_0_ip_block,4,2          ## @vce_v2_0_ip_block
	.comm	_gfx_v7_3_ip_block,4,2          ## @gfx_v7_3_ip_block
	.comm	_dce_v8_5_ip_block,4,2          ## @dce_v8_5_ip_block
	.comm	_gfx_v7_1_ip_block,4,2          ## @gfx_v7_1_ip_block
	.comm	_kv_smu_ip_block,4,2            ## @kv_smu_ip_block
	.comm	_dce_v8_1_ip_block,4,2          ## @dce_v8_1_ip_block
	.comm	_dce_v8_3_ip_block,4,2          ## @dce_v8_3_ip_block
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_dm_ip_block,4,2                ## @dm_ip_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cik_set_ip_blocks              ; -- Begin function cik_set_ip_blocks
	.p2align	2
_cik_set_ip_blocks:                     ; @cik_set_ip_blocks
	.cfi_startproc
; %bb.0:
	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
	mov	x19, x0
	bl	_cik_detect_hw_virtualization
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %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:
Lloh2:
	adrp	x1, _cik_common_ip_block@GOTPAGE
Lloh3:
	ldr	x1, [x1, _cik_common_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh4:
	adrp	x1, _gmc_v7_0_ip_block@GOTPAGE
Lloh5:
	ldr	x1, [x1, _gmc_v7_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh6:
	adrp	x1, _cik_ih_ip_block@GOTPAGE
Lloh7:
	ldr	x1, [x1, _cik_ih_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh8:
	adrp	x1, _gfx_v7_2_ip_block@GOTPAGE
Lloh9:
	ldr	x1, [x1, _gfx_v7_2_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh10:
	adrp	x1, _cik_sdma_ip_block@GOTPAGE
Lloh11:
	ldr	x1, [x1, _cik_sdma_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh12:
	adrp	x1, _kv_smu_ip_block@GOTPAGE
Lloh13:
	ldr	x1, [x1, _kv_smu_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
	ldr	w8, [x19, #4]
Lloh14:
	adrp	x9, _dce_virtual_ip_block@GOTPAGE
Lloh15:
	ldr	x9, [x9, _dce_virtual_ip_block@GOTPAGEOFF]
Lloh16:
	adrp	x10, _dce_v8_3_ip_block@GOTPAGE
Lloh17:
	ldr	x10, [x10, _dce_v8_3_ip_block@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
Lloh21:
	adrp	x1, _cik_common_ip_block@GOTPAGE
Lloh22:
	ldr	x1, [x1, _cik_common_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh23:
	adrp	x1, _gmc_v7_0_ip_block@GOTPAGE
Lloh24:
	ldr	x1, [x1, _gmc_v7_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh25:
	adrp	x1, _cik_ih_ip_block@GOTPAGE
Lloh26:
	ldr	x1, [x1, _cik_ih_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh27:
	adrp	x1, _gfx_v7_1_ip_block@GOTPAGE
Lloh28:
	ldr	x1, [x1, _gfx_v7_1_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh29:
	adrp	x1, _cik_sdma_ip_block@GOTPAGE
Lloh30:
	ldr	x1, [x1, _cik_sdma_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh31:
	adrp	x1, _kv_smu_ip_block@GOTPAGE
Lloh32:
	ldr	x1, [x1, _kv_smu_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
	ldr	w8, [x19, #4]
Lloh33:
	adrp	x9, _dce_virtual_ip_block@GOTPAGE
Lloh34:
	ldr	x9, [x9, _dce_virtual_ip_block@GOTPAGEOFF]
Lloh35:
	adrp	x10, _dce_v8_1_ip_block@GOTPAGE
Lloh36:
	ldr	x10, [x10, _dce_v8_1_ip_block@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh37:
	adrp	x1, _cik_common_ip_block@GOTPAGE
Lloh38:
	ldr	x1, [x1, _cik_common_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh39:
	adrp	x1, _gmc_v7_0_ip_block@GOTPAGE
Lloh40:
	ldr	x1, [x1, _gmc_v7_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh41:
	adrp	x1, _cik_ih_ip_block@GOTPAGE
Lloh42:
	ldr	x1, [x1, _cik_ih_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh43:
	adrp	x1, _gfx_v7_3_ip_block@GOTPAGE
Lloh44:
	ldr	x1, [x1, _gfx_v7_3_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh45:
	adrp	x1, _cik_sdma_ip_block@GOTPAGE
Lloh46:
	ldr	x1, [x1, _cik_sdma_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh47:
	adrp	x1, _pp_smu_ip_block@GOTPAGE
Lloh48:
	ldr	x1, [x1, _pp_smu_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
	ldr	w8, [x19, #4]
Lloh49:
	adrp	x9, _dce_virtual_ip_block@GOTPAGE
Lloh50:
	ldr	x9, [x9, _dce_virtual_ip_block@GOTPAGEOFF]
Lloh51:
	adrp	x10, _dce_v8_5_ip_block@GOTPAGE
Lloh52:
	ldr	x10, [x10, _dce_v8_5_ip_block@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh53:
	adrp	x1, _cik_common_ip_block@GOTPAGE
Lloh54:
	ldr	x1, [x1, _cik_common_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh55:
	adrp	x1, _gmc_v7_0_ip_block@GOTPAGE
Lloh56:
	ldr	x1, [x1, _gmc_v7_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh57:
	adrp	x1, _cik_ih_ip_block@GOTPAGE
Lloh58:
	ldr	x1, [x1, _cik_ih_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh59:
	adrp	x1, _gfx_v7_2_ip_block@GOTPAGE
Lloh60:
	ldr	x1, [x1, _gfx_v7_2_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh61:
	adrp	x1, _cik_sdma_ip_block@GOTPAGE
Lloh62:
	ldr	x1, [x1, _cik_sdma_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh63:
	adrp	x1, _pp_smu_ip_block@GOTPAGE
Lloh64:
	ldr	x1, [x1, _pp_smu_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
	ldr	w8, [x19, #4]
Lloh65:
	adrp	x9, _dce_virtual_ip_block@GOTPAGE
Lloh66:
	ldr	x9, [x9, _dce_virtual_ip_block@GOTPAGEOFF]
Lloh67:
	adrp	x10, _dce_v8_2_ip_block@GOTPAGE
Lloh68:
	ldr	x10, [x10, _dce_v8_2_ip_block@GOTPAGEOFF]
LBB0_7:
	cmp	w8, #0
	csel	x1, x10, x9, eq
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh69:
	adrp	x1, _uvd_v4_2_ip_block@GOTPAGE
Lloh70:
	ldr	x1, [x1, _uvd_v4_2_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh71:
	adrp	x1, _vce_v2_0_ip_block@GOTPAGE
Lloh72:
	ldr	x1, [x1, _vce_v2_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_cik_common_ip_block,4,2        ; @cik_common_ip_block
	.comm	_gmc_v7_0_ip_block,4,2          ; @gmc_v7_0_ip_block
	.comm	_cik_ih_ip_block,4,2            ; @cik_ih_ip_block
	.comm	_gfx_v7_2_ip_block,4,2          ; @gfx_v7_2_ip_block
	.comm	_cik_sdma_ip_block,4,2          ; @cik_sdma_ip_block
	.comm	_pp_smu_ip_block,4,2            ; @pp_smu_ip_block
	.comm	_dce_virtual_ip_block,4,2       ; @dce_virtual_ip_block
	.comm	_dce_v8_2_ip_block,4,2          ; @dce_v8_2_ip_block
	.comm	_uvd_v4_2_ip_block,4,2          ; @uvd_v4_2_ip_block
	.comm	_vce_v2_0_ip_block,4,2          ; @vce_v2_0_ip_block
	.comm	_gfx_v7_3_ip_block,4,2          ; @gfx_v7_3_ip_block
	.comm	_dce_v8_5_ip_block,4,2          ; @dce_v8_5_ip_block
	.comm	_gfx_v7_1_ip_block,4,2          ; @gfx_v7_1_ip_block
	.comm	_kv_smu_ip_block,4,2            ; @kv_smu_ip_block
	.comm	_dce_v8_1_ip_block,4,2          ; @dce_v8_1_ip_block
	.comm	_dce_v8_3_ip_block,4,2          ; @dce_v8_3_ip_block
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_dm_ip_block,4,2                ; @dm_ip_block
.subsections_via_symbols
