	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movl	%eax, %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	192(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_DCN10STRENC_FROM_STRENC
	movq	%rax, %rdi
	callq	_kfree
	movq	192(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	movl	(%r15), %eax
	jmp	LBB0_4
LBB0_5:
	movq	176(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_TO_DCN20_MPC
	movq	%rax, %rdi
	callq	_kfree
	movq	$0, 176(%r15)
LBB0_7:
	movq	168(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_kfree
	movq	$0, 168(%r15)
LBB0_9:
	cmpl	$0, 4(%r15)
	je	LBB0_20
## %bb.10:
	leaq	136(%r15), %r14
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r12
	movl	4(%r15), %eax
	addq	$8, %rbx
	cmpq	%rax, %r12
	jae	LBB0_20
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	160(%r15), %rdi
	cmpq	$0, (%rdi,%rbx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	%rbx, %rdi
	callq	_dcn20_dpp_destroy
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	152(%r15), %rdi
	movq	(%rdi,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	%rbx, %rdi
	movq	(%rax), %rax
	callq	*(%rax)
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	144(%r15), %rax
	movq	(%rax,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	callq	_TO_DCN20_HUBP
	movq	%rax, %rdi
	callq	_kfree
	movq	144(%r15), %rax
	movq	$0, (%rax,%rbx)
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, (%r14)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	callq	_dal_irq_service_destroy
	jmp	LBB0_19
LBB0_20:
	movq	88(%r15), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_29
## %bb.21:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=1
	incq	%r14
	movq	88(%r15), %rax
	movl	4(%rax), %ecx
	addq	$8, %rbx
	cmpq	%rcx, %r14
	jae	LBB0_29
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	128(%r15), %rdi
	cmpq	$0, (%rdi,%rbx)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	addq	%rbx, %rdi
	callq	_dce110_engine_destroy
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	120(%r15), %rax
	movq	(%rax,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	callq	_kfree
	movq	120(%r15), %rax
	movq	$0, (%rax,%rbx)
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	112(%r15), %rax
	movq	(%rax,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=1
	callq	_kfree
	movq	112(%r15), %rax
	movq	$0, (%rax,%rbx)
	jmp	LBB0_28
LBB0_29:
	cmpl	$0, 8(%rax)
	je	LBB0_34
## %bb.30:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_31 Depth=1
	incq	%r14
	movl	8(%rax), %ecx
	addq	$8, %rbx
	cmpq	%rcx, %r14
	jae	LBB0_34
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	104(%r15), %rdi
	movq	(%rdi,%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	addq	%rbx, %rdi
	movq	(%rcx), %rax
	callq	*(%rax)
	movq	88(%r15), %rax
	jmp	LBB0_33
LBB0_34:
	cmpl	$0, 12(%rax)
	je	LBB0_39
## %bb.35:
	xorl	%ebx, %ebx
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_36 Depth=1
	incq	%rbx
	movl	12(%rax), %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_39
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	96(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	callq	_DCN10TG_FROM_TG
	movq	%rax, %rdi
	callq	_kfree
	movq	96(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	movq	88(%r15), %rax
	jmp	LBB0_38
LBB0_39:
	cmpl	$0, 16(%rax)
	je	LBB0_46
## %bb.40:
	xorl	%ebx, %ebx
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_41 Depth=1
	incq	%rbx
	movq	88(%r15), %rax
	movl	16(%rax), %eax
	cmpq	%rax, %rbx
	jae	LBB0_46
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movq	80(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	callq	_TO_DCN20_DWBC
	movq	%rax, %rdi
	callq	_kfree
	movq	80(%r15), %rax
	movq	$0, (%rax,%rbx,8)
LBB0_43:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	72(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_41 Depth=1
	callq	_TO_DCN20_MMHUBBUB
	movq	%rax, %rdi
	callq	_kfree
	movq	72(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	jmp	LBB0_45
LBB0_46:
	movl	8(%r15), %eax
	testl	%eax, %eax
	je	LBB0_51
## %bb.47:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_48 Depth=1
	incq	%r14
	movl	%eax, %ecx
	addq	$8, %rbx
	cmpq	%rcx, %r14
	jae	LBB0_51
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movq	64(%r15), %rdi
	cmpq	$0, (%rdi,%rbx)
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=1
	addq	%rbx, %rdi
	callq	_dce_aud_destroy
	movl	8(%r15), %eax
	jmp	LBB0_50
LBB0_51:
	movl	12(%r15), %eax
	testl	%eax, %eax
	je	LBB0_56
## %bb.52:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_53 Depth=1
	incq	%r14
	movl	%eax, %ecx
	addq	$8, %rbx
	cmpq	%rcx, %r14
	jae	LBB0_56
LBB0_53:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rdi
	cmpq	$0, (%rdi,%rbx)
	je	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_53 Depth=1
	addq	%rbx, %rdi
	callq	_dcn20_clock_source_destroy
	movq	56(%r15), %rax
	movq	$0, (%rax,%rbx)
	movl	12(%r15), %eax
	jmp	LBB0_55
LBB0_56:
	cmpq	$0, 48(%r15)
	je	LBB0_58
## %bb.57:
	leaq	48(%r15), %r14
	movq	%r14, %rdi
	callq	_dcn20_clock_source_destroy
	movq	$0, (%r14)
LBB0_58:
	cmpq	$0, 40(%r15)
	je	LBB0_60
## %bb.59:
	leaq	40(%r15), %rdi
	callq	_dce_abm_destroy
LBB0_60:
	cmpq	$0, 32(%r15)
	je	LBB0_62
## %bb.61:
	leaq	32(%r15), %rdi
	callq	_dce_dmcu_destroy
LBB0_62:
	cmpq	$0, 24(%r15)
	je	LBB0_64
## %bb.63:
	leaq	24(%r15), %rdi
	callq	_dcn_dccg_destroy
LBB0_64:
	cmpq	$0, 16(%r15)
	je	LBB0_65
## %bb.66:
	addq	$16, %r15
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dcn20_pp_smu_destroy           ## TAILCALL
LBB0_65:
	popq	%rbx
	popq	%r12
	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	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]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, uxtw
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #192]
	ldr	x0, [x9, x20, lsl #3]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_DCN10STRENC_FROM_STRENC
	bl	_kfree
	ldr	x8, [x19, #192]
	str	xzr, [x8, x20, lsl #3]
	ldr	w8, [x19]
	b	LBB0_2
LBB0_5:
	ldr	x0, [x19, #176]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_TO_DCN20_MPC
	bl	_kfree
	str	xzr, [x19, #176]
LBB0_7:
	ldr	x0, [x19, #168]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_kfree
	str	xzr, [x19, #168]
LBB0_9:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_20
; %bb.10:
	mov	x21, #0
	mov	x22, #0
	add	x20, x19, #136
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	ldr	w8, [x19, #4]
	add	x21, x21, #8
	cmp	x22, x8
	b.hs	LBB0_20
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #160]
	add	x0, x8, x21
	ldr	x8, [x0]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_dcn20_dpp_destroy
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #152]
	add	x0, x8, x21
	ldr	x8, [x0]
	cbz	x8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x8]
	ldr	x8, [x8]
	blr	x8
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #144]
	ldr	x0, [x8, x21]
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_TO_DCN20_HUBP
	bl	_kfree
	ldr	x8, [x19, #144]
	str	xzr, [x8, x21]
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	bl	_dal_irq_service_destroy
	b	LBB0_11
LBB0_20:
	ldr	x8, [x19, #88]
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_29
; %bb.21:
	mov	x20, #0
	mov	x21, #0
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19, #88]
	ldr	w9, [x8, #4]
	add	x20, x20, #8
	cmp	x21, x9
	b.hs	LBB0_29
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #128]
	add	x0, x8, x20
	ldr	x8, [x0]
	cbz	x8, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	bl	_dce110_engine_destroy
LBB0_25:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x19, #120]
	ldr	x0, [x8, x20]
	cbz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=1
	bl	_kfree
	ldr	x8, [x19, #120]
	str	xzr, [x8, x20]
LBB0_27:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x19, #112]
	ldr	x0, [x8, x20]
	cbz	x0, LBB0_22
; %bb.28:                               ;   in Loop: Header=BB0_23 Depth=1
	bl	_kfree
	ldr	x8, [x19, #112]
	str	xzr, [x8, x20]
	b	LBB0_22
LBB0_29:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_34
; %bb.30:
	mov	x20, #0
	mov	x21, #0
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	add	x21, x21, #1
	ldr	w9, [x8, #8]
	add	x20, x20, #8
	cmp	x21, x9
	b.hs	LBB0_34
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #104]
	add	x0, x9, x20
	ldr	x9, [x0]
	cbz	x9, LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x9]
	ldr	x8, [x8]
	blr	x8
	ldr	x8, [x19, #88]
	b	LBB0_31
LBB0_34:
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_39
; %bb.35:
	mov	x20, #0
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=1
	add	x20, x20, #1
	ldr	w9, [x8, #12]
	cmp	x20, x9
	b.hs	LBB0_39
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #96]
	ldr	x0, [x9, x20, lsl #3]
	cbz	x0, LBB0_36
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=1
	bl	_DCN10TG_FROM_TG
	bl	_kfree
	ldr	x8, [x19, #96]
	str	xzr, [x8, x20, lsl #3]
	ldr	x8, [x19, #88]
	b	LBB0_36
LBB0_39:
	ldr	w8, [x8, #16]
	cbz	w8, LBB0_46
; %bb.40:
	mov	x20, #0
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=1
	add	x20, x20, #1
	ldr	x8, [x19, #88]
	ldr	w8, [x8, #16]
	cmp	x20, x8
	b.hs	LBB0_46
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #80]
	ldr	x0, [x8, x20, lsl #3]
	cbz	x0, LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
	bl	_TO_DCN20_DWBC
	bl	_kfree
	ldr	x8, [x19, #80]
	str	xzr, [x8, x20, lsl #3]
LBB0_44:                                ;   in Loop: Header=BB0_42 Depth=1
	ldr	x8, [x19, #72]
	ldr	x0, [x8, x20, lsl #3]
	cbz	x0, LBB0_41
; %bb.45:                               ;   in Loop: Header=BB0_42 Depth=1
	bl	_TO_DCN20_MMHUBBUB
	bl	_kfree
	ldr	x8, [x19, #72]
	str	xzr, [x8, x20, lsl #3]
	b	LBB0_41
LBB0_46:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_51
; %bb.47:
	mov	x20, #0
	mov	x21, #0
	b	LBB0_49
LBB0_48:                                ;   in Loop: Header=BB0_49 Depth=1
	add	x21, x21, #1
	add	x20, x20, #8
	cmp	x21, w8, uxtw
	b.hs	LBB0_51
LBB0_49:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #64]
	add	x0, x9, x20
	ldr	x9, [x0]
	cbz	x9, LBB0_48
; %bb.50:                               ;   in Loop: Header=BB0_49 Depth=1
	bl	_dce_aud_destroy
	ldr	w8, [x19, #8]
	b	LBB0_48
LBB0_51:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_56
; %bb.52:
	mov	x20, #0
	mov	x21, #0
	b	LBB0_54
LBB0_53:                                ;   in Loop: Header=BB0_54 Depth=1
	add	x21, x21, #1
	add	x20, x20, #8
	cmp	x21, w8, uxtw
	b.hs	LBB0_56
LBB0_54:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #56]
	add	x0, x9, x20
	ldr	x9, [x0]
	cbz	x9, LBB0_53
; %bb.55:                               ;   in Loop: Header=BB0_54 Depth=1
	bl	_dcn20_clock_source_destroy
	ldr	x8, [x19, #56]
	str	xzr, [x8, x20]
	ldr	w8, [x19, #12]
	b	LBB0_53
LBB0_56:
	mov	x20, x19
	ldr	x8, [x20, #48]!
	cbz	x8, LBB0_58
; %bb.57:
	mov	x0, x20
	bl	_dcn20_clock_source_destroy
	str	xzr, [x20]
LBB0_58:
	mov	x0, x19
	ldr	x8, [x0, #40]!
	cbz	x8, LBB0_60
; %bb.59:
	bl	_dce_abm_destroy
LBB0_60:
	mov	x0, x19
	ldr	x8, [x0, #32]!
	cbz	x8, LBB0_62
; %bb.61:
	bl	_dce_dmcu_destroy
LBB0_62:
	mov	x0, x19
	ldr	x8, [x0, #24]!
	cbz	x8, LBB0_64
; %bb.63:
	bl	_dcn_dccg_destroy
LBB0_64:
	ldr	x8, [x19, #16]!
	cbz	x8, LBB0_66
; %bb.65:
	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	_dcn20_pp_smu_destroy
LBB0_66:
	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	_destruct
.subsections_via_symbols
