	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvd_v4_2_stop
_uvd_v4_2_stop:                         ## @uvd_v4_2_stop
	.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, %r14
	movq	_mmUVD_RBC_RB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$285278465, %esi                ## imm = 0x11010101
	callq	_WREG32
	movl	$100, %ebx
	movq	_mmUVD_STATUS@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_RREG32
	testb	$2, %al
	jne	LBB0_30
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_1
## %bb.3:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_RREG32
	testb	$2, %al
	jne	LBB0_30
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_4
## %bb.6:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_RREG32
	testb	$2, %al
	jne	LBB0_30
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_7
## %bb.9:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_RREG32
	testb	$2, %al
	jne	LBB0_30
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_10
## %bb.12:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_RREG32
	testb	$2, %al
	jne	LBB0_30
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_13
## %bb.15:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_RREG32
	testb	$2, %al
	jne	LBB0_30
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_16
## %bb.18:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_RREG32
	testb	$2, %al
	jne	LBB0_30
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_19
## %bb.21:
	movl	$100, %ebx
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_RREG32
	testb	$2, %al
	jne	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_22
## %bb.24:
	movl	$100, %ebx
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_RREG32
	testb	$2, %al
	jne	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_25
## %bb.27:
	movl	$100, %ebx
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_RREG32
	testb	$2, %al
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_28
LBB0_30:
	movl	$100, %ebx
	movq	_mmUVD_LMI_STATUS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testb	$15, %al
	jne	LBB0_60
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_31
## %bb.33:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testb	$15, %al
	jne	LBB0_60
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_34
## %bb.36:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testb	$15, %al
	jne	LBB0_60
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_37
## %bb.39:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testb	$15, %al
	jne	LBB0_60
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_40
## %bb.42:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testb	$15, %al
	jne	LBB0_60
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_43
## %bb.45:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testb	$15, %al
	jne	LBB0_60
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_46
## %bb.48:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testb	$15, %al
	jne	LBB0_60
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_49
## %bb.51:
	movl	$100, %ebx
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testb	$15, %al
	jne	LBB0_60
## %bb.53:                              ##   in Loop: Header=BB0_52 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_52
## %bb.54:
	movl	$100, %ebx
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testb	$15, %al
	jne	LBB0_60
## %bb.56:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_55
## %bb.57:
	movl	$100, %ebx
LBB0_58:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testb	$15, %al
	jne	LBB0_60
## %bb.59:                              ##   in Loop: Header=BB0_58 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_58
LBB0_60:
	movq	_mmUVD_LMI_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$256, %esi                      ## imm = 0x100
	movl	$-257, %edx                     ## imm = 0xFEFF
	callq	_WREG32_P
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_61:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testl	$576, %eax                      ## imm = 0x240
	jne	LBB0_90
## %bb.62:                              ##   in Loop: Header=BB0_61 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_61
## %bb.63:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_64:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testl	$576, %eax                      ## imm = 0x240
	jne	LBB0_90
## %bb.65:                              ##   in Loop: Header=BB0_64 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_64
## %bb.66:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_67:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testl	$576, %eax                      ## imm = 0x240
	jne	LBB0_90
## %bb.68:                              ##   in Loop: Header=BB0_67 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_67
## %bb.69:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_70:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testl	$576, %eax                      ## imm = 0x240
	jne	LBB0_90
## %bb.71:                              ##   in Loop: Header=BB0_70 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_70
## %bb.72:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_73:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testl	$576, %eax                      ## imm = 0x240
	jne	LBB0_90
## %bb.74:                              ##   in Loop: Header=BB0_73 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_73
## %bb.75:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_76:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testl	$576, %eax                      ## imm = 0x240
	jne	LBB0_90
## %bb.77:                              ##   in Loop: Header=BB0_76 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_76
## %bb.78:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_79:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testl	$576, %eax                      ## imm = 0x240
	jne	LBB0_90
## %bb.80:                              ##   in Loop: Header=BB0_79 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_79
## %bb.81:
	movl	$100, %ebx
LBB0_82:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testl	$576, %eax                      ## imm = 0x240
	jne	LBB0_90
## %bb.83:                              ##   in Loop: Header=BB0_82 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_82
## %bb.84:
	movl	$100, %ebx
LBB0_85:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testl	$576, %eax                      ## imm = 0x240
	jne	LBB0_90
## %bb.86:                              ##   in Loop: Header=BB0_85 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_85
## %bb.87:
	movl	$100, %ebx
LBB0_88:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_RREG32
	testl	$576, %eax                      ## imm = 0x240
	jne	LBB0_90
## %bb.89:                              ##   in Loop: Header=BB0_88 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%ebx
	jne	LBB0_88
