	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_callback
_read_callback:                         ## @read_callback
	.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	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movaps	L___const.read_callback.memory(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movl	l___const.read_callback.buffer+8(%rip), %eax
	movl	%eax, -56(%rbp)
	movq	l___const.read_callback.buffer(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	8(%rdi), %rbx
	movq	_image_readmem_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_pt_image_set_callback
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ptu_int_eq
	movl	$-1, -68(%rbp)
	movq	(%r14), %r8
	leaq	-68(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movl	$12289, %r9d                    ## imm = 0x3001
	callq	_pt_image_read
	movl	%eax, %edi
	movl	$2, %esi
	callq	_ptu_int_eq
	movl	-68(%rbp), %edi
	xorl	%esi, %esi
	callq	_ptu_int_eq
	movl	-64(%rbp), %edi
	movl	$1, %esi
	callq	_ptu_uint_eq
	movl	-60(%rbp), %edi
	movl	$2, %esi
	callq	_ptu_uint_eq
	movl	-56(%rbp), %edi
	movl	$204, %esi
	callq	_ptu_uint_eq
	xorl	%eax, %eax
	callq	_ptu_passed
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.read_callback.memory
L___const.read_callback.memory:
	.long	221                             ## 0xdd
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	221                             ## 0xdd

	.section	__TEXT,__const
	.p2align	2                               ## @__const.read_callback.buffer
l___const.read_callback.buffer:
	.long	204                             ## 0xcc
	.long	204                             ## 0xcc
	.long	204                             ## 0xcc

	.comm	_image_readmem_callback,4,2     ## @image_readmem_callback
	.no_dead_strip	_read_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_callback
_read_callback:                         ; @read_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.read_callback.memory@PAGE
Lloh4:
	add	x8, x8, l___const.read_callback.memory@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp, #32]
Lloh6:
	adrp	x8, l___const.read_callback.buffer@PAGE
Lloh7:
	add	x8, x8, l___const.read_callback.buffer@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp, #16]
	ldr	w8, [x8, #8]
	str	w8, [sp, #24]
	add	x20, x0, #8
Lloh8:
	adrp	x8, _image_readmem_callback@GOTPAGE
Lloh9:
	ldr	x8, [x8, _image_readmem_callback@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #32
	mov	x0, x20
	bl	_pt_image_set_callback
	mov	w1, #0
	bl	_ptu_int_eq
	mov	w8, #-1
	str	w8, [sp, #12]
	ldr	x4, [x19]
	add	x1, sp, #12
	add	x2, sp, #16
	mov	x0, x20
	mov	w3, #2
	mov	w5, #12289
	bl	_pt_image_read
	mov	w1, #2
	bl	_ptu_int_eq
	ldr	w0, [sp, #12]
	mov	w1, #0
	bl	_ptu_int_eq
	ldr	w0, [sp, #16]
	mov	w1, #1
	bl	_ptu_uint_eq
	ldr	w0, [sp, #20]
	mov	w1, #2
	bl	_ptu_uint_eq
	ldr	w0, [sp, #24]
	mov	w1, #204
	bl	_ptu_uint_eq
	bl	_ptu_passed
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.read_callback.memory
l___const.read_callback.memory:
	.long	221                             ; 0xdd
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	221                             ; 0xdd

	.section	__TEXT,__const
	.p2align	2                               ; @__const.read_callback.buffer
l___const.read_callback.buffer:
	.long	204                             ; 0xcc
	.long	204                             ; 0xcc
	.long	204                             ; 0xcc

	.comm	_image_readmem_callback,4,2     ; @image_readmem_callback
	.no_dead_strip	_read_callback
.subsections_via_symbols
