	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_komeda_kms_add_private_objs    ## -- Begin function komeda_kms_add_private_objs
	.p2align	4, 0x90
_komeda_kms_add_private_objs:           ## @komeda_kms_add_private_objs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rsi)
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%r12d, %r12d
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movq	8(%r14), %rax
	movq	(%rax,%r12,8), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_komeda_pipeline_obj_add
	testl	%eax, %eax
	jne	LBB0_22
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	56(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_komeda_layer_obj_add
	testl	%eax, %eax
	jne	LBB0_22
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=2
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	48(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_komeda_layer_obj_add
	testl	%eax, %eax
	jne	LBB0_22
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 4(%r13)
	jle	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	40(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_komeda_scaler_obj_add
	testl	%eax, %eax
	jne	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_14 Depth=2
	incq	%rbx
	movslq	4(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	32(%r13), %esi
	movq	%r15, %rdi
	callq	_komeda_compiz_obj_add
	testl	%eax, %eax
	jne	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_komeda_splitter_obj_add
	testl	%eax, %eax
	jne	LBB0_22
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_komeda_merger_obj_add
	testl	%eax, %eax
	jne	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	12(%r13), %esi
	movq	%r15, %rdi
	callq	_komeda_improc_obj_add
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r13), %esi
	movq	%r15, %rdi
	callq	_komeda_timing_ctrlr_obj_add
	testl	%eax, %eax
	jne	LBB0_22
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movslq	(%r14), %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %r12
	jl	LBB0_4
	jmp	LBB0_22
LBB0_1:
	xorl	%eax, %eax
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_komeda_kms_add_private_objs    ; -- Begin function komeda_kms_add_private_objs
	.p2align	2
_komeda_kms_add_private_objs:           ; @komeda_kms_add_private_objs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x22, #0
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x8, [x19, #8]
	ldr	x21, [x8, x22, lsl #3]
	mov	x0, x20
	mov	x1, x21
	bl	_komeda_pipeline_obj_add
	cbnz	w0, LBB0_22
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #56]
	ldr	x1, [x8, x23, lsl #3]
	mov	x0, x20
	bl	_komeda_layer_obj_add
	cbnz	w0, LBB0_22
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x23, x23, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.lt	LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x21, #48]
	cbz	x1, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_komeda_layer_obj_add
	cbnz	w0, LBB0_22
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
LBB0_11:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #40]
	ldr	w1, [x8, x23, lsl #2]
	mov	x0, x20
	bl	_komeda_scaler_obj_add
	cbnz	w0, LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x23, x23, #1
	ldrsw	x8, [x21, #4]
	cmp	x23, x8
	b.lt	LBB0_11
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21, #32]
	mov	x0, x20
	bl	_komeda_compiz_obj_add
	cbnz	w0, LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x21, #24]
	cbz	x1, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_komeda_splitter_obj_add
	cbnz	w0, LBB0_22
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x21, #16]
	cbz	x1, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_komeda_merger_obj_add
	cbnz	w0, LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21, #12]
	mov	x0, x20
	bl	_komeda_improc_obj_add
	cbnz	w0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21, #8]
	mov	x0, x20
	bl	_komeda_timing_ctrlr_obj_add
	cbnz	w0, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.lt	LBB0_2
	b	LBB0_22
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
