	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vesa_store_mode_params_graphics
_vesa_store_mode_params_graphics:       ## @vesa_store_mode_params_graphics
	.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
	movq	_VIDEO_TYPE_VLFB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_boot_params@GOTPCREL(%rip), %rbx
	movl	%eax, 36(%rbx)
	movq	_vminfo@GOTPCREL(%rip), %r14
	movq	24(%r14), %rax
	movq	%rax, 28(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movups	8(%r14), %xmm0
	movups	%xmm0, 12(%rbx)
	leaq	8(%rbx), %rdi
	leaq	4(%r14), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	_vginfo@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	cmpl	$8, (%r14)
	jg	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_vesa_dac_set_8bits
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vesa_store_pm_info             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDEO_TYPE_VLFB,4,2            ## @VIDEO_TYPE_VLFB
	.comm	_boot_params,40,2               ## @boot_params
	.comm	_vminfo,32,2                    ## @vminfo
	.comm	_vginfo,4,2                     ## @vginfo
	.no_dead_strip	_vesa_store_mode_params_graphics
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vesa_store_mode_params_graphics
_vesa_store_mode_params_graphics:       ; @vesa_store_mode_params_graphics
	.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
Lloh0:
	adrp	x8, _VIDEO_TYPE_VLFB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDEO_TYPE_VLFB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x19, _boot_params@GOTPAGE
Lloh4:
	ldr	x19, [x19, _boot_params@GOTPAGEOFF]
	str	w8, [x19, #36]
Lloh5:
	adrp	x20, _vminfo@GOTPAGE
Lloh6:
	ldr	x20, [x20, _vminfo@GOTPAGEOFF]
	ldr	d0, [x20, #24]
	stur	d0, [x19, #28]
	ldr	w8, [x20]
	str	w8, [x19]
	ldur	q0, [x20, #8]
	stur	q0, [x19, #12]
	add	x0, x19, #8
	add	x1, x20, #4
	mov	w2, #8
	bl	_memcpy
Lloh7:
	adrp	x8, _vginfo@GOTPAGE
Lloh8:
	ldr	x8, [x8, _vginfo@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w8, [x20]
	cmp	w8, #8
	b.gt	LBB0_2
; %bb.1:
	bl	_vesa_dac_set_8bits
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vesa_store_pm_info
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDEO_TYPE_VLFB,4,2            ; @VIDEO_TYPE_VLFB
	.comm	_boot_params,40,2               ; @boot_params
	.comm	_vminfo,32,2                    ; @vminfo
	.comm	_vginfo,4,2                     ; @vginfo
	.no_dead_strip	_vesa_store_mode_params_graphics
.subsections_via_symbols
