	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aw_ccung_register_gates
_aw_ccung_register_gates:               ## @aw_ccung_register_gates
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movq	%rdi, %r15
	movl	$8, %ebx
	xorl	%r12d, %r12d
	leaq	-88(%rbp), %r14
	movabsq	$4294967297, %r13               ## imm = 0x100000001
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$24, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	cmpq	$0, 8(%rcx,%rbx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	%r12d, -64(%rbp)
	movq	8(%r15), %rax
	leaq	(%rax,%rbx), %rcx
	movq	8(%rax,%rbx), %rdx
	movq	%rdx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movl	$1, -60(%rbp)
	movl	-4(%rax,%rbx), %ecx
	movl	%ecx, -68(%rbp)
	movl	-8(%rax,%rbx), %eax
	movl	%eax, -72(%rbp)
	movq	%r13, -88(%rbp)
	movq	$0, -80(%rbp)
	movl	4(%r15), %edi
	movq	%r14, %rsi
	callq	_clknode_gate_register
	movl	(%r15), %eax
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_aw_ccung_register_gates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aw_ccung_register_gates
_aw_ccung_register_gates:               ; @aw_ccung_register_gates
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 b8, -56
	.cfi_offset b9, -64
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	mov	x21, #0
	mov	w22, #1
	movi.2s	v8, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	add	x20, x20, #24
	cmp	x21, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	add	x9, x9, x20
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	str	w21, [sp, #24]
	ldr	x8, [x19, #8]
	add	x8, x8, x20
	ldr	x9, [x8, #16]
	add	x10, x8, #8
	stp	x10, x9, [sp, #32]
	str	w22, [sp, #28]
	ldr	d0, [x8]
	str	d0, [sp, #16]
	str	d8, [sp]
	str	xzr, [sp, #8]
	ldr	w0, [x19, #4]
	mov	x1, sp
	bl	_clknode_gate_register
	ldr	w8, [x19]
	b	LBB0_2
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_aw_ccung_register_gates
.subsections_via_symbols
