	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_setup_manual_trigger     ## -- Begin function optc2_setup_manual_trigger
	.p2align	4, 0x90
_optc2_setup_manual_trigger:            ## @optc2_setup_manual_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_DCN10TG_FROM_TG
	movq	_OTG_MANUAL_FLOW_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MANUAL_FLOW_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_REG_SET
	movq	_OTG_GLOBAL_CONTROL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MANUAL_FLOW_CONTROL_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	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
	movl	(%rbx), %r9d
	movq	_OTG_TRIGA_RISING_EDGE_DETECT_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_OTG_TRIGA_FALLING_EDGE_DETECT_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	movq	_OTG_TRIGA_POLARITY_SELECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	_OTG_TRIGA_FREQUENCY_SELECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	_OTG_TRIGA_DELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	_OTG_TRIGA_CLEAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	xorl	%esi, %esi
	movl	$22, %ecx
	pushq	$1
	pushq	%rbx
	pushq	$0
	pushq	%rax
	pushq	$0
	pushq	%r15
	pushq	$0
	pushq	%r14
	pushq	$0
	pushq	%r11
	pushq	$1
	pushq	%r10
	callq	_REG_SET_8
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OTG_MANUAL_FLOW_CONTROL,4,2    ## @OTG_MANUAL_FLOW_CONTROL
	.comm	_MANUAL_FLOW_CONTROL,4,2        ## @MANUAL_FLOW_CONTROL
	.comm	_OTG_GLOBAL_CONTROL2,4,2        ## @OTG_GLOBAL_CONTROL2
	.comm	_MANUAL_FLOW_CONTROL_SEL,4,2    ## @MANUAL_FLOW_CONTROL_SEL
	.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_RISING_EDGE_DETECT_CNTL,4,2 ## @OTG_TRIGA_RISING_EDGE_DETECT_CNTL
	.comm	_OTG_TRIGA_FALLING_EDGE_DETECT_CNTL,4,2 ## @OTG_TRIGA_FALLING_EDGE_DETECT_CNTL
	.comm	_OTG_TRIGA_POLARITY_SELECT,4,2  ## @OTG_TRIGA_POLARITY_SELECT
	.comm	_OTG_TRIGA_FREQUENCY_SELECT,4,2 ## @OTG_TRIGA_FREQUENCY_SELECT
	.comm	_OTG_TRIGA_DELAY,4,2            ## @OTG_TRIGA_DELAY
	.comm	_OTG_TRIGA_CLEAR,4,2            ## @OTG_TRIGA_CLEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc2_setup_manual_trigger     ; -- Begin function optc2_setup_manual_trigger
	.p2align	2
_optc2_setup_manual_trigger:            ; @optc2_setup_manual_trigger
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_DCN10TG_FROM_TG
Lloh0:
	adrp	x8, _OTG_MANUAL_FLOW_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OTG_MANUAL_FLOW_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MANUAL_FLOW_CONTROL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MANUAL_FLOW_CONTROL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w20, #1
	mov	w1, #0
	mov	w3, #1
	bl	_REG_SET
Lloh6:
	adrp	x8, _OTG_GLOBAL_CONTROL2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OTG_GLOBAL_CONTROL2@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _MANUAL_FLOW_CONTROL_SEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MANUAL_FLOW_CONTROL_SEL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldr	w3, [x19]
	mov	w1, #0
	bl	_REG_SET
Lloh12:
	adrp	x8, _OTG_TRIGA_CNTL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OTG_TRIGA_CNTL@GOTPAGEOFF]
Lloh14:
	adrp	x9, _OTG_TRIGA_SOURCE_SELECT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _OTG_TRIGA_SOURCE_SELECT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	ldr	w2, [x9]
Lloh18:
	adrp	x8, _OTG_TRIGA_SOURCE_PIPE_SELECT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OTG_TRIGA_SOURCE_PIPE_SELECT@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	ldr	w5, [x19]
Lloh21:
	adrp	x8, _OTG_TRIGA_RISING_EDGE_DETECT_CNTL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OTG_TRIGA_RISING_EDGE_DETECT_CNTL@GOTPAGEOFF]
Lloh23:
	ldr	w6, [x8]
Lloh24:
	adrp	x8, _OTG_TRIGA_FALLING_EDGE_DETECT_CNTL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OTG_TRIGA_FALLING_EDGE_DETECT_CNTL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _OTG_TRIGA_POLARITY_SELECT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _OTG_TRIGA_POLARITY_SELECT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _OTG_TRIGA_FREQUENCY_SELECT@GOTPAGE
Lloh31:
	ldr	x10, [x10, _OTG_TRIGA_FREQUENCY_SELECT@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
Lloh33:
	adrp	x11, _OTG_TRIGA_DELAY@GOTPAGE
Lloh34:
	ldr	x11, [x11, _OTG_TRIGA_DELAY@GOTPAGEOFF]
Lloh35:
	ldr	w11, [x11]
Lloh36:
	adrp	x12, _OTG_TRIGA_CLEAR@GOTPAGE
Lloh37:
	ldr	x12, [x12, _OTG_TRIGA_CLEAR@GOTPAGEOFF]
Lloh38:
	ldr	w12, [x12]
	stp	w12, w20, [sp, #32]
	stp	w11, wzr, [sp, #24]
	stp	w10, wzr, [sp, #16]
	stp	w9, wzr, [sp, #8]
	stp	w8, wzr, [sp]
	mov	w1, #0
	mov	w3, #22
	mov	w7, #1
	bl	_REG_SET_8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OTG_MANUAL_FLOW_CONTROL,4,2    ; @OTG_MANUAL_FLOW_CONTROL
	.comm	_MANUAL_FLOW_CONTROL,4,2        ; @MANUAL_FLOW_CONTROL
	.comm	_OTG_GLOBAL_CONTROL2,4,2        ; @OTG_GLOBAL_CONTROL2
	.comm	_MANUAL_FLOW_CONTROL_SEL,4,2    ; @MANUAL_FLOW_CONTROL_SEL
	.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_RISING_EDGE_DETECT_CNTL,4,2 ; @OTG_TRIGA_RISING_EDGE_DETECT_CNTL
	.comm	_OTG_TRIGA_FALLING_EDGE_DETECT_CNTL,4,2 ; @OTG_TRIGA_FALLING_EDGE_DETECT_CNTL
	.comm	_OTG_TRIGA_POLARITY_SELECT,4,2  ; @OTG_TRIGA_POLARITY_SELECT
	.comm	_OTG_TRIGA_FREQUENCY_SELECT,4,2 ; @OTG_TRIGA_FREQUENCY_SELECT
	.comm	_OTG_TRIGA_DELAY,4,2            ; @OTG_TRIGA_DELAY
	.comm	_OTG_TRIGA_CLEAR,4,2            ; @OTG_TRIGA_CLEAR
.subsections_via_symbols
