	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function image_readmem_callback
_image_readmem_callback:                ## @image_readmem_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	cmpl	$12287, %ecx                    ## imm = 0x2FFF
	ja	LBB0_4
## %bb.2:
	movq	_pte_nomap@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_3:
	movq	_pte_invalid@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_4:
	testq	%r8, %r8
	je	LBB0_8
## %bb.5:
	movq	%rsi, %rax
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.6:
	addl	$-12288, %ecx                   ## imm = 0xD000
	movslq	%ecx, %r9
	cmpq	$8, %rax
	jb	LBB0_7
## %bb.11:
	leaq	(%r8,%r9,4), %rcx
	movq	%rdi, %rdx
	subq	%rcx, %rdx
	cmpq	$32, %rdx
	jae	LBB0_13
LBB0_7:
	xorl	%ecx, %ecx
LBB0_21:
	movq	%rcx, %r10
	notq	%r10
	addq	%rax, %r10
	movq	%rax, %rsi
	andq	$3, %rsi
	je	LBB0_24
## %bb.22:
	leaq	(%r8,%r9,4), %r11
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%rcx,4), %edx
	movl	%edx, (%rdi,%rcx,4)
	incq	%rcx
	decq	%rsi
	jne	LBB0_23
LBB0_24:
	cmpq	$3, %r10
	jb	LBB0_27
## %bb.25:
	leaq	(%r8,%r9,4), %rdx
	addq	$12, %rdx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	-12(%rdx,%rcx,4), %esi
	movl	%esi, (%rdi,%rcx,4)
	movl	-8(%rdx,%rcx,4), %esi
	movl	%esi, 4(%rdi,%rcx,4)
	movl	-4(%rdx,%rcx,4), %esi
	movl	%esi, 8(%rdi,%rcx,4)
	movl	(%rdx,%rcx,4), %esi
	movl	%esi, 12(%rdi,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_26
LBB0_27:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_8:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_9:
	xorl	%eax, %eax
	subl	(%rcx), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_13:
	movq	%rax, %rcx
	andq	$-8, %rcx
	leaq	-8(%rcx), %rdx
	movq	%rdx, %r11
	shrq	$3, %r11
	incq	%r11
	movl	%r11d, %r10d
	andl	$3, %r10d
	cmpq	$24, %rdx
	jae	LBB0_15
## %bb.14:
	xorl	%edx, %edx
	jmp	LBB0_17
LBB0_15:
	leaq	(,%r9,4), %rdx
	andq	$-4, %r11
	leaq	(%rdx,%r8), %rsi
	addq	$112, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movups	-112(%rsi,%rdx,4), %xmm0
	movups	-96(%rsi,%rdx,4), %xmm1
	movups	%xmm0, (%rdi,%rdx,4)
	movups	%xmm1, 16(%rdi,%rdx,4)
	movups	-80(%rsi,%rdx,4), %xmm0
	movups	-64(%rsi,%rdx,4), %xmm1
	movups	%xmm0, 32(%rdi,%rdx,4)
	movups	%xmm1, 48(%rdi,%rdx,4)
	movups	-48(%rsi,%rdx,4), %xmm0
	movups	-32(%rsi,%rdx,4), %xmm1
	movups	%xmm0, 64(%rdi,%rdx,4)
	movups	%xmm1, 80(%rdi,%rdx,4)
	movups	-16(%rsi,%rdx,4), %xmm0
	movups	(%rsi,%rdx,4), %xmm1
	movups	%xmm0, 96(%rdi,%rdx,4)
	movups	%xmm1, 112(%rdi,%rdx,4)
	addq	$32, %rdx
	addq	$-4, %r11
	jne	LBB0_16
LBB0_17:
	testq	%r10, %r10
	je	LBB0_20
## %bb.18:
	leaq	(%rdi,%rdx,4), %r11
	addq	$16, %r11
	addq	%r9, %rdx
	leaq	(%r8,%rdx,4), %rdx
	addq	$16, %rdx
	shlq	$5, %r10
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdx,%rsi), %xmm0
	movups	(%rdx,%rsi), %xmm1
	movups	%xmm0, -16(%r11,%rsi)
	movups	%xmm1, (%r11,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r10
	jne	LBB0_19
LBB0_20:
	cmpq	%rax, %rcx
	je	LBB0_27
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
	.comm	_pte_nomap,4,2                  ## @pte_nomap
	.comm	_pte_internal,4,2               ## @pte_internal
	.no_dead_strip	_image_readmem_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function image_readmem_callback
_image_readmem_callback:                ; @image_readmem_callback
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	lsr	w8, w3, #12
	cmp	w8, #2
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _pte_nomap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_nomap@GOTPAGEOFF]
	b	LBB0_13
LBB0_3:
Lloh2:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
	b	LBB0_13
LBB0_4:
	cbz	x4, LBB0_12
; %bb.5:
	cbz	x1, LBB0_11
; %bb.6:
	sub	w8, w3, #3, lsl #12             ; =12288
	sxtw	x8, w8
	cmp	x1, #16
	b.lo	LBB0_8
; %bb.7:
	lsl	x9, x8, #2
	add	x10, x9, x4
	sub	x9, x0, x10
	cmp	x9, #64
	b.hs	LBB0_14
LBB0_8:
	mov	x9, #0
LBB0_9:
	sub	x10, x1, x9
	add	x11, x0, x9, lsl #2
	add	x8, x9, x8
	add	x8, x4, x8, lsl #2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8], #4
	str	w9, [x11], #4
	subs	x10, x10, #1
	b.ne	LBB0_10
LBB0_11:
	mov	x0, x1
	ret
LBB0_12:
Lloh4:
	adrp	x8, _pte_internal@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x1
	ret
LBB0_14:
	and	x9, x1, #0xfffffffffffffff0
	add	x10, x10, #32
	add	x11, x0, #32
	mov	x12, x9
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x12, x12, #16
	b.ne	LBB0_15
; %bb.16:
	cmp	x9, x1
	b.eq	LBB0_11
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
	.comm	_pte_nomap,4,2                  ; @pte_nomap
	.comm	_pte_internal,4,2               ; @pte_internal
	.no_dead_strip	_image_readmem_callback
.subsections_via_symbols
