	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function co_apic_ide0_hack
_co_apic_ide0_hack:                     ## @co_apic_ide0_hack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_visws_board_type@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_VISWS_320@GOTPCREL(%rip), %rcx
	xorb	(%rcx), %al
	movq	_visws_board_rev@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	xorb	$5, %cl
	orb	%al, %cl
	movl	$5, %eax
	je	LBB0_2
## %bb.1:
	movq	_CO_APIC_IDE0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VISWS_320,1,0                  ## @VISWS_320
	.comm	_CO_APIC_IDE0,4,2               ## @CO_APIC_IDE0
	.no_dead_strip	_co_apic_ide0_hack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function co_apic_ide0_hack
_co_apic_ide0_hack:                     ; @co_apic_ide0_hack
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _visws_board_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _visws_board_type@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh2:
	adrp	x9, _VISWS_320@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VISWS_320@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh4:
	adrp	x10, _visws_board_rev@GOTPAGE
Lloh5:
	ldr	x10, [x10, _visws_board_rev@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w10, #5
	ccmp	w8, w9, #0, eq
Lloh6:
	adrp	x8, _CO_APIC_IDE0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CO_APIC_IDE0@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, #5
	csel	w0, w9, w8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VISWS_320,1,0                  ; @VISWS_320
	.comm	_CO_APIC_IDE0,4,2               ; @CO_APIC_IDE0
	.no_dead_strip	_co_apic_ide0_hack
.subsections_via_symbols
