	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function komeda_pipeline_get_component_pos
_komeda_pipeline_get_component_pos:     ## @komeda_pipeline_get_component_pos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	leal	-128(%rsi), %ecx
	cmpl	$13, %ecx
	ja	LBB0_14
## %bb.1:
	movq	40(%rdi), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	32(%rdi), %rax
	movslq	%esi, %rcx
	movl	-548(%rax,%rcx,4), %edi
	popq	%rbp
	jmp	_to_cpos                        ## TAILCALL
LBB0_7:
	movq	16(%rdi), %rax
	movslq	%esi, %rcx
	movl	-528(%rax,%rcx,4), %edi
	popq	%rbp
	jmp	_to_cpos                        ## TAILCALL
LBB0_10:
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movq	-1112(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movl	4(%rax), %edi
	popq	%rbp
	jmp	_to_cpos                        ## TAILCALL
LBB0_4:
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movq	-1128(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	24(%rax), %edi
	popq	%rbp
	jmp	_to_cpos                        ## TAILCALL
LBB0_14:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_15
LBB0_3:
	movl	28(%rdi), %edi
	popq	%rbp
	jmp	_to_cpos                        ## TAILCALL
LBB0_13:
	movl	(%rdi), %edi
	popq	%rbp
	jmp	_to_cpos                        ## TAILCALL
LBB0_8:
	movl	12(%rdi), %edi
	popq	%rbp
	jmp	_to_cpos                        ## TAILCALL
LBB0_9:
	movl	8(%rdi), %edi
	popq	%rbp
	jmp	_to_cpos                        ## TAILCALL
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_15
LBB0_5:
	leaq	L_.str(%rip), %rdi
LBB0_15:
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DRM_ERROR
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"compiz-%d doesn't exist.\n"

L_.str.1:                               ## @.str.1
	.asciz	"ips-%d doesn't exist.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unknown pipeline resource ID: %d.\n"

	.no_dead_strip	_komeda_pipeline_get_component_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function komeda_pipeline_get_component_pos
_komeda_pipeline_get_component_pos:     ; @komeda_pipeline_get_component_pos
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w9, w1, #128
	cmp	w9, #13
	b.hi	LBB0_9
; %bb.1:
	ldr	x8, [x0, #40]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	x8, [x0, #32]
	add	x8, x8, w1, sxtw #2
	sub	x8, x8, #548
	b	LBB0_4
LBB0_3:
	ldr	x8, [x0, #16]
	add	x8, x8, w1, sxtw #2
	sub	x8, x8, #528
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_to_cpos
LBB0_5:
	ldr	x8, [x8]
	add	x8, x8, w1, sxtw #3
	sub	x8, x8, #1112
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.6:
	ldr	w0, [x8, #4]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_to_cpos
LBB0_7:
	ldr	x8, [x8]
	add	x8, x8, w1, sxtw #3
	sub	x8, x8, #1128
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.8:
	ldr	w0, [x8, #24]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_to_cpos
LBB0_9:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_10:
	ldr	w0, [x0, #28]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_to_cpos
LBB0_11:
	ldr	w0, [x0]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_to_cpos
LBB0_12:
	ldr	w0, [x0, #12]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_to_cpos
LBB0_13:
	ldr	w0, [x0, #8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_to_cpos
LBB0_14:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
LBB0_16:
	bl	_DRM_ERROR
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"compiz-%d doesn't exist.\n"

l_.str.1:                               ; @.str.1
	.asciz	"ips-%d doesn't exist.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unknown pipeline resource ID: %d.\n"

	.no_dead_strip	_komeda_pipeline_get_component_pos
.subsections_via_symbols
