	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sg_dwiter_write_slow
_sg_dwiter_write_slow:                  ## @sg_dwiter_write_slow
	.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, %r14
	movl	%esi, -36(%rbp)
	movl	$4, %r12d
	leaq	-36(%rbp), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rdi
	subq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_min
	movq	%rax, %rbx
	movl	8(%r14), %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_memcpy
	addq	%rbx, (%r14)
	subq	%rbx, %r12
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	%rbx, %r15
	movq	%r14, %rdi
	callq	_sg_dwiter_next
	testq	%rax, %rax
	jne	LBB0_1
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sg_dwiter_write_slow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sg_dwiter_write_slow
_sg_dwiter_write_slow:                  ; @sg_dwiter_write_slow
	.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
	str	w1, [sp, #12]
	add	x20, sp, #12
	mov	w21, #4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x9, [x19]
	sub	x0, x8, x9
	mov	x1, x21
	bl	_min
	mov	x22, x0
	ldr	w0, [x19, #8]
	mov	x1, x20
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [x19]
	add	x8, x8, x22
	str	x8, [x19]
	subs	x21, x21, x22
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x20, x20, x22
	mov	x0, x19
	bl	_sg_dwiter_next
	cbnz	x0, LBB0_1
LBB0_3:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sg_dwiter_write_slow
.subsections_via_symbols