LBB0_90:
	movl	$15689, %edi                    ## imm = 0x3D49
	xorl	%esi, %esi
	movl	$-5, %edx
	callq	_WREG32_P
	movq	_mmUVD_VCPU_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$-513, %edx                     ## imm = 0xFDFF
	callq	_WREG32_P
	movq	_mmUVD_SOFT_RESET@GOTPCREL(%rip), %rax
	movq	_UVD_SOFT_RESET__LMI_SOFT_RESET_MASK@GOTPCREL(%rip), %rcx
	movq	_UVD_SOFT_RESET__VCPU_SOFT_RESET_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movl	(%rax), %edi
	movq	_UVD_SOFT_RESET__LMI_UMC_SOFT_RESET_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_WREG32
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_WREG32
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_uvd_v4_2_set_dcm               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmUVD_RBC_RB_CNTL,4,2          ## @mmUVD_RBC_RB_CNTL
	.comm	_mmUVD_STATUS,4,2               ## @mmUVD_STATUS
	.comm	_mmUVD_LMI_STATUS,4,2           ## @mmUVD_LMI_STATUS
	.comm	_mmUVD_LMI_CTRL2,4,2            ## @mmUVD_LMI_CTRL2
	.comm	_mmUVD_VCPU_CNTL,4,2            ## @mmUVD_VCPU_CNTL
	.comm	_mmUVD_SOFT_RESET,4,2           ## @mmUVD_SOFT_RESET
	.comm	_UVD_SOFT_RESET__LMI_SOFT_RESET_MASK,4,2 ## @UVD_SOFT_RESET__LMI_SOFT_RESET_MASK
	.comm	_UVD_SOFT_RESET__VCPU_SOFT_RESET_MASK,4,2 ## @UVD_SOFT_RESET__VCPU_SOFT_RESET_MASK
	.comm	_UVD_SOFT_RESET__LMI_UMC_SOFT_RESET_MASK,4,2 ## @UVD_SOFT_RESET__LMI_UMC_SOFT_RESET_MASK
	.no_dead_strip	_uvd_v4_2_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvd_v4_2_stop
_uvd_v4_2_stop:                         ; @uvd_v4_2_stop
	.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	x19, x0
Lloh0:
	adrp	x8, _mmUVD_RBC_RB_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmUVD_RBC_RB_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #257
	movk	w1, #4353, lsl #16
	bl	_WREG32
	mov	w21, #100
Lloh3:
	adrp	x20, _mmUVD_STATUS@GOTPAGE
