	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dba_macro_new                  ## -- Begin function dba_macro_new
	.p2align	4, 0x90
_dba_macro_new:                         ## @dba_macro_new
	.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
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rdi, %r14
	cmpl	$0, (%rcx)
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 4(%r12,%rbx,4)
	leaq	1(%rbx), %rbx
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movl	4(%r14), %edi
	callq	_dba_array_get
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_get_macro_entry
	movl	(%r12), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.5:
	movq	%rax, %r15
	addq	$4, %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %r13d
	movl	(%r14), %ebx
	callq	_be32toh
	cltq
	imulq	$1717986919, %rax, %rsi         ## imm = 0x66666667
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$33, %rsi
	addl	%eax, %esi
	sarl	$2, %esi
	decl	%esi
	movl	%ebx, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_dba_array_get
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_dba_array_add
	movl	(%r12), %edi
	addq	$4, %r12
	testl	%edi, %edi
	jne	LBB0_6
LBB0_7:
	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	_dba_macro_new                  ; -- Begin function dba_macro_new
	.p2align	2
_dba_macro_new:                         ; @dba_macro_new
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	ldr	w8, [x3]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x22, #0
	add	x8, x20, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8, x22, lsl #2]
	add	x22, x22, #1
	cbnz	w9, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	ldr	w0, [x19, #4]
	bl	_dba_array_get
	mov	x1, x21
	mov	x2, x22
	bl	_get_macro_entry
	mov	x21, x0
	ldr	w0, [x20]
	cbz	w0, LBB0_7
; %bb.5:
	add	x23, x20, #4
	mov	w24, #26215
	movk	w24, #26214, lsl #16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w20, [x21]
	ldr	w22, [x19]
	bl	_be32toh
	smull	x8, w0, w24
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w9
	asr	w8, w8, #2
	sub	w1, w8, #1
	mov	x0, x22
	bl	_dba_array_get
	mov	x1, x0
	mov	x0, x20
	bl	_dba_array_add
	ldr	w0, [x23], #4
	cbnz	w0, LBB0_6
LBB0_7:
	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
