	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fake_write
_fake_write:                            ## @fake_write
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	(%rsi), %eax
	cmpq	%rdx, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	%r8, %rbx
	movq	%rsi, %r15
	subq	%rax, %rdx
	imulq	%r14, %rbx
	cmpq	%rdx, %rbx
	cmovaeq	%rdx, %rbx
	addq	%rax, %rdi
	movq	%rcx, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	addl	%ebx, (%r15)
LBB0_3:
	movq	%rbx, %rax
	orq	%r14, %rax
	shrq	$32, %rax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%r14
	jmp	LBB0_6
LBB0_4:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%r14d
                                        ## kill: def $eax killed $eax def $rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fake_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fake_write
_fake_write:                            ; @fake_write
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x5
	ldr	w8, [x1]
	cmp	x8, x2
	b.ne	LBB0_2
; %bb.1:
	mov	x21, #0
	b	LBB0_3
LBB0_2:
	mov	x20, x1
	mul	x9, x19, x4
	sub	x10, x2, x8
	cmp	x9, x10
	csel	x21, x9, x10, lo
	add	x0, x0, x8
	mov	x1, x3
	mov	x2, x21
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, w21
	str	w8, [x20]
LBB0_3:
	udiv	x0, x21, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fake_write
.subsections_via_symbols
