	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_xX_main_Xx
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	movq	_current@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	8(%rdi), %rsi
	callq	_start_unicorn
	movq	%rax, %r12
	movq	(%rbx), %rbx
	movl	(%rbx), %esi
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	callq	_tlb_init
	movl	(%rbx), %r15d
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_undefined_flags_mask
	movl	%eax, %r14d
	movl	(%rbx), %r15d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_step_tracing
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	callq	_compare_cpus
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rax
	jns	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %r12
	movq	%rax, %r14
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	callq	_printk
	movl	%r15d, (%rbx)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_cpu_step32
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %ecx
	callq	_compare_cpus
	testq	%rax, %rax
	js	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	negl	%edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	callq	_fprintf
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_current,8,3                    ## @current
L_.str.1:                               ## @.str.1
	.asciz	"resetting cpu\n"

	.comm	_debugger,4,2                   ## @debugger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x2, #0
	bl	_xX_main_Xx
	tbnz	w0, #31, LBB0_5
; %bb.1:
Lloh0:
	adrp	x20, _current@GOTPAGE
Lloh1:
	ldr	x20, [x20, _current@GOTPAGEOFF]
	ldr	x0, [x20]
	ldr	x1, [x0, #8]
	bl	_start_unicorn
	mov	x19, x0
	ldr	x20, [x20]
	ldr	w1, [x20]
	add	x0, sp, #8
	bl	_tlb_init
	mov	w22, #0
	ldr	w23, [x20]
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_printk
	str	w23, [x20]
	add	x1, sp, #8
	mov	x0, x20
	bl	_cpu_step32
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	mov	x3, x22
	bl	_compare_cpus
	tbnz	x0, #63, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	bl	_undefined_flags_mask
	mov	x22, x0
	ldr	w23, [x20]
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_step_tracing
	b	LBB0_3
LBB0_5:
	mov	x19, x0
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
	neg	w0, w0
	bl	_strerror
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_current,8,3                    ; @current
l_.str.1:                               ; @.str.1
	.asciz	"resetting cpu\n"

	.comm	_debugger,4,2                   ; @debugger
.subsections_via_symbols
