	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc1_set_drr                  ## -- Begin function optc1_set_drr
	.p2align	4, 0x90
_optc1_set_drr:                         ## @optc1_set_drr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_DCN10TG_FROM_TG
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	jle	LBB0_6
## %bb.2:
	cmpq	$0, 8(%rbx)
	jle	LBB0_6
## %bb.3:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_OTG_V_TOTAL_MID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	decq	%rax
	xorl	%esi, %esi
	movl	%edi, %edx
	movq	%rax, %rcx
	callq	_REG_SET
	movq	_OTG_V_TOTAL_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_VTOTAL_MID_REPLACING_MAX_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OTG_VTOTAL_MID_FRAME_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	24(%rbx), %r8d
	movl	$1, %edx
	callq	_REG_UPDATE_2
	movq	(%rbx), %rcx
LBB0_5:
	movq	_OTG_V_TOTAL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	decq	%rcx
	xorl	%esi, %esi
	movl	%edi, %edx
	callq	_REG_SET
	movq	_OTG_V_TOTAL_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rcx
	decq	%rcx
	xorl	%esi, %esi
	movl	%edi, %edx
	callq	_REG_SET
	movq	_OTG_V_TOTAL_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_V_TOTAL_MIN_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OTG_V_TOTAL_MAX_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_OTG_FORCE_LOCK_ON_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_OTG_SET_V_TOTAL_MIN_MASK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_OTG_SET_V_TOTAL_MIN_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	subq	$8, %rsp
	movl	$1, %edx
	movl	$1, %r8d
	pushq	$0
	pushq	%rbx
	pushq	$0
	pushq	%rax
	pushq	$0
	callq	_REG_UPDATE_5
	addq	$48, %rsp
	movq	(%r14), %rax
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_6:
	movq	_OTG_V_TOTAL_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_SET_V_TOTAL_MIN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OTG_V_TOTAL_MIN_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_OTG_V_TOTAL_MAX_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_OTG_FORCE_LOCK_ON_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	%rax
	pushq	$0
	callq	_REG_UPDATE_4
	addq	$32, %rsp
	movq	_OTG_V_TOTAL_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	%edi, %edx
	xorl	%ecx, %ecx
	callq	_REG_SET
	movq	_OTG_V_TOTAL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	%edi, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_SET                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OTG_V_TOTAL_MID,4,2            ## @OTG_V_TOTAL_MID
	.comm	_OTG_V_TOTAL_CONTROL,4,2        ## @OTG_V_TOTAL_CONTROL
	.comm	_OTG_VTOTAL_MID_REPLACING_MAX_EN,4,2 ## @OTG_VTOTAL_MID_REPLACING_MAX_EN
	.comm	_OTG_VTOTAL_MID_FRAME_NUM,4,2   ## @OTG_VTOTAL_MID_FRAME_NUM
	.comm	_OTG_V_TOTAL_MAX,4,2            ## @OTG_V_TOTAL_MAX
	.comm	_OTG_V_TOTAL_MIN,4,2            ## @OTG_V_TOTAL_MIN
	.comm	_OTG_V_TOTAL_MIN_SEL,4,2        ## @OTG_V_TOTAL_MIN_SEL
	.comm	_OTG_V_TOTAL_MAX_SEL,4,2        ## @OTG_V_TOTAL_MAX_SEL
	.comm	_OTG_FORCE_LOCK_ON_EVENT,4,2    ## @OTG_FORCE_LOCK_ON_EVENT
	.comm	_OTG_SET_V_TOTAL_MIN_MASK_EN,4,2 ## @OTG_SET_V_TOTAL_MIN_MASK_EN
	.comm	_OTG_SET_V_TOTAL_MIN_MASK,4,2   ## @OTG_SET_V_TOTAL_MIN_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc1_set_drr                  ; -- Begin function optc1_set_drr
	.p2align	2
_optc1_set_drr:                         ; @optc1_set_drr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_DCN10TG_FROM_TG
	cbz	x20, LBB0_6
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.2:
	ldr	x9, [x20, #8]
	cmp	x9, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	x9, [x20, #16]
Lloh0:
	adrp	x21, _OTG_V_TOTAL_CONTROL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OTG_V_TOTAL_CONTROL@GOTPAGEOFF]
	cbz	x9, LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _OTG_V_TOTAL_MID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OTG_V_TOTAL_MID@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	sub	x3, x9, #1
	mov	w1, #0
	mov	x2, x0
	bl	_REG_SET
Lloh5:
	adrp	x8, _OTG_VTOTAL_MID_REPLACING_MAX_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OTG_VTOTAL_MID_REPLACING_MAX_EN@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _OTG_VTOTAL_MID_FRAME_NUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OTG_VTOTAL_MID_FRAME_NUM@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	ldr	w4, [x20, #24]
	mov	w2, #1
	bl	_REG_UPDATE_2
	ldr	x8, [x20]
LBB0_5:
Lloh11:
	adrp	x9, _OTG_V_TOTAL_MAX@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OTG_V_TOTAL_MAX@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x9]
	sub	x3, x8, #1
	mov	w1, #0
	mov	x2, x0
	bl	_REG_SET
Lloh14:
	adrp	x8, _OTG_V_TOTAL_MIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OTG_V_TOTAL_MIN@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	sub	x3, x8, #1
	mov	w1, #0
	mov	x2, x0
	bl	_REG_SET
	ldr	w0, [x21]
Lloh17:
	adrp	x8, _OTG_V_TOTAL_MIN_SEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OTG_V_TOTAL_MIN_SEL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _OTG_V_TOTAL_MAX_SEL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OTG_V_TOTAL_MAX_SEL@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
Lloh23:
	adrp	x8, _OTG_FORCE_LOCK_ON_EVENT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _OTG_FORCE_LOCK_ON_EVENT@GOTPAGEOFF]
