	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resource_parse_asic_id         ## -- Begin function resource_parse_asic_id
	.p2align	4, 0x90
_resource_parse_asic_id:                ## @resource_parse_asic_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_DCE_VERSION_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leal	-128(%rdi), %eax
	cmpl	$6, %eax
	ja	LBB0_22
## %bb.1:
	movq	%rdi, %rbx
	shrq	$32, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movl	%ebx, %edi
	callq	_ASIC_REV_IS_TONGA_P
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movl	%ebx, %edi
	callq	_ASIC_REV_IS_FIJI_P
	testl	%eax, %eax
	je	LBB0_12
LBB0_11:
	movq	_DCE_VERSION_10_0@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_3:
	movl	%ebx, %edi
	callq	_ASIC_REV_IS_KALINDI
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movl	%ebx, %edi
	callq	_ASIC_REV_IS_BHAVANI
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_ASIC_REV_IS_GODAVARI
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	movq	_DCE_VERSION_8_3@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_8:
	movq	_DCE_VERSION_11_0@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_2:
	movq	_DCE_VERSION_8_0@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_18:
	movl	%ebx, %edi
	callq	_ASICREV_IS_VEGA20_P
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movq	_DCE_VERSION_12_1@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_DCE_VERSION_12_0@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %r14d
LBB0_22:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	movl	%ebx, %edi
	callq	_ASIC_REV_IS_POLARIS10_P
	testl	%eax, %eax
	jne	LBB0_15
## %bb.13:
	movl	%ebx, %edi
	callq	_ASIC_REV_IS_POLARIS11_M
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movl	%ebx, %edi
	callq	_ASIC_REV_IS_POLARIS12_V
	testl	%eax, %eax
	je	LBB0_16
LBB0_15:
	movq	_DCE_VERSION_11_2@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_16:
	movl	%ebx, %edi
	callq	_ASIC_REV_IS_VEGAM
	testl	%eax, %eax
	je	LBB0_22
## %bb.17:
	movq	_DCE_VERSION_11_22@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_7:
	movq	_DCE_VERSION_8_1@GOTPCREL(%rip), %rax
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_DCE_VERSION_UNKNOWN,4,2        ## @DCE_VERSION_UNKNOWN
	.comm	_DCE_VERSION_8_0,4,2            ## @DCE_VERSION_8_0
	.comm	_DCE_VERSION_8_3,4,2            ## @DCE_VERSION_8_3
	.comm	_DCE_VERSION_8_1,4,2            ## @DCE_VERSION_8_1
	.comm	_DCE_VERSION_11_0,4,2           ## @DCE_VERSION_11_0
	.comm	_DCE_VERSION_10_0,4,2           ## @DCE_VERSION_10_0
	.comm	_DCE_VERSION_11_2,4,2           ## @DCE_VERSION_11_2
	.comm	_DCE_VERSION_11_22,4,2          ## @DCE_VERSION_11_22
	.comm	_DCE_VERSION_12_1,4,2           ## @DCE_VERSION_12_1
	.comm	_DCE_VERSION_12_0,4,2           ## @DCE_VERSION_12_0
	.comm	_DCN_VERSION_1_0,4,2            ## @DCN_VERSION_1_0
	.comm	_DCN_VERSION_1_01,4,2           ## @DCN_VERSION_1_01
	.comm	_DCN_VERSION_2_0,4,2            ## @DCN_VERSION_2_0
	.comm	_DCN_VERSION_2_1,4,2            ## @DCN_VERSION_2_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resource_parse_asic_id         ; -- Begin function resource_parse_asic_id
	.p2align	2
_resource_parse_asic_id:                ; @resource_parse_asic_id
	.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
Lloh0:
	adrp	x8, _DCE_VERSION_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCE_VERSION_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_15
