	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_info_copy                  ## -- Begin function rds_info_copy
	.p2align	4, 0x90
_rds_info_copy:                         ## @rds_info_copy
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%r13, %r15
	testq	%r14, %r14
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rbx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	_KM_USER0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmap_atomic
	movq	%rax, 16(%rbx)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rsi
	subq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_min
	movq	%rax, %r13
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	16(%rbx), %rdx
	movq	%r14, (%rsp)
	leaq	L_.str(%rip), %rdi
	movq	%r13, %r8
	movq	%r15, %r9
	callq	_rdsdebug
	movq	(%rbx), %rdi
	shlq	$2, %rdi
	addq	16(%rbx), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	subq	%r13, %r14
	movq	(%rbx), %rax
	addq	%r13, %rax
	movq	%rax, (%rbx)
	cmpq	(%r12), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rdi
	movq	_KM_USER0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kunmap_atomic
	movq	$0, 16(%rbx)
	movq	$0, (%rbx)
	addq	$4, 8(%rbx)
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KM_USER0,4,2                   ## @KM_USER0
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"page %p addr %p offset %lu this %lu data %p bytes %lu\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_info_copy                  ; -- Begin function rds_info_copy
	.p2align	2
_rds_info_copy:                         ; @rds_info_copy
	.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
	cbz	x2, LBB0_7
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _KM_USER0@GOTPAGE
Lloh1:
	ldr	x24, [x24, _KM_USER0@GOTPAGEOFF]
Lloh2:
	adrp	x25, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, x23
	cbz	x19, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	ldr	w1, [x24]
	bl	_kmap_atomic
	str	x0, [x21, #16]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x21]
	sub	x1, x8, x9
	mov	x0, x19
	bl	_min
	mov	x23, x0
	ldp	x3, x8, [x21]
	ldr	w1, [x8]
	ldr	x2, [x21, #16]
	mov	x0, x22
	mov	x4, x23
	mov	x5, x20
	mov	x6, x19
	bl	_rdsdebug
	ldr	x8, [x21, #16]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #2
	mov	x1, x20
	mov	x2, x23
	bl	_memcpy
	sub	x19, x19, x23
	ldr	x8, [x21]
	add	x8, x8, x23
	str	x8, [x21]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21, #16]
	ldr	w1, [x24]
	bl	_kunmap_atomic
	ldr	x8, [x21, #8]
	add	x8, x8, #4
	str	xzr, [x21]
	stp	x8, xzr, [x21, #8]
	b	LBB0_2
LBB0_7:
	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
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KM_USER0,4,2                   ; @KM_USER0
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"page %p addr %p offset %lu this %lu data %p bytes %lu\n"

.subsections_via_symbols
