	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function program_overscan
_program_overscan:                      ## @program_overscan
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	8(%rsi), %eax
	addl	12(%rsi), %eax
	movl	(%rsi), %ecx
	subl	%eax, %ecx
	movl	4(%rsi), %eax
	movl	16(%rsi), %edx
	addl	20(%rsi), %edx
	subl	%edx, %eax
	movq	(%rdi), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	_VISUAL_CONFIRM_DISABLE@GOTPCREL(%rip), %rsi
	leal	2(%rcx), %r12d
	cmpq	(%rsi), %rdx
	cmovel	%ecx, %r12d
	leal	2(%rax), %r15d
	cmovel	%eax, %r15d
	testl	%r12d, %r12d
	js	LBB0_1
## %bb.2:
	testl	%r15d, %r15d
	js	LBB0_3
LBB0_4:
	movl	8(%rbx), %esi
	movq	_EXT_OVERSCAN_LEFT_RIGHT@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_EXT_OVERSCAN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_EXT_OVERSCAN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_set_reg_field_value
	movl	16(%rbx), %esi
	movq	_EXT_OVERSCAN_TOP_BOTTOM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_EXT_OVERSCAN_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	callq	_set_reg_field_value
	movl	(%rbx), %edx
	movq	_EXT_OVERSCAN_BOTTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	%r15d, %esi
	callq	_set_reg_field_value
	movq	(%r14), %rdi
	movq	_mmSCLV_EXT_OVERSCAN_LEFT_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_dm_write_reg
	movq	(%r14), %rdi
	movq	_mmSCLV_EXT_OVERSCAN_TOP_BOTTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_write_reg                   ## TAILCALL
LBB0_1:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	testl	%r15d, %r15d
	jns	LBB0_4
LBB0_3:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_VISUAL_CONFIRM_DISABLE,8,3     ## @VISUAL_CONFIRM_DISABLE
	.comm	_EXT_OVERSCAN_LEFT_RIGHT,4,2    ## @EXT_OVERSCAN_LEFT_RIGHT
	.comm	_EXT_OVERSCAN_LEFT,4,2          ## @EXT_OVERSCAN_LEFT
	.comm	_EXT_OVERSCAN_RIGHT,4,2         ## @EXT_OVERSCAN_RIGHT
	.comm	_EXT_OVERSCAN_TOP_BOTTOM,4,2    ## @EXT_OVERSCAN_TOP_BOTTOM
	.comm	_EXT_OVERSCAN_TOP,4,2           ## @EXT_OVERSCAN_TOP
	.comm	_EXT_OVERSCAN_BOTTOM,4,2        ## @EXT_OVERSCAN_BOTTOM
	.comm	_mmSCLV_EXT_OVERSCAN_LEFT_RIGHT,4,2 ## @mmSCLV_EXT_OVERSCAN_LEFT_RIGHT
	.comm	_mmSCLV_EXT_OVERSCAN_TOP_BOTTOM,4,2 ## @mmSCLV_EXT_OVERSCAN_TOP_BOTTOM
	.no_dead_strip	_program_overscan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function program_overscan
_program_overscan:                      ; @program_overscan
	.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	x20, x1
	mov	x19, x0
	ldp	w8, w9, [x1, #8]
	ldp	w10, w11, [x1]
	add	w8, w8, w9
	sub	w8, w10, w8
	ldp	w9, w10, [x1, #16]
	add	w9, w9, w10
	sub	w9, w11, w9
	ldr	x10, [x0]
	ldr	x10, [x10]
	ldr	x10, [x10]
Lloh0:
	adrp	x11, _VISUAL_CONFIRM_DISABLE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _VISUAL_CONFIRM_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	add	w12, w9, #2
	add	w13, w8, #2
	cmp	x10, x11
	csel	w22, w8, w13, eq
	csel	w21, w9, w12, eq
	tbnz	w22, #31, LBB0_3
; %bb.1:
	tbnz	w21, #31, LBB0_4
LBB0_2:
	ldr	w1, [x20, #8]
Lloh3:
	adrp	x23, _EXT_OVERSCAN_LEFT_RIGHT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _EXT_OVERSCAN_LEFT_RIGHT@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh5:
	adrp	x8, _EXT_OVERSCAN_LEFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXT_OVERSCAN_LEFT@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	w0, #0
	bl	_set_reg_field_value
	ldr	w2, [x23]
Lloh8:
	adrp	x8, _EXT_OVERSCAN_RIGHT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXT_OVERSCAN_RIGHT@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	w0, #0
	mov	x1, x22
	bl	_set_reg_field_value
	ldr	w1, [x20, #16]
Lloh11:
	adrp	x20, _EXT_OVERSCAN_TOP_BOTTOM@GOTPAGE
Lloh12:
	ldr	x20, [x20, _EXT_OVERSCAN_TOP_BOTTOM@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh13:
	adrp	x8, _EXT_OVERSCAN_TOP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EXT_OVERSCAN_TOP@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	w0, #0
	bl	_set_reg_field_value
	ldr	w2, [x20]
Lloh16:
	adrp	x8, _EXT_OVERSCAN_BOTTOM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EXT_OVERSCAN_BOTTOM@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	w0, #0
	mov	x1, x21
	bl	_set_reg_field_value
	ldr	x0, [x19]
Lloh19:
	adrp	x8, _mmSCLV_EXT_OVERSCAN_LEFT_RIGHT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mmSCLV_EXT_OVERSCAN_LEFT_RIGHT@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_dm_write_reg
	ldr	x0, [x19]
Lloh22:
	adrp	x8, _mmSCLV_EXT_OVERSCAN_TOP_BOTTOM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _mmSCLV_EXT_OVERSCAN_TOP_BOTTOM@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	w2, #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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dm_write_reg
LBB0_3:
	bl	_BREAK_TO_DEBUGGER
	mov	w22, #0
	tbz	w21, #31, LBB0_2
LBB0_4:
	bl	_BREAK_TO_DEBUGGER
	mov	w21, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VISUAL_CONFIRM_DISABLE,8,3     ; @VISUAL_CONFIRM_DISABLE
	.comm	_EXT_OVERSCAN_LEFT_RIGHT,4,2    ; @EXT_OVERSCAN_LEFT_RIGHT
	.comm	_EXT_OVERSCAN_LEFT,4,2          ; @EXT_OVERSCAN_LEFT
	.comm	_EXT_OVERSCAN_RIGHT,4,2         ; @EXT_OVERSCAN_RIGHT
	.comm	_EXT_OVERSCAN_TOP_BOTTOM,4,2    ; @EXT_OVERSCAN_TOP_BOTTOM
	.comm	_EXT_OVERSCAN_TOP,4,2           ; @EXT_OVERSCAN_TOP
	.comm	_EXT_OVERSCAN_BOTTOM,4,2        ; @EXT_OVERSCAN_BOTTOM
	.comm	_mmSCLV_EXT_OVERSCAN_LEFT_RIGHT,4,2 ; @mmSCLV_EXT_OVERSCAN_LEFT_RIGHT
	.comm	_mmSCLV_EXT_OVERSCAN_TOP_BOTTOM,4,2 ; @mmSCLV_EXT_OVERSCAN_TOP_BOTTOM
	.no_dead_strip	_program_overscan
.subsections_via_symbols
