	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jpeg_v2_5_start
_jpeg_v2_5_start:                       ## @jpeg_v2_5_start
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	8(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movl	$16, %r13d
	xorl	%r15d, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	addq	$24, %r13
	cmpq	%rcx, %r15
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%rdi), %ecx
	btl	%r15d, %ecx
	jb	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_UVD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_mmUVD_JPEG_POWER_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	callq	_SOC15_REG_OFFSET
	movq	_UVD_JPEG_POWER_STATUS__JPEG_POWER_STATUS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_WREG32_P
	movq	_VCN@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_mmJPEG_CGC_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	%r15d, %esi
	callq	_RREG32_SOC15
	movq	_JPEG_CGC_CTRL__DYN_CLOCK_MODE__SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	btsl	%ecx, %eax
	movq	_JPEG_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %edx
	movq	_JPEG_CGC_CTRL__CLK_OFF_DELAY__SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movl	$4, %ebx
	shll	%cl, %ebx
	btsl	%edx, %eax
	orl	%eax, %ebx
	movl	(%r12), %edi
	movl	(%r14), %edx
	movl	%r15d, %esi
	movl	%ebx, %ecx
	callq	_WREG32_SOC15
	movl	(%r12), %edi
	movq	_mmJPEG_CGC_GATE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r15d, %esi
	callq	_RREG32_SOC15
	movq	_JPEG_CGC_GATE__JPEG2_DEC_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_JPEG_CGC_GATE__JPEG_DEC_MASK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_JPEG_CGC_GATE__JMCIF_MASK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_JPEG_CGC_GATE__JRBBM_MASK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	(%r12), %edi
	movl	(%rbx), %edx
	movl	%r15d, %esi
	callq	_WREG32_SOC15
	movl	(%r12), %edi
	movl	(%r14), %edx
	movl	%r15d, %esi
	callq	_RREG32_SOC15
	movq	_JPEG_CGC_CTRL__JPEG2_DEC_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_JPEG_CGC_CTRL__JPEG_DEC_MODE_MASK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_JPEG_CGC_CTRL__JMCIF_MODE_MASK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_JPEG_CGC_CTRL__JRBBM_MODE_MASK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	(%r12), %edi
	movl	(%r14), %edx
	movl	%r15d, %esi
	callq	_WREG32_SOC15
	movq	_UVD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_mmJPEG_DEC_GFX8_ADDR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	%r15d, %esi
	callq	_WREG32_SOC15
	movl	(%r14), %edi
	movq	_mmJPEG_DEC_GFX10_ADDR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	%r15d, %esi
	callq	_WREG32_SOC15
	movl	(%r14), %edi
	movq	_mmUVD_JMI_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	callq	_SOC15_REG_OFFSET
	movq	_UVD_JMI_CNTL__SOFT_RESET_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_WREG32_P
	movl	(%r12), %edi
	movq	_mmJPEG_SYS_INT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	callq	_SOC15_REG_OFFSET
	movq	_JPEG_SYS_INT_EN__DJRBC_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %edx
	notl	%edx
	movl	%eax, %edi
	callq	_WREG32_P
	movl	(%r14), %edi
	movq	_mmUVD_LMI_JRBC_RB_VMID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	xorl	%ecx, %ecx
	callq	_WREG32_SOC15
	movl	(%r14), %edi
	movq	_mmUVD_JRBC_RB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	movl	$3, %ecx
	callq	_WREG32_SOC15
	movl	(%r14), %ebx
	movq	_mmUVD_LMI_JRBC_RB_64BIT_BAR_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14,%r13), %edi
	callq	_lower_32_bits
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_WREG32_SOC15
	movq	_UVD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_mmUVD_LMI_JRBC_RB_64BIT_BAR_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r14,%r13), %edi
	callq	_upper_32_bits
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_WREG32_SOC15
	movq	_UVD@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_mmUVD_JRBC_RB_RPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	xorl	%ecx, %ecx
	callq	_WREG32_SOC15
	movl	(%r12), %edi
	movq	_mmUVD_JRBC_RB_WPTR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r15d, %esi
	xorl	%ecx, %ecx
	callq	_WREG32_SOC15
	movl	(%r12), %edi
	movq	_mmUVD_JRBC_RB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	movl	$2, %ecx
	callq	_WREG32_SOC15
	movl	(%r12), %edi
	movq	_mmUVD_JRBC_RB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-16(%r14,%r13), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movl	%r15d, %esi
	callq	_WREG32_SOC15
	movl	(%r12), %edi
	movq	_mmUVD_JRBC_RB_WPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	callq	_RREG32_SOC15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, -8(%r14,%r13)
	movl	8(%rdi), %eax
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVD,4,2                        ## @UVD
	.comm	_mmUVD_JPEG_POWER_STATUS,4,2    ## @mmUVD_JPEG_POWER_STATUS
	.comm	_UVD_JPEG_POWER_STATUS__JPEG_POWER_STATUS_MASK,4,2 ## @UVD_JPEG_POWER_STATUS__JPEG_POWER_STATUS_MASK
	.comm	_VCN,4,2                        ## @VCN
	.comm	_mmJPEG_CGC_CTRL,4,2            ## @mmJPEG_CGC_CTRL
	.comm	_JPEG_CGC_CTRL__DYN_CLOCK_MODE__SHIFT,4,2 ## @JPEG_CGC_CTRL__DYN_CLOCK_MODE__SHIFT
	.comm	_JPEG_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT,4,2 ## @JPEG_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT
	.comm	_JPEG_CGC_CTRL__CLK_OFF_DELAY__SHIFT,4,2 ## @JPEG_CGC_CTRL__CLK_OFF_DELAY__SHIFT
	.comm	_mmJPEG_CGC_GATE,4,2            ## @mmJPEG_CGC_GATE
	.comm	_JPEG_CGC_GATE__JPEG_DEC_MASK,4,2 ## @JPEG_CGC_GATE__JPEG_DEC_MASK
	.comm	_JPEG_CGC_GATE__JPEG2_DEC_MASK,4,2 ## @JPEG_CGC_GATE__JPEG2_DEC_MASK
	.comm	_JPEG_CGC_GATE__JMCIF_MASK,4,2  ## @JPEG_CGC_GATE__JMCIF_MASK
	.comm	_JPEG_CGC_GATE__JRBBM_MASK,4,2  ## @JPEG_CGC_GATE__JRBBM_MASK
	.comm	_JPEG_CGC_CTRL__JPEG_DEC_MODE_MASK,4,2 ## @JPEG_CGC_CTRL__JPEG_DEC_MODE_MASK
	.comm	_JPEG_CGC_CTRL__JPEG2_DEC_MODE_MASK,4,2 ## @JPEG_CGC_CTRL__JPEG2_DEC_MODE_MASK
	.comm	_JPEG_CGC_CTRL__JMCIF_MODE_MASK,4,2 ## @JPEG_CGC_CTRL__JMCIF_MODE_MASK
	.comm	_JPEG_CGC_CTRL__JRBBM_MODE_MASK,4,2 ## @JPEG_CGC_CTRL__JRBBM_MODE_MASK
	.comm	_mmJPEG_DEC_GFX8_ADDR_CONFIG,4,2 ## @mmJPEG_DEC_GFX8_ADDR_CONFIG
	.comm	_mmJPEG_DEC_GFX10_ADDR_CONFIG,4,2 ## @mmJPEG_DEC_GFX10_ADDR_CONFIG
	.comm	_mmUVD_JMI_CNTL,4,2             ## @mmUVD_JMI_CNTL
	.comm	_UVD_JMI_CNTL__SOFT_RESET_MASK,4,2 ## @UVD_JMI_CNTL__SOFT_RESET_MASK
	.comm	_mmJPEG_SYS_INT_EN,4,2          ## @mmJPEG_SYS_INT_EN
	.comm	_JPEG_SYS_INT_EN__DJRBC_MASK,4,2 ## @JPEG_SYS_INT_EN__DJRBC_MASK
	.comm	_mmUVD_LMI_JRBC_RB_VMID,4,2     ## @mmUVD_LMI_JRBC_RB_VMID
	.comm	_mmUVD_JRBC_RB_CNTL,4,2         ## @mmUVD_JRBC_RB_CNTL
	.comm	_mmUVD_LMI_JRBC_RB_64BIT_BAR_LOW,4,2 ## @mmUVD_LMI_JRBC_RB_64BIT_BAR_LOW
	.comm	_mmUVD_LMI_JRBC_RB_64BIT_BAR_HIGH,4,2 ## @mmUVD_LMI_JRBC_RB_64BIT_BAR_HIGH
	.comm	_mmUVD_JRBC_RB_RPTR,4,2         ## @mmUVD_JRBC_RB_RPTR
	.comm	_mmUVD_JRBC_RB_WPTR,4,2         ## @mmUVD_JRBC_RB_WPTR
	.comm	_mmUVD_JRBC_RB_SIZE,4,2         ## @mmUVD_JRBC_RB_SIZE
	.no_dead_strip	_jpeg_v2_5_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jpeg_v2_5_start
