	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_resources_id
_get_resources_id:                      ## @get_resources_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	%edi, %ebx
	callq	_BLOCK_INFO_BLK_ID
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_BLOCK_INFO_BLK_TYPE
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_KOMEDA_COMPONENT_WB_LAYER@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_1:
	movl	$-1, %edx
	testq	%r15, %r15
	jne	LBB0_15
	jmp	LBB0_16
LBB0_9:
	movq	_D71_PIPELINE_MAX_LAYERS@GOTPCREL(%rip), %rcx
	movl	%r12d, %eax
	cltd
	idivl	(%rcx)
	movq	_KOMEDA_COMPONENT_LAYER0@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_10:
	movq	_KOMEDA_COMPONENT_IPS0@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	movq	_KOMEDA_COMPONENT_TIMING_CTRLR@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_4:
	movq	_KOMEDA_COMPONENT_SPLITTER@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_5:
	movq	_D71_PIPELINE_MAX_SCALERS@GOTPCREL(%rip), %rcx
	movl	%r12d, %eax
	cltd
	idivl	(%rcx)
	movq	_KOMEDA_COMPONENT_SCALER0@GOTPCREL(%rip), %rcx
LBB0_6:
	addl	(%rcx), %edx
	movl	%eax, %r12d
	testq	%r15, %r15
	jne	LBB0_15
	jmp	LBB0_16
LBB0_11:
	movq	_KOMEDA_COMPONENT_MERGER@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %edx
	testq	%r15, %r15
	je	LBB0_16
LBB0_15:
	movl	%edx, (%r15)
LBB0_16:
	testq	%r14, %r14
	je	LBB0_18
## %bb.17:
	movl	%r12d, (%r14)
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_KOMEDA_COMPONENT_COMPIZ0@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edx
	addl	%r12d, %edx
	testq	%r15, %r15
	jne	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_KOMEDA_COMPONENT_WB_LAYER,4,2  ## @KOMEDA_COMPONENT_WB_LAYER
	.comm	_KOMEDA_COMPONENT_SPLITTER,4,2  ## @KOMEDA_COMPONENT_SPLITTER
	.comm	_D71_PIPELINE_MAX_SCALERS,4,2   ## @D71_PIPELINE_MAX_SCALERS
	.comm	_KOMEDA_COMPONENT_SCALER0,4,2   ## @KOMEDA_COMPONENT_SCALER0
	.comm	_KOMEDA_COMPONENT_COMPIZ0,4,2   ## @KOMEDA_COMPONENT_COMPIZ0
	.comm	_D71_PIPELINE_MAX_LAYERS,4,2    ## @D71_PIPELINE_MAX_LAYERS
	.comm	_KOMEDA_COMPONENT_LAYER0,4,2    ## @KOMEDA_COMPONENT_LAYER0
	.comm	_KOMEDA_COMPONENT_IPS0,4,2      ## @KOMEDA_COMPONENT_IPS0
	.comm	_KOMEDA_COMPONENT_MERGER,4,2    ## @KOMEDA_COMPONENT_MERGER
	.comm	_KOMEDA_COMPONENT_TIMING_CTRLR,4,2 ## @KOMEDA_COMPONENT_TIMING_CTRLR
	.no_dead_strip	_get_resources_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_resources_id
_get_resources_id:                      ; @get_resources_id
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	bl	_BLOCK_INFO_BLK_ID
	mov	x21, x0
	mov	x0, x22
	bl	_BLOCK_INFO_BLK_TYPE
	sub	w8, w0, #128
	cmp	w8, #7
	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	x8, _KOMEDA_COMPONENT_WB_LAYER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KOMEDA_COMPONENT_WB_LAYER@GOTPAGEOFF]
	b	LBB0_11
LBB0_3:
	mov	w8, #-1
	cbnz	x20, LBB0_12
	b	LBB0_13
LBB0_4:
Lloh4:
	adrp	x8, _D71_PIPELINE_MAX_LAYERS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _D71_PIPELINE_MAX_LAYERS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	sdiv	w9, w21, w8
	msub	w8, w9, w8, w21
Lloh7:
	adrp	x10, _KOMEDA_COMPONENT_LAYER0@GOTPAGE
Lloh8:
	ldr	x10, [x10, _KOMEDA_COMPONENT_LAYER0@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh9:
	adrp	x8, _KOMEDA_COMPONENT_IPS0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KOMEDA_COMPONENT_IPS0@GOTPAGEOFF]
	b	LBB0_17
LBB0_6:
Lloh11:
	adrp	x8, _KOMEDA_COMPONENT_TIMING_CTRLR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KOMEDA_COMPONENT_TIMING_CTRLR@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh13:
	adrp	x8, _KOMEDA_COMPONENT_SPLITTER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KOMEDA_COMPONENT_SPLITTER@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh15:
	adrp	x8, _D71_PIPELINE_MAX_SCALERS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _D71_PIPELINE_MAX_SCALERS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	sdiv	w9, w21, w8
	msub	w8, w9, w8, w21
Lloh18:
	adrp	x10, _KOMEDA_COMPONENT_SCALER0@GOTPAGE
Lloh19:
	ldr	x10, [x10, _KOMEDA_COMPONENT_SCALER0@GOTPAGEOFF]
LBB0_9:
	ldr	w10, [x10]
	add	w8, w10, w8
	mov	x21, x9
	cbnz	x20, LBB0_12
	b	LBB0_13
LBB0_10:
Lloh20:
	adrp	x8, _KOMEDA_COMPONENT_MERGER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _KOMEDA_COMPONENT_MERGER@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	cbz	x20, LBB0_13
LBB0_12:
	str	w8, [x20]
LBB0_13:
	cbz	x19, LBB0_15
; %bb.14:
	str	w21, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh22:
	adrp	x8, _KOMEDA_COMPONENT_COMPIZ0@GOTPAGE
Lloh23:
	ldr	x8, [x8, _KOMEDA_COMPONENT_COMPIZ0@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	add	w8, w8, w21
	cbnz	x20, LBB0_12
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
                                        ; -- End function
	.comm	_KOMEDA_COMPONENT_WB_LAYER,4,2  ; @KOMEDA_COMPONENT_WB_LAYER
	.comm	_KOMEDA_COMPONENT_SPLITTER,4,2  ; @KOMEDA_COMPONENT_SPLITTER
	.comm	_D71_PIPELINE_MAX_SCALERS,4,2   ; @D71_PIPELINE_MAX_SCALERS
	.comm	_KOMEDA_COMPONENT_SCALER0,4,2   ; @KOMEDA_COMPONENT_SCALER0
	.comm	_KOMEDA_COMPONENT_COMPIZ0,4,2   ; @KOMEDA_COMPONENT_COMPIZ0
	.comm	_D71_PIPELINE_MAX_LAYERS,4,2    ; @D71_PIPELINE_MAX_LAYERS
	.comm	_KOMEDA_COMPONENT_LAYER0,4,2    ; @KOMEDA_COMPONENT_LAYER0
	.comm	_KOMEDA_COMPONENT_IPS0,4,2      ; @KOMEDA_COMPONENT_IPS0
	.comm	_KOMEDA_COMPONENT_MERGER,4,2    ; @KOMEDA_COMPONENT_MERGER
	.comm	_KOMEDA_COMPONENT_TIMING_CTRLR,4,2 ; @KOMEDA_COMPONENT_TIMING_CTRLR
	.no_dead_strip	_get_resources_id
.subsections_via_symbols
