	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcore_anal
_mcore_anal:                            ## @mcore_anal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	$0, -24(%rbp)
	leaq	-24(%rbp), %rdi
	movq	%rcx, %rsi
	movl	%r8d, %edx
	callq	_mcore_init
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
	movl	$-1, %eax
	jmp	LBB0_10
LBB0_2:
	movq	$0, 48(%rbx)
	movq	_R_ANAL_OP_TYPE_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_UT64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%rax, 24(%rbx)
	movq	%rax, 32(%rbx)
	movq	%rax, 40(%rbx)
	movl	$2, 4(%rbx)
	leaq	-24(%rbp), %rdi
	callq	_mcore_next
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movl	(%rax), %ecx
	movl	%ecx, (%rbx)
	addl	$-128, %ecx
	cmpl	$5, %ecx
	ja	LBB0_8
## %bb.4:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_7:
	movl	$1, 8(%rbx)
	jmp	LBB0_8
LBB0_5:
	leaq	2(%r14), %rcx
	movq	%rcx, 24(%rbx)
LBB0_6:
	movq	8(%rax), %rcx
	movq	(%rcx), %rcx
	addq	%r14, %rcx
	incq	%rcx
	movq	%rcx, 16(%rbx)
LBB0_8:
	movq	%rax, %rdi
	callq	_mcore_free
LBB0_9:
	movl	4(%rbx), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[!] mcore: bad or invalid data.\n"

	.comm	_R_ANAL_OP_TYPE_NULL,4,2        ## @R_ANAL_OP_TYPE_NULL
	.comm	_UT64_MAX,8,3                   ## @UT64_MAX
	.no_dead_strip	_mcore_anal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcore_anal
_mcore_anal:                            ; @mcore_anal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	str	wzr, [sp, #8]
	add	x0, sp, #8
	mov	x1, x3
	mov	x2, x4
	bl	_mcore_init
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	mov	w0, #-1
	b	LBB0_10
LBB0_2:
Lloh2:
	adrp	x8, _R_ANAL_OP_TYPE_NULL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R_ANAL_OP_TYPE_NULL@GOTPAGEOFF]
	str	xzr, [x19, #48]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _UT64_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UT64_MAX@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	stp	x9, x9, [x19, #16]
	stp	x9, x9, [x19, #32]
	mov	w9, #2
	stp	w8, w9, [x19]
	add	x0, sp, #8
	bl	_mcore_next
	cbz	x0, LBB0_9
; %bb.3:
	ldr	w8, [x0]
	str	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_8
; %bb.4:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_8
LBB0_6:
	add	x8, x20, #2
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
	add	x9, x20, x9
	add	x9, x9, #1
	stp	x9, x8, [x19, #16]
	b	LBB0_8
LBB0_7:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	add	x8, x20, x8
	add	x8, x8, #1
	str	x8, [x19, #16]
LBB0_8:
	bl	_mcore_free
LBB0_9:
	ldr	w0, [x19, #4]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[!] mcore: bad or invalid data.\n"

	.comm	_R_ANAL_OP_TYPE_NULL,4,2        ; @R_ANAL_OP_TYPE_NULL
	.comm	_UT64_MAX,8,3                   ; @UT64_MAX
	.no_dead_strip	_mcore_anal
.subsections_via_symbols
