	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_active_area
_hdmi_active_area:                      ## @hdmi_active_area
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	8(%rbx), %rsi
	movl	$1, %edx
	callq	_sti_vtg_get_pixel_number
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movq	8(%rbx), %rsi
	movl	%edi, %edx
	callq	_sti_vtg_get_pixel_number
	movl	%eax, %r15d
	movl	(%rbx), %edi
	movq	8(%rbx), %rsi
	xorl	%edx, %edx
	callq	_sti_vtg_get_line_number
	movl	%eax, %r12d
	movq	8(%rbx), %rsi
	leaq	-1(%rsi), %rdx
	movl	(%rbx), %edi
	callq	_sti_vtg_get_line_number
	movl	%eax, %r13d
	movq	_HDMI_ACTIVE_VID_XMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_hdmi_write
	movq	_HDMI_ACTIVE_VID_XMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_hdmi_write
	movq	_HDMI_ACTIVE_VID_YMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_hdmi_write
	movq	_HDMI_ACTIVE_VID_YMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_ACTIVE_VID_XMIN,4,2       ## @HDMI_ACTIVE_VID_XMIN
	.comm	_HDMI_ACTIVE_VID_XMAX,4,2       ## @HDMI_ACTIVE_VID_XMAX
	.comm	_HDMI_ACTIVE_VID_YMIN,4,2       ## @HDMI_ACTIVE_VID_YMIN
	.comm	_HDMI_ACTIVE_VID_YMAX,4,2       ## @HDMI_ACTIVE_VID_YMAX
	.no_dead_strip	_hdmi_active_area
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_active_area
_hdmi_active_area:                      ; @hdmi_active_area
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x0, [x0]
	ldr	x1, [x19, #8]
	mov	w2, #1
	bl	_sti_vtg_get_pixel_number
	mov	x20, x0
	ldr	w2, [x19]
	ldp	x0, x1, [x19]
	bl	_sti_vtg_get_pixel_number
	mov	x21, x0
	ldp	x0, x1, [x19]
	mov	x2, #0
	bl	_sti_vtg_get_line_number
	mov	x22, x0
	ldp	x0, x1, [x19]
	sub	x2, x1, #1
	bl	_sti_vtg_get_line_number
	mov	x23, x0
Lloh0:
	adrp	x8, _HDMI_ACTIVE_VID_XMIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_ACTIVE_VID_XMIN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_hdmi_write
Lloh3:
	adrp	x8, _HDMI_ACTIVE_VID_XMAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_ACTIVE_VID_XMAX@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_hdmi_write
Lloh6:
	adrp	x8, _HDMI_ACTIVE_VID_YMIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMI_ACTIVE_VID_YMIN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_hdmi_write
Lloh9:
	adrp	x8, _HDMI_ACTIVE_VID_YMAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HDMI_ACTIVE_VID_YMAX@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_hdmi_write
	.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	_HDMI_ACTIVE_VID_XMIN,4,2       ; @HDMI_ACTIVE_VID_XMIN
	.comm	_HDMI_ACTIVE_VID_XMAX,4,2       ; @HDMI_ACTIVE_VID_XMAX
	.comm	_HDMI_ACTIVE_VID_YMIN,4,2       ; @HDMI_ACTIVE_VID_YMIN
	.comm	_HDMI_ACTIVE_VID_YMAX,4,2       ; @HDMI_ACTIVE_VID_YMAX
	.no_dead_strip	_hdmi_active_area
.subsections_via_symbols
