	.file	"extr_cik.c_cik_set_ip_blocks.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cik_set_ip_blocks
	.type	cik_set_ip_blocks, @function
cik_set_ip_blocks:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	cik_detect_hw_virtualization@PLT
	mov	eax, DWORD PTR 0[rbp]
	add	eax, -128
	cmp	eax, 4
	ja	.L2
	lea	rdx, .L4[rip]
	lea	rsi, cik_common_ip_block[rip]
	mov	rdi, rbp
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L6-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L6:
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, gmc_v7_0_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, cik_ih_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, gfx_v7_2_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, cik_sdma_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, kv_smu_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	mov	eax, DWORD PTR 4[rbp]
	test	eax, eax
	jne	.L11
	lea	rsi, dce_v8_3_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
.L9:
	mov	rdi, rbp
	lea	rsi, uvd_v4_2_ip_block[rip]
	call	amdgpu_device_ip_block_add@PLT
	mov	rdi, rbp
	lea	rsi, vce_v2_0_ip_block[rip]
	call	amdgpu_device_ip_block_add@PLT
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, gmc_v7_0_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, cik_ih_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, gfx_v7_1_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, cik_sdma_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, kv_smu_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	mov	edx, DWORD PTR 4[rbp]
	test	edx, edx
	jne	.L11
	lea	rsi, dce_v8_1_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, gmc_v7_0_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, cik_ih_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, gfx_v7_3_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, cik_sdma_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, pp_smu_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	mov	ecx, DWORD PTR 4[rbp]
	test	ecx, ecx
	jne	.L11
	lea	rsi, dce_v8_5_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, gmc_v7_0_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, cik_ih_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, gfx_v7_2_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, cik_sdma_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	lea	rsi, pp_smu_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	mov	esi, DWORD PTR 4[rbp]
	test	esi, esi
	jne	.L11
	lea	rsi, dce_v8_2_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rsi, dce_virtual_ip_block[rip]
	mov	rdi, rbp
	call	amdgpu_device_ip_block_add@PLT
	jmp	.L9
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	cik_set_ip_blocks, .-cik_set_ip_blocks
	.comm	vce_v2_0_ip_block,4,4
	.comm	uvd_v4_2_ip_block,4,4
	.comm	pp_smu_ip_block,4,4
	.comm	kv_smu_ip_block,4,4
	.comm	gmc_v7_0_ip_block,4,4
	.comm	gfx_v7_3_ip_block,4,4
	.comm	gfx_v7_2_ip_block,4,4
	.comm	gfx_v7_1_ip_block,4,4
	.comm	dm_ip_block,4,4
	.comm	dce_virtual_ip_block,4,4
	.comm	dce_v8_5_ip_block,4,4
	.comm	dce_v8_3_ip_block,4,4
	.comm	dce_v8_2_ip_block,4,4
	.comm	dce_v8_1_ip_block,4,4
	.comm	cik_sdma_ip_block,4,4
	.comm	cik_ih_ip_block,4,4
	.comm	cik_common_ip_block,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cik.c_cik_set_ip_blocks.c"
	.text
	.align	2
	.global	cik_set_ip_blocks
	.syntax unified
	.arm
	.fpu softvfp
	.type	cik_set_ip_blocks, %function
cik_set_ip_blocks:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	cik_detect_hw_virtualization
	ldr	r3, [r4]
	sub	r3, r3, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L6
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L6:
	ldr	r1, .L14
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+4
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+8
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+12
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+16
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	mov	r0, r4
	ldr	r1, .L14+20
	bl	amdgpu_device_ip_block_add
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L11
	mov	r0, r4
	ldr	r1, .L14+24
	bl	amdgpu_device_ip_block_add
.L9:
	mov	r0, r4
	ldr	r1, .L14+28
	bl	amdgpu_device_ip_block_add
	mov	r0, r4
	ldr	r1, .L14+32
	bl	amdgpu_device_ip_block_add
	mov	r0, #0
	pop	{r4, pc}
.L7:
	ldr	r1, .L14
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+4
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+8
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+36
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+16
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	mov	r0, r4
	ldr	r1, .L14+20
	bl	amdgpu_device_ip_block_add
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L11
	mov	r0, r4
	ldr	r1, .L14+40
	bl	amdgpu_device_ip_block_add
	b	.L9
.L5:
	ldr	r1, .L14
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+4
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+8
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+44
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+16
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	mov	r0, r4
	ldr	r1, .L14+48
	bl	amdgpu_device_ip_block_add
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L11
	mov	r0, r4
	ldr	r1, .L14+52
	bl	amdgpu_device_ip_block_add
	b	.L9
.L3:
	ldr	r1, .L14
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+4
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+8
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+12
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	ldr	r1, .L14+16
	mov	r0, r4
	bl	amdgpu_device_ip_block_add
	mov	r0, r4
	ldr	r1, .L14+48
	bl	amdgpu_device_ip_block_add
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L11
	mov	r0, r4
	ldr	r1, .L14+56
	bl	amdgpu_device_ip_block_add
	b	.L9
.L11:
	mov	r0, r4
	ldr	r1, .L14+60
	bl	amdgpu_device_ip_block_add
	b	.L9
.L2:
	ldr	r3, .L14+64
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L15:
	.align	2
.L14:
	.word	cik_common_ip_block
	.word	gmc_v7_0_ip_block
	.word	cik_ih_ip_block
	.word	gfx_v7_2_ip_block
	.word	cik_sdma_ip_block
	.word	kv_smu_ip_block
	.word	dce_v8_3_ip_block
	.word	uvd_v4_2_ip_block
	.word	vce_v2_0_ip_block
	.word	gfx_v7_1_ip_block
	.word	dce_v8_1_ip_block
	.word	gfx_v7_3_ip_block
	.word	pp_smu_ip_block
	.word	dce_v8_5_ip_block
	.word	dce_v8_2_ip_block
	.word	dce_virtual_ip_block
	.word	EINVAL
	.size	cik_set_ip_blocks, .-cik_set_ip_blocks
	.comm	vce_v2_0_ip_block,4,4
	.comm	uvd_v4_2_ip_block,4,4
	.comm	pp_smu_ip_block,4,4
	.comm	kv_smu_ip_block,4,4
	.comm	gmc_v7_0_ip_block,4,4
	.comm	gfx_v7_3_ip_block,4,4
	.comm	gfx_v7_2_ip_block,4,4
	.comm	gfx_v7_1_ip_block,4,4
	.comm	dm_ip_block,4,4
	.comm	dce_virtual_ip_block,4,4
	.comm	dce_v8_5_ip_block,4,4
	.comm	dce_v8_3_ip_block,4,4
	.comm	dce_v8_2_ip_block,4,4
	.comm	dce_v8_1_ip_block,4,4
	.comm	cik_sdma_ip_block,4,4
	.comm	cik_ih_ip_block,4,4
	.comm	cik_common_ip_block,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