Lloh4:
	ldr	x20, [x20, _mmUVD_STATUS@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbnz	w0, #1, LBB0_30
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w21, w21, #1
	b.ne	LBB0_1
; %bb.3:
	mov	w21, #100
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbnz	w0, #1, LBB0_30
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w21, w21, #1
	b.ne	LBB0_4
; %bb.6:
	mov	w21, #100
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbnz	w0, #1, LBB0_30
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w21, w21, #1
	b.ne	LBB0_7
; %bb.9:
	mov	w21, #100
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbnz	w0, #1, LBB0_30
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w21, w21, #1
	b.ne	LBB0_10
; %bb.12:
	mov	w21, #100
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbnz	w0, #1, LBB0_30
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w21, w21, #1
	b.ne	LBB0_13
; %bb.15:
	mov	w21, #100
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbnz	w0, #1, LBB0_30
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w21, w21, #1
	b.ne	LBB0_16
; %bb.18:
	mov	w21, #100
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbnz	w0, #1, LBB0_30
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w21, w21, #1
	b.ne	LBB0_19
; %bb.21:
	mov	w21, #100
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbnz	w0, #1, LBB0_30
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w21, w21, #1
	b.ne	LBB0_22
; %bb.24:
	mov	w21, #100
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbnz	w0, #1, LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w21, w21, #1
	b.ne	LBB0_25
; %bb.27:
	mov	w21, #100
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	tbnz	w0, #1, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w21, w21, #1
	b.ne	LBB0_28
LBB0_30:
	mov	w22, #100
Lloh5:
	adrp	x21, _mmUVD_LMI_STATUS@GOTPAGE
Lloh6:
	ldr	x21, [x21, _mmUVD_LMI_STATUS@GOTPAGEOFF]
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, #0xf
	b.ne	LBB0_60
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_31
; %bb.33:
	mov	w22, #100
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, #0xf
	b.ne	LBB0_60
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_34
; %bb.36:
	mov	w22, #100
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, #0xf
	b.ne	LBB0_60
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_37
; %bb.39:
	mov	w22, #100
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, #0xf
	b.ne	LBB0_60
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_40
; %bb.42:
	mov	w22, #100
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, #0xf
	b.ne	LBB0_60
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_43
; %bb.45:
	mov	w22, #100
LBB0_46:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, #0xf
	b.ne	LBB0_60
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_46
; %bb.48:
	mov	w22, #100
LBB0_49:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, #0xf
	b.ne	LBB0_60
; %bb.50:                               ;   in Loop: Header=BB0_49 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_49
; %bb.51:
	mov	w22, #100
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, #0xf
	b.ne	LBB0_60
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_52
; %bb.54:
	mov	w22, #100
LBB0_55:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, #0xf
	b.ne	LBB0_60
; %bb.56:                               ;   in Loop: Header=BB0_55 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_55
; %bb.57:
	mov	w22, #100
LBB0_58:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, #0xf
	b.ne	LBB0_60
; %bb.59:                               ;   in Loop: Header=BB0_58 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_58
LBB0_60:
Lloh7:
	adrp	x8, _mmUVD_LMI_CTRL2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _mmUVD_LMI_CTRL2@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	w1, #256
	mov	w2, #-257
	bl	_WREG32_P
	mov	w22, #100
	mov	w23, #576
LBB0_61:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, w23
	b.ne	LBB0_90
; %bb.62:                               ;   in Loop: Header=BB0_61 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_61
; %bb.63:
	mov	w22, #100
	mov	w23, #576
LBB0_64:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, w23
	b.ne	LBB0_90
; %bb.65:                               ;   in Loop: Header=BB0_64 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_64
; %bb.66:
	mov	w22, #100
	mov	w23, #576
LBB0_67:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, w23
	b.ne	LBB0_90
; %bb.68:                               ;   in Loop: Header=BB0_67 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_67
; %bb.69:
	mov	w22, #100
	mov	w23, #576
LBB0_70:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, w23
	b.ne	LBB0_90
; %bb.71:                               ;   in Loop: Header=BB0_70 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_70
; %bb.72:
	mov	w22, #100
	mov	w23, #576
LBB0_73:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, w23
	b.ne	LBB0_90
; %bb.74:                               ;   in Loop: Header=BB0_73 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_73
; %bb.75:
	mov	w22, #100
	mov	w23, #576
LBB0_76:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, w23
	b.ne	LBB0_90
; %bb.77:                               ;   in Loop: Header=BB0_76 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_76
; %bb.78:
	mov	w22, #100
	mov	w23, #576
LBB0_79:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, w23
	b.ne	LBB0_90
; %bb.80:                               ;   in Loop: Header=BB0_79 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_79
; %bb.81:
	mov	w22, #100
	mov	w23, #576
LBB0_82:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, w23
	b.ne	LBB0_90
; %bb.83:                               ;   in Loop: Header=BB0_82 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_82
; %bb.84:
	mov	w22, #100
	mov	w23, #576
LBB0_85:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, w23
	b.ne	LBB0_90
; %bb.86:                               ;   in Loop: Header=BB0_85 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_85
; %bb.87:
	mov	w22, #100
	mov	w23, #576
LBB0_88:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_RREG32
	tst	w0, w23
	b.ne	LBB0_90
; %bb.89:                               ;   in Loop: Header=BB0_88 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w22, w22, #1
	b.ne	LBB0_88
LBB0_90:
	mov	w0, #15689
	mov	w1, #0
	mov	w2, #-5
	bl	_WREG32_P
Lloh10:
	adrp	x8, _mmUVD_VCPU_CNTL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _mmUVD_VCPU_CNTL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #-513
	bl	_WREG32_P
Lloh13:
	adrp	x8, _mmUVD_SOFT_RESET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _mmUVD_SOFT_RESET@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _UVD_SOFT_RESET__LMI_SOFT_RESET_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UVD_SOFT_RESET__LMI_SOFT_RESET_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _UVD_SOFT_RESET__VCPU_SOFT_RESET_MASK@GOTPAGE
Lloh20:
	ldr	x9, [x9, _UVD_SOFT_RESET__VCPU_SOFT_RESET_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh22:
	adrp	x9, _UVD_SOFT_RESET__LMI_UMC_SOFT_RESET_MASK@GOTPAGE
Lloh23:
	ldr	x9, [x9, _UVD_SOFT_RESET__LMI_UMC_SOFT_RESET_MASK@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_WREG32
	ldr	w0, [x20]
	mov	w1, #0
	bl	_WREG32
	mov	x0, x19
	mov	w1, #0
	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
	b	_uvd_v4_2_set_dcm
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_mmUVD_RBC_RB_CNTL,4,2          ; @mmUVD_RBC_RB_CNTL
	.comm	_mmUVD_STATUS,4,2               ; @mmUVD_STATUS
	.comm	_mmUVD_LMI_STATUS,4,2           ; @mmUVD_LMI_STATUS
	.comm	_mmUVD_LMI_CTRL2,4,2            ; @mmUVD_LMI_CTRL2
	.comm	_mmUVD_VCPU_CNTL,4,2            ; @mmUVD_VCPU_CNTL
	.comm	_mmUVD_SOFT_RESET,4,2           ; @mmUVD_SOFT_RESET
	.comm	_UVD_SOFT_RESET__LMI_SOFT_RESET_MASK,4,2 ; @UVD_SOFT_RESET__LMI_SOFT_RESET_MASK
	.comm	_UVD_SOFT_RESET__VCPU_SOFT_RESET_MASK,4,2 ; @UVD_SOFT_RESET__VCPU_SOFT_RESET_MASK
	.comm	_UVD_SOFT_RESET__LMI_UMC_SOFT_RESET_MASK,4,2 ; @UVD_SOFT_RESET__LMI_UMC_SOFT_RESET_MASK
	.no_dead_strip	_uvd_v4_2_stop
.subsections_via_symbols
