	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function destruct
_destruct:                              ## @destruct
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	40(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	40(%r15), %r14
	callq	_dal_gpio_close
	movq	%r14, %rdi
	callq	_dal_gpio_destroy_irq
	movq	$0, (%r14)
LBB0_2:
	cmpq	$0, 32(%r15)
	je	LBB0_4
## %bb.3:
	leaq	32(%r15), %rdi
	callq	_dal_ddc_service_destroy
LBB0_4:
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	24(%r15), %rdi
	movq	(%rax), %rax
	callq	*(%rax)
LBB0_6:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_dc_sink_release
LBB0_8:
	cmpl	$0, (%r15)
	jle	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_dc_sink_release
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_destruct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function destruct
_destruct:                              ; @destruct
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x20, x0
	ldr	x0, [x20, #40]!
	cbz	x0, LBB0_2
; %bb.1:
	bl	_dal_gpio_close
	mov	x0, x20
	bl	_dal_gpio_destroy_irq
	str	xzr, [x20]
LBB0_2:
	mov	x0, x19
	ldr	x8, [x0, #32]!
	cbz	x8, LBB0_4
; %bb.3:
	bl	_dal_ddc_service_destroy
LBB0_4:
	mov	x0, x19
	ldr	x8, [x0, #24]!
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x8]
	ldr	x8, [x8]
	blr	x8
LBB0_6:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_dc_sink_release
LBB0_8:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x20, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20, lsl #3]
	bl	_dc_sink_release
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_destruct
.subsections_via_symbols
