	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function komeda_component_add_input
_komeda_component_add_input:            ## @komeda_component_add_input
	.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
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	testl	%edx, %edx
	js	LBB0_1
## %bb.2:
	movq	24(%r14), %rax
	xorl	%edi, %edi
	cmpl	%r12d, (%rax)
	setle	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_WARN_ON
	movl	(%r14), %esi
	movl	%r12d, %edi
	callq	_has_bit
	movslq	%r12d, %rbx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	(,%rbx,4), %rdi
	addq	16(%r14), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	shlq	$2, %rbx
	addq	16(%r14), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	%r12d, %edi
	callq	_BIT
	orl	%eax, 8(%r14)
LBB0_6:
	movl	%r12d, %edi
	callq	_BIT
	orl	%eax, 4(%r14)
	movl	%r12d, %edi
	callq	_BIT
	orl	%eax, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_komeda_component_add_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function komeda_component_add_input
_komeda_component_add_input:            ; @komeda_component_add_input
	.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	x21, x1
	mov	x19, x0
	tbnz	w2, #31, LBB0_2
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	cmp	w8, w20
	cset	w0, le
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	bl	_WARN_ON
	ldr	w1, [x19]
	mov	x0, x20
	bl	_has_bit
	cbz	w0, LBB0_6
; %bb.4:
	ldr	x8, [x19, #16]
	add	x0, x8, w20, sxtw #2
	mov	x1, x21
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_8
; %bb.5:
	mov	x8, x20
	sxtw	x8, w8
	b	LBB0_7
LBB0_6:
	sxtw	x8, w20
LBB0_7:
	ldr	x9, [x19, #16]
	add	x0, x9, x8, lsl #2
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	mov	x0, x20
	bl	_BIT
	ldr	w8, [x19, #8]
	orr	w8, w8, w0
	str	w8, [x19, #8]
LBB0_8:
	mov	x0, x20
	bl	_BIT
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
	mov	x0, x20
	bl	_BIT
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_komeda_component_add_input
.subsections_via_symbols
