	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc1_get_otg_active_size      ## -- Begin function optc1_get_otg_active_size
	.p2align	4, 0x90
_optc1_get_otg_active_size:             ## @optc1_get_otg_active_size
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_DCN10TG_FROM_TG
	movq	_OTG_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_MASTER_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_REG_GET
	cmpq	$0, -56(%rbp)
	je	LBB0_1
## %bb.2:
	movq	_OTG_V_BLANK_START_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_V_BLANK_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OTG_V_BLANK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rdx
	leaq	-40(%rbp), %r8
	callq	_REG_GET_2
	movq	_OTG_H_BLANK_START_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OTG_H_BLANK_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OTG_H_BLANK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rdx
	leaq	-24(%rbp), %r8
	callq	_REG_GET_2
	movq	-48(%rbp), %rax
	subq	-40(%rbp), %rax
	movq	%rax, (%rbx)
	movq	-32(%rbp), %rax
	subq	-24(%rbp), %rax
	movq	%rax, (%r14)
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OTG_CONTROL,4,2                ## @OTG_CONTROL
	.comm	_OTG_MASTER_EN,4,2              ## @OTG_MASTER_EN
	.comm	_OTG_V_BLANK_START_END,4,2      ## @OTG_V_BLANK_START_END
	.comm	_OTG_V_BLANK_START,4,2          ## @OTG_V_BLANK_START
	.comm	_OTG_V_BLANK_END,4,2            ## @OTG_V_BLANK_END
	.comm	_OTG_H_BLANK_START_END,4,2      ## @OTG_H_BLANK_START_END
	.comm	_OTG_H_BLANK_START,4,2          ## @OTG_H_BLANK_START
	.comm	_OTG_H_BLANK_END,4,2            ## @OTG_H_BLANK_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_optc1_get_otg_active_size      ; -- Begin function optc1_get_otg_active_size
	.p2align	2
_optc1_get_otg_active_size:             ; @optc1_get_otg_active_size
	.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, x2
	mov	x20, x1
	bl	_DCN10TG_FROM_TG
Lloh0:
	adrp	x8, _OTG_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OTG_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _OTG_MASTER_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OTG_MASTER_EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #24
	bl	_REG_GET
	ldur	x8, [x29, #-24]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _OTG_V_BLANK_START_END@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OTG_V_BLANK_START_END@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _OTG_V_BLANK_START@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OTG_V_BLANK_START@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _OTG_V_BLANK_END@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OTG_V_BLANK_END@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	add	x2, sp, #32
	add	x4, sp, #24
	bl	_REG_GET_2
Lloh15:
	adrp	x8, _OTG_H_BLANK_START_END@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OTG_H_BLANK_START_END@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _OTG_H_BLANK_START@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OTG_H_BLANK_START@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _OTG_H_BLANK_END@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OTG_H_BLANK_END@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	add	x2, sp, #16
	add	x4, sp, #8
	bl	_REG_GET_2
	ldp	x9, x8, [sp, #24]
	sub	x8, x8, x9
	str	x8, [x20]
	ldp	x9, x8, [sp, #8]
	sub	x8, x8, x9
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OTG_CONTROL,4,2                ; @OTG_CONTROL
	.comm	_OTG_MASTER_EN,4,2              ; @OTG_MASTER_EN
	.comm	_OTG_V_BLANK_START_END,4,2      ; @OTG_V_BLANK_START_END
	.comm	_OTG_V_BLANK_START,4,2          ; @OTG_V_BLANK_START
	.comm	_OTG_V_BLANK_END,4,2            ; @OTG_V_BLANK_END
	.comm	_OTG_H_BLANK_START_END,4,2      ; @OTG_H_BLANK_START_END
	.comm	_OTG_H_BLANK_START,4,2          ; @OTG_H_BLANK_START
	.comm	_OTG_H_BLANK_END,4,2            ; @OTG_H_BLANK_END
.subsections_via_symbols
