	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check586
_check586:                              ## @check586
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_dvma_btov
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_dvma_btov
	movq	_SCP_DEFAULT_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	(%rbx,%r13), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	cmpb	$0, (%rbx,%r13)
	jne	LBB0_18
## %bb.1:
	cmpb	$0, 1(%r12)
	jne	LBB0_18
## %bb.2:
	cmpb	$0, 2(%r12)
	jne	LBB0_18
## %bb.3:
	cmpb	$0, 3(%r12)
	jne	LBB0_18
## %bb.4:
	cmpb	$0, 4(%r12)
	jne	LBB0_18
## %bb.5:
	cmpb	$0, 5(%r12)
	jne	LBB0_18
## %bb.6:
	cmpb	$0, 6(%r12)
	jne	LBB0_18
## %bb.7:
	cmpb	$0, 7(%r12)
	jne	LBB0_18
## %bb.8:
	cmpb	$0, 8(%r12)
	jne	LBB0_18
## %bb.9:
	cmpb	$0, 9(%r12)
	jne	LBB0_18
## %bb.10:
	cmpb	$0, 10(%r12)
	jne	LBB0_18
## %bb.11:
	cmpb	$0, 11(%r12)
	jne	LBB0_18
## %bb.12:
	cmpb	$0, 12(%r12)
	jne	LBB0_18
## %bb.13:
	cmpb	$0, 13(%r12)
	jne	LBB0_18
## %bb.14:
	cmpb	$0, 14(%r12)
	jne	LBB0_18
## %bb.15:
	cmpb	$0, 15(%r12)
	jne	LBB0_18
## %bb.16:
	movq	_SYSBUSVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r12)
	cmpq	(%rax), %rcx
	jne	LBB0_18
## %bb.17:
	movq	%r15, %rdi
	callq	_dvma_btov
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r15, %rdi
	callq	_make24
	movl	%eax, 8(%r12)
	movl	$1, (%r15)
	xorl	%eax, %eax
	callq	_sun3_reset586
	xorl	%eax, %eax
	callq	_sun3_attn586
	movl	$1, %edi
	callq	_DELAY
	xorl	%r14d, %r14d
	cmpl	$0, (%r15)
	sete	%r14b
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCP_DEFAULT_ADDRESS,8,3        ## @SCP_DEFAULT_ADDRESS
	.comm	_SYSBUSVAL,8,3                  ## @SYSBUSVAL
	.no_dead_strip	_check586
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check586
_check586:                              ; @check586
	.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
	mov	x20, x1
	mov	x0, #0
	bl	_dvma_btov
	mov	x19, x0
	mov	x0, x20
	bl	_dvma_btov
Lloh0:
	adrp	x8, _SCP_DEFAULT_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCP_DEFAULT_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x19, x8, x19
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	w0, #0
	ldrb	w8, [x19]
	cbnz	w8, LBB0_19
; %bb.1:
	ldrb	w8, [x19, #1]
	cbnz	w8, LBB0_18
; %bb.2:
	ldrb	w8, [x19, #2]
	cbnz	w8, LBB0_18
; %bb.3:
	ldrb	w8, [x19, #3]
	cbnz	w8, LBB0_18
; %bb.4:
	ldrb	w8, [x19, #4]
	cbnz	w8, LBB0_18
; %bb.5:
	ldrb	w8, [x19, #5]
	cbnz	w8, LBB0_18
; %bb.6:
	ldrb	w8, [x19, #6]
	cbnz	w8, LBB0_18
; %bb.7:
	ldrb	w8, [x19, #7]
	cbnz	w8, LBB0_18
; %bb.8:
	ldrb	w8, [x19, #8]
	cbnz	w8, LBB0_18
; %bb.9:
	ldrb	w8, [x19, #9]
	cbnz	w8, LBB0_18
; %bb.10:
	ldrb	w8, [x19, #10]
	cbnz	w8, LBB0_18
; %bb.11:
	ldrb	w8, [x19, #11]
	cbnz	w8, LBB0_18
; %bb.12:
	ldrb	w8, [x19, #12]
	cbnz	w8, LBB0_18
; %bb.13:
	ldrb	w8, [x19, #13]
	cbnz	w8, LBB0_18
; %bb.14:
	ldrb	w8, [x19, #14]
	cbnz	w8, LBB0_18
; %bb.15:
	ldrb	w8, [x19, #15]
	cbnz	w8, LBB0_18
; %bb.16:
Lloh3:
	adrp	x8, _SYSBUSVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SYSBUSVAL@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19]
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x20
	bl	_dvma_btov
	mov	x20, x0
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x20
	bl	_make24
	str	w0, [x19, #8]
	mov	w8, #1
	str	w8, [x20]
	bl	_sun3_reset586
	bl	_sun3_attn586
	mov	w0, #1
	bl	_DELAY
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_19
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SCP_DEFAULT_ADDRESS,8,3        ; @SCP_DEFAULT_ADDRESS
	.comm	_SYSBUSVAL,8,3                  ; @SYSBUSVAL
	.no_dead_strip	_check586
.subsections_via_symbols