_jpeg_v2_5_start:                       ; @jpeg_v2_5_start
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0, #8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x23, #0
	mov	x20, #0
Lloh0:
	adrp	x24, _UVD@GOTPAGE
Lloh1:
	ldr	x24, [x24, _UVD@GOTPAGEOFF]
Lloh2:
	adrp	x27, _VCN@GOTPAGE
Lloh3:
	ldr	x27, [x27, _VCN@GOTPAGEOFF]
Lloh4:
	adrp	x28, _mmJPEG_CGC_CTRL@GOTPAGE
Lloh5:
	ldr	x28, [x28, _mmJPEG_CGC_CTRL@GOTPAGEOFF]
Lloh6:
	adrp	x26, _mmUVD_JRBC_RB_CNTL@GOTPAGE
Lloh7:
	ldr	x26, [x26, _mmUVD_JRBC_RB_CNTL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	add	x23, x23, #24
	cmp	x20, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, #12]
	lsr	w9, w9, w20
	tbnz	w9, #0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x19, #16]
	ldr	w0, [x24]
Lloh8:
	adrp	x8, _mmUVD_JPEG_POWER_STATUS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mmUVD_JPEG_POWER_STATUS@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_SOC15_REG_OFFSET
Lloh11:
	adrp	x8, _UVD_JPEG_POWER_STATUS__JPEG_POWER_STATUS_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UVD_JPEG_POWER_STATUS__JPEG_POWER_STATUS_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	w1, #0
	bl	_WREG32_P
	ldr	w0, [x27]
	ldr	w2, [x28]
	mov	x1, x20
	bl	_RREG32_SOC15
Lloh14:
	adrp	x8, _JPEG_CGC_CTRL__DYN_CLOCK_MODE__SHIFT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _JPEG_CGC_CTRL__DYN_CLOCK_MODE__SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	mov	w10, #1
	lsl	w8, w10, w8
	orr	w8, w8, w0
Lloh17:
	adrp	x9, _JPEG_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _JPEG_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _JPEG_CGC_CTRL__CLK_OFF_DELAY__SHIFT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _JPEG_CGC_CTRL__CLK_OFF_DELAY__SHIFT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	mov	w10, #4
	lsl	w9, w10, w9
	orr	w3, w8, w9
	ldr	w0, [x27]
	ldr	w2, [x28]
	mov	x1, x20
	bl	_WREG32_SOC15
	ldr	w0, [x27]
Lloh23:
	adrp	x21, _mmJPEG_CGC_GATE@GOTPAGE
Lloh24:
	ldr	x21, [x21, _mmJPEG_CGC_GATE@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_RREG32_SOC15
Lloh25:
	adrp	x8, _JPEG_CGC_GATE__JPEG_DEC_MASK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _JPEG_CGC_GATE__JPEG_DEC_MASK@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _JPEG_CGC_GATE__JPEG2_DEC_MASK@GOTPAGE
Lloh29:
	ldr	x9, [x9, _JPEG_CGC_GATE__JPEG2_DEC_MASK@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh31:
	adrp	x9, _JPEG_CGC_GATE__JMCIF_MASK@GOTPAGE
Lloh32:
	ldr	x9, [x9, _JPEG_CGC_GATE__JMCIF_MASK@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh34:
	adrp	x9, _JPEG_CGC_GATE__JRBBM_MASK@GOTPAGE
Lloh35:
	ldr	x9, [x9, _JPEG_CGC_GATE__JRBBM_MASK@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w3, w0, w8
	ldr	w0, [x27]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_WREG32_SOC15
	ldr	w0, [x27]
	ldr	w2, [x28]
	mov	x1, x20
	bl	_RREG32_SOC15
Lloh37:
	adrp	x8, _JPEG_CGC_CTRL__JPEG_DEC_MODE_MASK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _JPEG_CGC_CTRL__JPEG_DEC_MODE_MASK@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	adrp	x9, _JPEG_CGC_CTRL__JPEG2_DEC_MODE_MASK@GOTPAGE
Lloh41:
	ldr	x9, [x9, _JPEG_CGC_CTRL__JPEG2_DEC_MODE_MASK@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh43:
	adrp	x9, _JPEG_CGC_CTRL__JMCIF_MODE_MASK@GOTPAGE
Lloh44:
	ldr	x9, [x9, _JPEG_CGC_CTRL__JMCIF_MODE_MASK@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh46:
	adrp	x9, _JPEG_CGC_CTRL__JRBBM_MODE_MASK@GOTPAGE
Lloh47:
	ldr	x9, [x9, _JPEG_CGC_CTRL__JRBBM_MODE_MASK@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w3, w0, w8
	ldr	w0, [x27]
	ldr	w2, [x28]
	mov	x1, x20
	bl	_WREG32_SOC15
	ldr	w0, [x24]
Lloh49:
	adrp	x8, _mmJPEG_DEC_GFX8_ADDR_CONFIG@GOTPAGE
Lloh50:
	ldr	x8, [x8, _mmJPEG_DEC_GFX8_ADDR_CONFIG@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	ldr	w3, [x19]
	mov	x1, x20
	bl	_WREG32_SOC15
	ldr	w0, [x24]
Lloh52:
	adrp	x8, _mmJPEG_DEC_GFX10_ADDR_CONFIG@GOTPAGE
Lloh53:
	ldr	x8, [x8, _mmJPEG_DEC_GFX10_ADDR_CONFIG@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
	ldr	w3, [x19]
	mov	x1, x20
	bl	_WREG32_SOC15
	ldr	w0, [x24]
Lloh55:
	adrp	x8, _mmUVD_JMI_CNTL@GOTPAGE
Lloh56:
	ldr	x8, [x8, _mmUVD_JMI_CNTL@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_SOC15_REG_OFFSET
Lloh58:
	adrp	x8, _UVD_JMI_CNTL__SOFT_RESET_MASK@GOTPAGE
Lloh59:
	ldr	x8, [x8, _UVD_JMI_CNTL__SOFT_RESET_MASK@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	w1, #0
	bl	_WREG32_P
	ldr	w0, [x27]
Lloh61:
	adrp	x8, _mmJPEG_SYS_INT_EN@GOTPAGE
Lloh62:
	ldr	x8, [x8, _mmJPEG_SYS_INT_EN@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_SOC15_REG_OFFSET
Lloh64:
	adrp	x8, _JPEG_SYS_INT_EN__DJRBC_MASK@GOTPAGE
Lloh65:
	ldr	x8, [x8, _JPEG_SYS_INT_EN__DJRBC_MASK@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	mvn	w2, w1
	bl	_WREG32_P
	ldr	w0, [x24]
Lloh67:
	adrp	x8, _mmUVD_LMI_JRBC_RB_VMID@GOTPAGE
Lloh68:
	ldr	x8, [x8, _mmUVD_LMI_JRBC_RB_VMID@GOTPAGEOFF]
Lloh69:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #0
	bl	_WREG32_SOC15
	ldr	w0, [x24]
	ldr	w2, [x26]
	mov	x1, x20
	mov	w3, #3
	bl	_WREG32_SOC15
	ldr	w21, [x24]
Lloh70:
	adrp	x8, _mmUVD_LMI_JRBC_RB_64BIT_BAR_LOW@GOTPAGE
Lloh71:
	ldr	x8, [x8, _mmUVD_LMI_JRBC_RB_64BIT_BAR_LOW@GOTPAGEOFF]
Lloh72:
	ldr	w22, [x8]
	add	x25, x25, x23
	ldr	w0, [x25, #16]
	bl	_lower_32_bits
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_WREG32_SOC15
	ldr	w21, [x24]
Lloh73:
	adrp	x8, _mmUVD_LMI_JRBC_RB_64BIT_BAR_HIGH@GOTPAGE
Lloh74:
	ldr	x8, [x8, _mmUVD_LMI_JRBC_RB_64BIT_BAR_HIGH@GOTPAGEOFF]
Lloh75:
	ldr	w22, [x8]
	ldr	w0, [x25, #16]
	bl	_upper_32_bits
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_WREG32_SOC15
	ldr	w0, [x24]
Lloh76:
	adrp	x8, _mmUVD_JRBC_RB_RPTR@GOTPAGE
Lloh77:
	ldr	x8, [x8, _mmUVD_JRBC_RB_RPTR@GOTPAGEOFF]
Lloh78:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #0
	bl	_WREG32_SOC15
	ldr	w0, [x24]
Lloh79:
	adrp	x21, _mmUVD_JRBC_RB_WPTR@GOTPAGE
Lloh80:
	ldr	x21, [x21, _mmUVD_JRBC_RB_WPTR@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x1, x20
	mov	w3, #0
	bl	_WREG32_SOC15
	ldr	w0, [x24]
	ldr	w2, [x26]
	mov	x1, x20
	mov	w3, #2
	bl	_WREG32_SOC15
	ldr	w0, [x24]
Lloh81:
	adrp	x8, _mmUVD_JRBC_RB_SIZE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _mmUVD_JRBC_RB_SIZE@GOTPAGEOFF]
Lloh83:
	ldr	w2, [x8]
	ldr	w8, [x25]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w3, w8, #2
	mov	x1, x20
	bl	_WREG32_SOC15
	ldr	w0, [x24]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_RREG32_SOC15
	str	x0, [x25, #8]
	ldr	w8, [x19, #8]
	b	LBB0_2
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_UVD,4,2                        ; @UVD
	.comm	_mmUVD_JPEG_POWER_STATUS,4,2    ; @mmUVD_JPEG_POWER_STATUS
	.comm	_UVD_JPEG_POWER_STATUS__JPEG_POWER_STATUS_MASK,4,2 ; @UVD_JPEG_POWER_STATUS__JPEG_POWER_STATUS_MASK
	.comm	_VCN,4,2                        ; @VCN
	.comm	_mmJPEG_CGC_CTRL,4,2            ; @mmJPEG_CGC_CTRL
	.comm	_JPEG_CGC_CTRL__DYN_CLOCK_MODE__SHIFT,4,2 ; @JPEG_CGC_CTRL__DYN_CLOCK_MODE__SHIFT
	.comm	_JPEG_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT,4,2 ; @JPEG_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT
	.comm	_JPEG_CGC_CTRL__CLK_OFF_DELAY__SHIFT,4,2 ; @JPEG_CGC_CTRL__CLK_OFF_DELAY__SHIFT
	.comm	_mmJPEG_CGC_GATE,4,2            ; @mmJPEG_CGC_GATE
	.comm	_JPEG_CGC_GATE__JPEG_DEC_MASK,4,2 ; @JPEG_CGC_GATE__JPEG_DEC_MASK
	.comm	_JPEG_CGC_GATE__JPEG2_DEC_MASK,4,2 ; @JPEG_CGC_GATE__JPEG2_DEC_MASK
	.comm	_JPEG_CGC_GATE__JMCIF_MASK,4,2  ; @JPEG_CGC_GATE__JMCIF_MASK
	.comm	_JPEG_CGC_GATE__JRBBM_MASK,4,2  ; @JPEG_CGC_GATE__JRBBM_MASK
	.comm	_JPEG_CGC_CTRL__JPEG_DEC_MODE_MASK,4,2 ; @JPEG_CGC_CTRL__JPEG_DEC_MODE_MASK
	.comm	_JPEG_CGC_CTRL__JPEG2_DEC_MODE_MASK,4,2 ; @JPEG_CGC_CTRL__JPEG2_DEC_MODE_MASK
	.comm	_JPEG_CGC_CTRL__JMCIF_MODE_MASK,4,2 ; @JPEG_CGC_CTRL__JMCIF_MODE_MASK
	.comm	_JPEG_CGC_CTRL__JRBBM_MODE_MASK,4,2 ; @JPEG_CGC_CTRL__JRBBM_MODE_MASK
	.comm	_mmJPEG_DEC_GFX8_ADDR_CONFIG,4,2 ; @mmJPEG_DEC_GFX8_ADDR_CONFIG
	.comm	_mmJPEG_DEC_GFX10_ADDR_CONFIG,4,2 ; @mmJPEG_DEC_GFX10_ADDR_CONFIG
	.comm	_mmUVD_JMI_CNTL,4,2             ; @mmUVD_JMI_CNTL
	.comm	_UVD_JMI_CNTL__SOFT_RESET_MASK,4,2 ; @UVD_JMI_CNTL__SOFT_RESET_MASK
	.comm	_mmJPEG_SYS_INT_EN,4,2          ; @mmJPEG_SYS_INT_EN
	.comm	_JPEG_SYS_INT_EN__DJRBC_MASK,4,2 ; @JPEG_SYS_INT_EN__DJRBC_MASK
	.comm	_mmUVD_LMI_JRBC_RB_VMID,4,2     ; @mmUVD_LMI_JRBC_RB_VMID
	.comm	_mmUVD_JRBC_RB_CNTL,4,2         ; @mmUVD_JRBC_RB_CNTL
	.comm	_mmUVD_LMI_JRBC_RB_64BIT_BAR_LOW,4,2 ; @mmUVD_LMI_JRBC_RB_64BIT_BAR_LOW
	.comm	_mmUVD_LMI_JRBC_RB_64BIT_BAR_HIGH,4,2 ; @mmUVD_LMI_JRBC_RB_64BIT_BAR_HIGH
	.comm	_mmUVD_JRBC_RB_RPTR,4,2         ; @mmUVD_JRBC_RB_RPTR
	.comm	_mmUVD_JRBC_RB_WPTR,4,2         ; @mmUVD_JRBC_RB_WPTR
	.comm	_mmUVD_JRBC_RB_SIZE,4,2         ; @mmUVD_JRBC_RB_SIZE
	.no_dead_strip	_jpeg_v2_5_start
.subsections_via_symbols
