	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vga_in_reset
_vga_in_reset:                          ## @vga_in_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SEQ_CM_SO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, 4(%rdi)
	je	LBB0_1
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	movl	8(%rdi), %ecx
	movq	_SEQ_RESET_ASYNC@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.2:
	movq	_SEQ_RESET_SYNC@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	_CRTC_MC_TE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rdi)
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEQ_CM_SO,4,2                  ## @SEQ_CM_SO
	.comm	_SEQ_RESET_ASYNC,4,2            ## @SEQ_RESET_ASYNC
	.comm	_SEQ_RESET_SYNC,4,2             ## @SEQ_RESET_SYNC
	.comm	_CRTC_MC_TE,4,2                 ## @CRTC_MC_TE
	.no_dead_strip	_vga_in_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vga_in_reset
_vga_in_reset:                          ; @vga_in_reset
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _SEQ_CM_SO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SEQ_CM_SO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
	mov	w0, #1
	ret
LBB0_2:
	ldr	w8, [x0, #8]
Lloh3:
	adrp	x9, _SEQ_RESET_ASYNC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SEQ_RESET_ASYNC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.3:
Lloh6:
	adrp	x9, _SEQ_RESET_SYNC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SEQ_RESET_SYNC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.4:
	ldr	w8, [x0]
Lloh9:
	adrp	x9, _CRTC_MC_TE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CRTC_MC_TE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SEQ_CM_SO,4,2                  ; @SEQ_CM_SO
	.comm	_SEQ_RESET_ASYNC,4,2            ; @SEQ_RESET_ASYNC
	.comm	_SEQ_RESET_SYNC,4,2             ; @SEQ_RESET_SYNC
	.comm	_CRTC_MC_TE,4,2                 ; @CRTC_MC_TE
	.no_dead_strip	_vga_in_reset
.subsections_via_symbols