Lloh25:
	ldr	w5, [x8]
Lloh26:
	adrp	x8, _OTG_SET_V_TOTAL_MIN_MASK_EN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OTG_SET_V_TOTAL_MIN_MASK_EN@GOTPAGEOFF]
Lloh28:
	ldr	w7, [x8]
Lloh29:
	adrp	x8, _OTG_SET_V_TOTAL_MIN_MASK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _OTG_SET_V_TOTAL_MIN_MASK@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #4]
	str	wzr, [sp]
	mov	w2, #1
	mov	w4, #1
	mov	w6, #0
	bl	_REG_UPDATE_5
	ldr	x8, [x19]
	ldr	x1, [x8]
	mov	x0, x19
	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
	add	sp, sp, #64
	br	x1
LBB0_6:
Lloh32:
	adrp	x8, _OTG_V_TOTAL_CONTROL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _OTG_V_TOTAL_CONTROL@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _OTG_SET_V_TOTAL_MIN_MASK@GOTPAGE
Lloh36:
	ldr	x8, [x8, _OTG_SET_V_TOTAL_MIN_MASK@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x8, _OTG_V_TOTAL_MIN_SEL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _OTG_V_TOTAL_MIN_SEL@GOTPAGEOFF]
Lloh40:
	ldr	w3, [x8]
Lloh41:
	adrp	x8, _OTG_V_TOTAL_MAX_SEL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OTG_V_TOTAL_MAX_SEL@GOTPAGEOFF]
Lloh43:
	ldr	w5, [x8]
Lloh44:
	adrp	x8, _OTG_FORCE_LOCK_ON_EVENT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _OTG_FORCE_LOCK_ON_EVENT@GOTPAGEOFF]
Lloh46:
	ldr	w7, [x8]
	str	wzr, [sp]
	mov	w2, #0
	mov	w4, #0
	mov	w6, #0
	bl	_REG_UPDATE_4
Lloh47:
	adrp	x8, _OTG_V_TOTAL_MIN@GOTPAGE
Lloh48:
	ldr	x8, [x8, _OTG_V_TOTAL_MIN@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	mov	w1, #0
	mov	x2, x0
	mov	x3, #0
	bl	_REG_SET
Lloh50:
	adrp	x8, _OTG_V_TOTAL_MAX@GOTPAGE
Lloh51:
	ldr	x8, [x8, _OTG_V_TOTAL_MAX@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	mov	w1, #0
	mov	x2, x0
	mov	x3, #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
	add	sp, sp, #64
	b	_REG_SET
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_OTG_V_TOTAL_MID,4,2            ; @OTG_V_TOTAL_MID
	.comm	_OTG_V_TOTAL_CONTROL,4,2        ; @OTG_V_TOTAL_CONTROL
	.comm	_OTG_VTOTAL_MID_REPLACING_MAX_EN,4,2 ; @OTG_VTOTAL_MID_REPLACING_MAX_EN
	.comm	_OTG_VTOTAL_MID_FRAME_NUM,4,2   ; @OTG_VTOTAL_MID_FRAME_NUM
	.comm	_OTG_V_TOTAL_MAX,4,2            ; @OTG_V_TOTAL_MAX
	.comm	_OTG_V_TOTAL_MIN,4,2            ; @OTG_V_TOTAL_MIN
	.comm	_OTG_V_TOTAL_MIN_SEL,4,2        ; @OTG_V_TOTAL_MIN_SEL
	.comm	_OTG_V_TOTAL_MAX_SEL,4,2        ; @OTG_V_TOTAL_MAX_SEL
	.comm	_OTG_FORCE_LOCK_ON_EVENT,4,2    ; @OTG_FORCE_LOCK_ON_EVENT
	.comm	_OTG_SET_V_TOTAL_MIN_MASK_EN,4,2 ; @OTG_SET_V_TOTAL_MIN_MASK_EN
	.comm	_OTG_SET_V_TOTAL_MIN_MASK,4,2   ; @OTG_SET_V_TOTAL_MIN_MASK
.subsections_via_symbols
