	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rwm_dump                       ## -- Begin function rwm_dump
	.p2align	4, 0x90
_rwm_dump:                              ## @rwm_dump
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_RM_INIT_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_RM_TMP_MAGIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_rwm_clone
	leaq	_rwm_dump.R(%rip), %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$10004, %edx                    ## imm = 0x2714
	callq	_rwm_fetch_data
	movl	%eax, %ebx
	cmpl	$10000, %eax                    ## imm = 0x2710
	movl	$10000, %r14d                   ## imm = 0x2710
	cmovll	%eax, %r14d
	movslq	%r14d, %rsi
	addq	%r12, %rsi
	movq	%r12, %rdi
	callq	_hexdump
	cmpl	$10001, %ebx                    ## imm = 0x2711
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %edx
	subl	%r14d, %edx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	leaq	-48(%rbp), %rdi
	callq	_rwm_free
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RM_INIT_MAGIC,8,3              ## @RM_INIT_MAGIC
	.comm	_RM_TMP_MAGIC,8,3               ## @RM_TMP_MAGIC
.zerofill __DATA,__bss,_rwm_dump.R,10004,4 ## @rwm_dump.R
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d bytes not printed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rwm_dump                       ; -- Begin function rwm_dump
	.p2align	2
_rwm_dump:                              ; @rwm_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RM_INIT_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RM_INIT_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh3:
	adrp	x9, _RM_TMP_MAGIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RM_TMP_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_assert
	mov	x0, sp
	mov	x1, x19
	bl	_rwm_clone
Lloh6:
	adrp	x20, _rwm_dump.R@PAGE
Lloh7:
	add	x20, x20, _rwm_dump.R@PAGEOFF
	mov	x0, sp
	mov	x1, x20
	mov	w2, #10004
	bl	_rwm_fetch_data
	mov	x21, x0
	mov	w8, #10000
	cmp	w0, w8
	csel	w22, w0, w8, lt
	add	x1, x20, w22, sxtw
	mov	x0, x20
	bl	_hexdump
	mov	w8, #10001
	cmp	w21, w8
	b.lt	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w8, [x19, #8]
	sub	w2, w8, w22
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	mov	x0, sp
	bl	_rwm_free
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RM_INIT_MAGIC,8,3              ; @RM_INIT_MAGIC
	.comm	_RM_TMP_MAGIC,8,3               ; @RM_TMP_MAGIC
.zerofill __DATA,__bss,_rwm_dump.R,10004,0 ; @rwm_dump.R
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d bytes not printed\n"

.subsections_via_symbols
