	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vga_set_vertical_end
_vga_set_vertical_end:                  ## @vga_set_vertical_end
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	decl	%ebx
	xorl	%eax, %eax
	callq	_vga_crtc
	movl	%eax, %r14d
	movl	%ebx, %eax
	shrl	$7, %eax
	andl	$2, %eax
	movl	%ebx, %ecx
	shrl	$3, %ecx
	andl	$64, %ecx
	leal	(%rcx,%rax), %edi
	addl	$60, %edi
	movl	%r14d, %esi
	movl	$7, %edx
	callq	_out_idx
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	$18, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_out_idx                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vga_set_vertical_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vga_set_vertical_end
_vga_set_vertical_end:                  ; @vga_set_vertical_end
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	w19, w0, #1
	bl	_vga_crtc
	mov	x20, x0
	lsr	w8, w19, #7
	and	w8, w8, #0x2
	lsr	w9, w19, #3
	and	w9, w9, #0x40
	orr	w8, w9, w8
	orr	w0, w8, #0x3c
	mov	x1, x20
	mov	w2, #7
	bl	_out_idx
	mov	x0, x19
	mov	x1, x20
	mov	w2, #18
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_out_idx
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vga_set_vertical_end
.subsections_via_symbols
