	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc1_enable_reset_trigger     ## -- Begin function optc1_enable_reset_trigger
	.p2align	4, 0x90
_optc1_enable_reset_trigger:            ## @optc1_enable_reset_trigger
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_DCN10TG_FROM_TG
	movq	_OTG_V_SYNC_A_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_V_SYNC_A_POL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	callq	_REG_GET
	cmpq	$0, -16(%rbp)
	movq	_OTG_TRIGA_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_TRIGA_SOURCE_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_OTG_TRIGA_SOURCE_PIPE_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	jne	LBB0_1
## %bb.2:
	movq	_OTG_TRIGA_RISING_EDGE_DETECT_CNTL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_OTG_TRIGA_FALLING_EDGE_DETECT_CNTL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	xorl	%esi, %esi
	movl	$20, %ecx
	movl	%ebx, %r9d
	pushq	$1
	pushq	%rax
	callq	_REG_SET_3
	addq	$16, %rsp
	movq	_OTG_FORCE_COUNT_NOW_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_FORCE_COUNT_NOW_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movl	$2, %ecx
	callq	_REG_SET
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OTG_V_SYNC_A_CNTL,4,2          ## @OTG_V_SYNC_A_CNTL
	.comm	_OTG_V_SYNC_A_POL,4,2           ## @OTG_V_SYNC_A_POL
	.comm	_OTG_TRIGA_CNTL,4,2             ## @OTG_TRIGA_CNTL
	.comm	_OTG_TRIGA_SOURCE_SELECT,4,2    ## @OTG_TRIGA_SOURCE_SELECT
	.comm	_OTG_TRIGA_SOURCE_PIPE_SELECT,4,2 ## @OTG_TRIGA_SOURCE_PIPE_SELECT
	.comm	_OTG_TRIGA_FALLING_EDGE_DETECT_CNTL,4,2 ## @OTG_TRIGA_FALLING_EDGE_DETECT_CNTL
	.comm	_OTG_TRIGA_RISING_EDGE_DETECT_CNTL,4,2 ## @OTG_TRIGA_RISING_EDGE_DETECT_CNTL
	.comm	_OTG_FORCE_COUNT_NOW_CNTL,4,2   ## @OTG_FORCE_COUNT_NOW_CNTL
	.comm	_OTG_FORCE_COUNT_NOW_MODE,4,2   ## @OTG_FORCE_COUNT_NOW_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc1_enable_reset_trigger     ; -- Begin function optc1_enable_reset_trigger
	.p2align	2
_optc1_enable_reset_trigger:            ; @optc1_enable_reset_trigger
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	bl	_DCN10TG_FROM_TG
Lloh0:
	adrp	x8, _OTG_V_SYNC_A_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OTG_V_SYNC_A_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _OTG_V_SYNC_A_POL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OTG_V_SYNC_A_POL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_REG_GET
	ldr	x8, [sp, #8]
Lloh6:
	adrp	x9, _OTG_TRIGA_CNTL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OTG_TRIGA_CNTL@GOTPAGEOFF]
Lloh8:
	adrp	x10, _OTG_TRIGA_SOURCE_SELECT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _OTG_TRIGA_SOURCE_SELECT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x9]
Lloh11:
	ldr	w2, [x10]
Lloh12:
	adrp	x9, _OTG_TRIGA_SOURCE_PIPE_SELECT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _OTG_TRIGA_SOURCE_PIPE_SELECT@GOTPAGEOFF]
Lloh14:
	adrp	x10, _OTG_TRIGA_RISING_EDGE_DETECT_CNTL@GOTPAGE
Lloh15:
	ldr	x10, [x10, _OTG_TRIGA_RISING_EDGE_DETECT_CNTL@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x9]
Lloh17:
	adrp	x9, _OTG_TRIGA_FALLING_EDGE_DETECT_CNTL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _OTG_TRIGA_FALLING_EDGE_DETECT_CNTL@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w6, [x8]
	mov	w1, #0
	mov	w3, #20
	mov	x5, x19
	mov	w7, #1
	bl	_REG_SET_3
Lloh19:
	adrp	x8, _OTG_FORCE_COUNT_NOW_CNTL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OTG_FORCE_COUNT_NOW_CNTL@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _OTG_FORCE_COUNT_NOW_MODE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OTG_FORCE_COUNT_NOW_MODE@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	w1, #0
	mov	w3, #2
	bl	_REG_SET
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OTG_V_SYNC_A_CNTL,4,2          ; @OTG_V_SYNC_A_CNTL
	.comm	_OTG_V_SYNC_A_POL,4,2           ; @OTG_V_SYNC_A_POL
	.comm	_OTG_TRIGA_CNTL,4,2             ; @OTG_TRIGA_CNTL
	.comm	_OTG_TRIGA_SOURCE_SELECT,4,2    ; @OTG_TRIGA_SOURCE_SELECT
	.comm	_OTG_TRIGA_SOURCE_PIPE_SELECT,4,2 ; @OTG_TRIGA_SOURCE_PIPE_SELECT
	.comm	_OTG_TRIGA_FALLING_EDGE_DETECT_CNTL,4,2 ; @OTG_TRIGA_FALLING_EDGE_DETECT_CNTL
	.comm	_OTG_TRIGA_RISING_EDGE_DETECT_CNTL,4,2 ; @OTG_TRIGA_RISING_EDGE_DETECT_CNTL
	.comm	_OTG_FORCE_COUNT_NOW_CNTL,4,2   ; @OTG_FORCE_COUNT_NOW_CNTL
	.comm	_OTG_FORCE_COUNT_NOW_MODE,4,2   ; @OTG_FORCE_COUNT_NOW_MODE
.subsections_via_symbols
