	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_ddg                       ## -- Begin function free_ddg
	.p2align	4, 0x90
_free_ddg:                              ## @free_ddg
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	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
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	jle	LBB0_7
## %bb.2:
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	36(%rax,%r15), %edi
	callq	_sbitmap_free
	movq	16(%r14), %rax
	movl	32(%rax,%r15), %edi
	callq	_sbitmap_free
	incq	%r12
	movslq	(%r14), %rax
	cmpq	%rax, %r12
	jge	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	16(%r14), %rax
	imulq	$56, %r12, %r15
	movq	48(%rax,%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	40(%rdi), %rbx
	callq	_free
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r14), %rax
	jmp	LBB0_6
LBB0_7:
	cmpq	$0, 8(%r14)
	jle	LBB0_9
## %bb.8:
	movq	24(%r14), %rdi
	callq	_free
LBB0_9:
	movq	16(%r14), %rdi
	callq	_free
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_10:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_ddg                       ; -- Begin function free_ddg
	.p2align	2
_free_ddg:                              ; @free_ddg
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_10
; %bb.1:
	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	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x20, #0
	mov	w21, #56
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mul	x22, x20, x21
	add	x8, x8, x22
	ldr	w0, [x8, #36]
	bl	_sbitmap_free
	ldr	x8, [x19, #16]
	add	x8, x8, x22
	ldr	w0, [x8, #32]
	bl	_sbitmap_free
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x8, [x19, #16]
	madd	x9, x20, x21, x8
	ldr	x0, [x9, #48]
	cbz	x0, LBB0_3
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x22, [x0, #40]
	bl	_free
	mov	x0, x22
	cbnz	x22, LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	b	LBB0_3
LBB0_7:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.8:
	ldr	x0, [x19, #24]
	bl	_free
LBB0_9:
	ldr	x0, [x19, #16]
	bl	_free
	mov	x0, 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
	b	_free
LBB0_10:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
