	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ast_is_vga_enabled             ## -- Begin function ast_is_vga_enabled
	.p2align	4, 0x90
_ast_is_vga_enabled:                    ## @ast_is_vga_enabled
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	movq	(%rdi), %rcx
	movq	_AST1180@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	_AST_IO_VGA_ENABLE_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ast_io_read8
	andl	$1, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AST1180,8,3                    ## @AST1180
	.comm	_AST_IO_VGA_ENABLE_PORT,4,2     ## @AST_IO_VGA_ENABLE_PORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ast_is_vga_enabled             ; -- Begin function ast_is_vga_enabled
	.p2align	2
_ast_is_vga_enabled:                    ; @ast_is_vga_enabled
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AST1180@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AST1180@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x8, _AST_IO_VGA_ENABLE_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AST_IO_VGA_ENABLE_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ast_io_read8
	and	w0, w0, #0x1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AST1180,8,3                    ; @AST1180
	.comm	_AST_IO_VGA_ENABLE_PORT,4,2     ; @AST_IO_VGA_ENABLE_PORT
.subsections_via_symbols
