	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si_set_ip_blocks               ## -- Begin function si_set_ip_blocks
	.p2align	4, 0x90
_si_set_ip_blocks:                      ## @si_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	_si_detect_hw_virtualization
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_1
## %bb.4:
	movq	_si_common_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gmc_v6_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_si_ih_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gfx_v6_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_si_dma_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_si_smu_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	cmpl	$0, 4(%rbx)
	jne	LBB0_5
## %bb.7:
	movq	_dce_v6_0_ip_block@GOTPCREL(%rip), %rsi
	jmp	LBB0_6
LBB0_1:
	cmpl	$131, %eax
	je	LBB0_8
## %bb.2:
	cmpl	$132, %eax
	jne	LBB0_10
## %bb.3:
	movq	_si_common_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gmc_v6_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_si_ih_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gfx_v6_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_si_dma_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_si_smu_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	cmpl	$0, 4(%rbx)
	jne	LBB0_5
	jmp	LBB0_11
LBB0_8:
	movq	_si_common_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gmc_v6_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_si_ih_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_gfx_v6_0_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_si_dma_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	movq	_si_smu_ip_block@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
	cmpl	$0, 4(%rbx)
	je	LBB0_9
LBB0_5:
	movq	_dce_virtual_ip_block@GOTPCREL(%rip), %rsi
LBB0_6:
	movq	%rbx, %rdi
	callq	_amdgpu_device_ip_block_add
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_11
LBB0_9:
	movq	_dce_v6_4_ip_block@GOTPCREL(%rip), %rsi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_si_common_ip_block,4,2         ## @si_common_ip_block
	.comm	_gmc_v6_0_ip_block,4,2          ## @gmc_v6_0_ip_block
	.comm	_si_ih_ip_block,4,2             ## @si_ih_ip_block
	.comm	_gfx_v6_0_ip_block,4,2          ## @gfx_v6_0_ip_block
	.comm	_si_dma_ip_block,4,2            ## @si_dma_ip_block
	.comm	_si_smu_ip_block,4,2            ## @si_smu_ip_block
	.comm	_dce_virtual_ip_block,4,2       ## @dce_virtual_ip_block
	.comm	_dce_v6_0_ip_block,4,2          ## @dce_v6_0_ip_block
	.comm	_dce_v6_4_ip_block,4,2          ## @dce_v6_4_ip_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si_set_ip_blocks               ; -- Begin function si_set_ip_blocks
	.p2align	2
_si_set_ip_blocks:                      ; @si_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	_si_detect_hw_virtualization
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hs	LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, _si_common_ip_block@GOTPAGE
Lloh1:
	ldr	x1, [x1, _si_common_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh2:
	adrp	x1, _gmc_v6_0_ip_block@GOTPAGE
Lloh3:
	ldr	x1, [x1, _gmc_v6_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh4:
	adrp	x1, _si_ih_ip_block@GOTPAGE
Lloh5:
	ldr	x1, [x1, _si_ih_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh6:
	adrp	x1, _gfx_v6_0_ip_block@GOTPAGE
Lloh7:
	ldr	x1, [x1, _gfx_v6_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh8:
	adrp	x1, _si_dma_ip_block@GOTPAGE
Lloh9:
	ldr	x1, [x1, _si_dma_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh10:
	adrp	x1, _si_smu_ip_block@GOTPAGE
Lloh11:
	ldr	x1, [x1, _si_smu_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_7
; %bb.2:
Lloh12:
	adrp	x1, _dce_v6_0_ip_block@GOTPAGE
Lloh13:
	ldr	x1, [x1, _dce_v6_0_ip_block@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	cmp	w8, #131
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #132
	b.ne	LBB0_10
; %bb.5:
Lloh14:
	adrp	x1, _si_common_ip_block@GOTPAGE
Lloh15:
	ldr	x1, [x1, _si_common_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh16:
	adrp	x1, _gmc_v6_0_ip_block@GOTPAGE
Lloh17:
	ldr	x1, [x1, _gmc_v6_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh18:
	adrp	x1, _si_ih_ip_block@GOTPAGE
Lloh19:
	ldr	x1, [x1, _si_ih_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh20:
	adrp	x1, _gfx_v6_0_ip_block@GOTPAGE
Lloh21:
	ldr	x1, [x1, _gfx_v6_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh22:
	adrp	x1, _si_dma_ip_block@GOTPAGE
Lloh23:
	ldr	x1, [x1, _si_dma_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh24:
	adrp	x1, _si_smu_ip_block@GOTPAGE
Lloh25:
	ldr	x1, [x1, _si_smu_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_7
	b	LBB0_9
LBB0_6:
Lloh26:
	adrp	x1, _si_common_ip_block@GOTPAGE
Lloh27:
	ldr	x1, [x1, _si_common_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh28:
	adrp	x1, _gmc_v6_0_ip_block@GOTPAGE
Lloh29:
	ldr	x1, [x1, _gmc_v6_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh30:
	adrp	x1, _si_ih_ip_block@GOTPAGE
Lloh31:
	ldr	x1, [x1, _si_ih_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh32:
	adrp	x1, _gfx_v6_0_ip_block@GOTPAGE
Lloh33:
	ldr	x1, [x1, _gfx_v6_0_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh34:
	adrp	x1, _si_dma_ip_block@GOTPAGE
Lloh35:
	ldr	x1, [x1, _si_dma_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
Lloh36:
	adrp	x1, _si_smu_ip_block@GOTPAGE
Lloh37:
	ldr	x1, [x1, _si_smu_ip_block@GOTPAGEOFF]
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_11
LBB0_7:
Lloh38:
	adrp	x1, _dce_virtual_ip_block@GOTPAGE
Lloh39:
	ldr	x1, [x1, _dce_virtual_ip_block@GOTPAGEOFF]
LBB0_8:
	mov	x0, x19
	bl	_amdgpu_device_ip_block_add
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	_BUG
	b	LBB0_9
LBB0_11:
Lloh40:
	adrp	x1, _dce_v6_4_ip_block@GOTPAGE
Lloh41:
	ldr	x1, [x1, _dce_v6_4_ip_block@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_si_common_ip_block,4,2         ; @si_common_ip_block
	.comm	_gmc_v6_0_ip_block,4,2          ; @gmc_v6_0_ip_block
	.comm	_si_ih_ip_block,4,2             ; @si_ih_ip_block
	.comm	_gfx_v6_0_ip_block,4,2          ; @gfx_v6_0_ip_block
	.comm	_si_dma_ip_block,4,2            ; @si_dma_ip_block
	.comm	_si_smu_ip_block,4,2            ; @si_smu_ip_block
	.comm	_dce_virtual_ip_block,4,2       ; @dce_virtual_ip_block
	.comm	_dce_v6_0_ip_block,4,2          ; @dce_v6_0_ip_block
	.comm	_dce_v6_4_ip_block,4,2          ; @dce_v6_4_ip_block
.subsections_via_symbols
