	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esilbreak_mem_read
_esilbreak_mem_read:                    ## @esilbreak_mem_read
	.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	$1032, %rsp                     ## imm = 0x408
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_UT64_MAX@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_esilbreak_last_read@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
LBB0_2:
	movq	_mycore@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	4(%rax), %edi
	movq	%r12, %rsi
	callq	_myvalid
	testq	%rax, %rax
	je	LBB0_21
## %bb.3:
	movq	(%r13), %rax
	movl	4(%rax), %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_r_io_read_at
	testl	%eax, %eax
	je	LBB0_21
## %bb.4:
	cmpl	$8, %ebx
	je	LBB0_8
## %bb.5:
	cmpl	$4, %ebx
	je	LBB0_10
## %bb.6:
	cmpl	$2, %ebx
	jne	LBB0_9
## %bb.7:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_r_read_ble16
	jmp	LBB0_11
LBB0_8:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_r_read_ble64
	movq	%rax, %r15
	jmp	LBB0_12
LBB0_10:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_r_read_ble32
LBB0_11:
	movslq	%eax, %r15
LBB0_12:
	movq	_esilbreak_last_data@GOTPCREL(%rip), %rbx
	movq	%r15, (%rbx)
	movq	(%r13), %rax
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_myvalid
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:
	movq	_ntarget@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r15, %rax
	je	LBB0_15
## %bb.14:
	movq	_UT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
LBB0_15:
	movq	$0, -1072(%rbp)
	movq	(%r13), %rax
	movl	4(%rax), %edi
	leaq	-1072(%rbp), %rdx
	movq	%r15, %rsi
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_r_io_read_at
	testl	%eax, %eax
	jle	LBB0_16
## %bb.17:
	movq	(%r13), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	movq	_R_ANAL_REF_TYPE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdx
	callq	_r_anal_xrefs_set
	movq	$0, 7112(%rbp)
	movq	(%r13), %rdi
	movl	(%r14), %esi
	movq	%r15, %rdx
	callq	_add_string_ref
	movq	_UT64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_18
LBB0_9:
	movq	(%r13), %rax
	movl	4(%rax), %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_r_io_read_at
	jmp	LBB0_18
LBB0_16:
	movq	$0, -1072(%rbp)
LBB0_18:
	movq	_ntarget@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r12, %rax
	je	LBB0_20
## %bb.19:
	movq	_UT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
LBB0_20:
	movq	(%r13), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	movq	_R_ANAL_REF_TYPE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdx
	callq	_r_anal_xrefs_set
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	xorl	%eax, %eax
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_UT64_MAX,8,3                   ## @UT64_MAX
	.comm	_esilbreak_last_read,8,3        ## @esilbreak_last_read
	.comm	_mycore,8,3                     ## @mycore
	.comm	_esilbreak_last_data,8,3        ## @esilbreak_last_data
	.comm	_ntarget,8,3                    ## @ntarget
	.comm	_R_ANAL_REF_TYPE_DATA,4,2       ## @R_ANAL_REF_TYPE_DATA
	.no_dead_strip	_esilbreak_mem_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esilbreak_mem_read
_esilbreak_mem_read:                    ; @esilbreak_mem_read
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #1040
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x23, _UT64_MAX@GOTPAGE
Lloh4:
	ldr	x23, [x23, _UT64_MAX@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, x1
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _esilbreak_last_read@GOTPAGE
Lloh6:
	ldr	x8, [x8, _esilbreak_last_read@GOTPAGEOFF]
Lloh7:
	str	x19, [x8]
LBB0_2:
Lloh8:
	adrp	x24, _mycore@GOTPAGE
Lloh9:
	ldr	x24, [x24, _mycore@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	w0, [x8, #4]
	mov	x1, x19
	bl	_myvalid
	cbz	x0, LBB0_19
; %bb.3:
	ldr	x8, [x24]
	ldr	w0, [x8, #4]
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_r_io_read_at
	cbz	w0, LBB0_19
; %bb.4:
Lloh10:
	adrp	x25, _ntarget@GOTPAGE
Lloh11:
	ldr	x25, [x25, _ntarget@GOTPAGEOFF]
	cmp	w22, #8
	b.eq	LBB0_8
; %bb.5:
	cmp	w22, #4
	b.eq	LBB0_9
; %bb.6:
	cmp	w22, #2
	b.ne	LBB0_15
; %bb.7:
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_r_read_ble16
	b	LBB0_10
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_r_read_ble64
	mov	x21, x0
	b	LBB0_11
LBB0_9:
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_r_read_ble32
LBB0_10:
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
LBB0_11:
Lloh12:
	adrp	x22, _esilbreak_last_data@GOTPAGE
Lloh13:
	ldr	x22, [x22, _esilbreak_last_data@GOTPAGEOFF]
	str	x21, [x22]
	ldr	x8, [x24]
	ldr	w0, [x8, #4]
	mov	x1, x21
	bl	_myvalid
	cbz	x0, LBB0_17
; %bb.12:
	ldr	x8, [x25]
	ldr	x9, [x23]
	cmp	x8, x21
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_17
; %bb.13:
	str	xzr, [sp, #8]
	ldr	x8, [x24]
	ldr	w0, [x8, #4]
	add	x2, sp, #8
	mov	x1, x21
	mov	w3, #1024
	bl	_r_io_read_at
	cmp	w0, #0
	b.le	LBB0_16
; %bb.14:
	ldr	x8, [x24]
	ldr	w0, [x8]
	ldr	w1, [x20]
Lloh14:
	adrp	x8, _R_ANAL_REF_TYPE_DATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _R_ANAL_REF_TYPE_DATA@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x2, x21
	bl	_r_anal_xrefs_set
	str	xzr, [sp, #8192]
	ldr	x0, [x24]
	ldr	w1, [x20]
	mov	x2, x21
	bl	_add_string_ref
	ldr	x8, [x23]
	str	x8, [x22]
	b	LBB0_17
LBB0_15:
	ldr	x8, [x24]
	ldr	w0, [x8, #4]
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_r_io_read_at
	b	LBB0_17
LBB0_16:
	str	xzr, [sp, #8]
LBB0_17:
	ldr	x8, [x25]
	ldr	x9, [x23]
	cmp	x8, x19
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_19
; %bb.18:
	ldr	x8, [x24]
	ldr	w0, [x8]
	ldr	w1, [x20]
Lloh17:
	adrp	x8, _R_ANAL_REF_TYPE_DATA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _R_ANAL_REF_TYPE_DATA@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x2, x19
	bl	_r_anal_xrefs_set
LBB0_19:
	ldur	x8, [x29, #-72]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	w0, #0
	add	sp, sp, #1040
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_UT64_MAX,8,3                   ; @UT64_MAX
	.comm	_esilbreak_last_read,8,3        ; @esilbreak_last_read
	.comm	_mycore,8,3                     ; @mycore
	.comm	_esilbreak_last_data,8,3        ; @esilbreak_last_data
	.comm	_ntarget,8,3                    ; @ntarget
	.comm	_R_ANAL_REF_TYPE_DATA,4,2       ; @R_ANAL_REF_TYPE_DATA
	.no_dead_strip	_esilbreak_mem_read
.subsections_via_symbols