; %bb.1:
	lsr	x20, x0, #32
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	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	x0, x20
	bl	_ASIC_REV_IS_TONGA_P
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_ASIC_REV_IS_FIJI_P
	cbz	w0, LBB0_16
LBB0_4:
Lloh5:
	adrp	x8, _DCE_VERSION_10_0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DCE_VERSION_10_0@GOTPAGEOFF]
	b	LBB0_14
LBB0_5:
	mov	x0, x20
	bl	_ASIC_REV_IS_KALINDI
	cbnz	w0, LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_ASIC_REV_IS_BHAVANI
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_ASIC_REV_IS_GODAVARI
	cbz	w0, LBB0_21
LBB0_8:
Lloh7:
	adrp	x8, _DCE_VERSION_8_3@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DCE_VERSION_8_3@GOTPAGEOFF]
	b	LBB0_14
LBB0_9:
Lloh9:
	adrp	x8, _DCE_VERSION_11_0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DCE_VERSION_11_0@GOTPAGEOFF]
	b	LBB0_14
LBB0_10:
Lloh11:
	adrp	x8, _DCE_VERSION_8_0@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DCE_VERSION_8_0@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	mov	x0, x20
	bl	_ASICREV_IS_VEGA20_P
	cbz	w0, LBB0_13
; %bb.12:
Lloh13:
	adrp	x8, _DCE_VERSION_12_1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DCE_VERSION_12_1@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh15:
	adrp	x8, _DCE_VERSION_12_0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DCE_VERSION_12_0@GOTPAGEOFF]
LBB0_14:
	ldr	w19, [x8]
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	x0, x20
	bl	_ASIC_REV_IS_POLARIS10_P
	cbnz	w0, LBB0_19
; %bb.17:
	mov	x0, x20
	bl	_ASIC_REV_IS_POLARIS11_M
	cbnz	w0, LBB0_19
; %bb.18:
	mov	x0, x20
	bl	_ASIC_REV_IS_POLARIS12_V
	cbz	w0, LBB0_20
LBB0_19:
Lloh17:
	adrp	x8, _DCE_VERSION_11_2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DCE_VERSION_11_2@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
LBB0_20:
	mov	x0, x20
	bl	_ASIC_REV_IS_VEGAM
Lloh20:
	adrp	x8, _DCE_VERSION_11_22@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DCE_VERSION_11_22@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w19, w19, w8, eq
	b	LBB0_15
LBB0_21:
Lloh23:
	adrp	x8, _DCE_VERSION_8_1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DCE_VERSION_8_1@GOTPAGEOFF]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_DCE_VERSION_UNKNOWN,4,2        ; @DCE_VERSION_UNKNOWN
	.comm	_DCE_VERSION_8_0,4,2            ; @DCE_VERSION_8_0
	.comm	_DCE_VERSION_8_3,4,2            ; @DCE_VERSION_8_3
	.comm	_DCE_VERSION_8_1,4,2            ; @DCE_VERSION_8_1
	.comm	_DCE_VERSION_11_0,4,2           ; @DCE_VERSION_11_0
	.comm	_DCE_VERSION_10_0,4,2           ; @DCE_VERSION_10_0
	.comm	_DCE_VERSION_11_2,4,2           ; @DCE_VERSION_11_2
	.comm	_DCE_VERSION_11_22,4,2          ; @DCE_VERSION_11_22
	.comm	_DCE_VERSION_12_1,4,2           ; @DCE_VERSION_12_1
	.comm	_DCE_VERSION_12_0,4,2           ; @DCE_VERSION_12_0
	.comm	_DCN_VERSION_1_0,4,2            ; @DCN_VERSION_1_0
	.comm	_DCN_VERSION_1_01,4,2           ; @DCN_VERSION_1_01
	.comm	_DCN_VERSION_2_0,4,2            ; @DCN_VERSION_2_0
	.comm	_DCN_VERSION_2_1,4,2            ; @DCN_VERSION_2_1
.subsections_via_symbols
