	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btcx_screen_clips              ## -- Begin function btcx_screen_clips
	.p2align	4, 0x90
_btcx_screen_clips:                     ## @btcx_screen_clips
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%r8d, %eax
	movl	(%rdx), %r9d
	testl	%r9d, %r9d
	jns	LBB0_2
## %bb.1:
	movl	%eax, %r8d
	shlq	$4, %r8
	movq	$0, (%rcx,%r8)
	movl	%r9d, %r10d
	negl	%r10d
	movl	%r10d, 8(%rcx,%r8)
	movl	4(%rdx), %r10d
	movl	%r10d, 12(%rcx,%r8)
	incl	%eax
LBB0_2:
	movl	8(%rdx), %r8d
	leal	(%r8,%r9), %r10d
	cmpl	%edi, %r10d
	jle	LBB0_4
## %bb.3:
	subl	%r9d, %edi
	movl	%eax, %r9d
	shlq	$4, %r9
	movl	%edi, (%rcx,%r9)
	movl	$0, 4(%rcx,%r9)
	movl	%r8d, %r10d
	subl	%edi, %r10d
	movl	%r10d, 8(%rcx,%r9)
	movl	4(%rdx), %edi
	movl	%edi, 12(%rcx,%r9)
	incl	%eax
LBB0_4:
	movl	12(%rdx), %r9d
	testl	%r9d, %r9d
	jns	LBB0_6
## %bb.5:
	movl	%eax, %r10d
	shlq	$4, %r10
	movq	$0, (%rcx,%r10)
	movl	%r8d, 8(%rcx,%r10)
	movl	%r9d, %edi
	negl	%edi
	movl	%edi, 12(%rcx,%r10)
	incl	%eax
LBB0_6:
	movl	4(%rdx), %edx
	leal	(%rdx,%r9), %edi
	cmpl	%esi, %edi
	jle	LBB0_8
## %bb.7:
	movl	%eax, %edi
	shlq	$4, %rdi
	movl	$0, (%rcx,%rdi)
	subl	%r9d, %esi
	movl	%esi, 4(%rcx,%rdi)
	movl	%r8d, 8(%rcx,%rdi)
	subl	%esi, %edx
	movl	%edx, 12(%rcx,%rdi)
	incl	%eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btcx_screen_clips              ; -- Begin function btcx_screen_clips
	.p2align	2
_btcx_screen_clips:                     ; @btcx_screen_clips
	.cfi_startproc
; %bb.0:
	ldr	w9, [x2]
	tbz	w9, #31, LBB0_2
; %bb.1:
	add	x8, x3, w4, uxtw #4
	str	xzr, [x8]
	neg	w10, w9
	ldr	w11, [x2, #4]
	stp	w10, w11, [x8, #8]
	add	w4, w4, #1
LBB0_2:
	ldr	w8, [x2, #8]
	add	w10, w8, w9
	cmp	w10, w0
	b.le	LBB0_4
; %bb.3:
	add	x10, x3, w4, uxtw #4
	sub	w9, w0, w9
	sub	w11, w8, w9
	stp	w9, wzr, [x10]
	ldr	w9, [x2, #4]
	stp	w11, w9, [x10, #8]
	add	w4, w4, #1
LBB0_4:
	ldr	w9, [x2, #12]
	tbz	w9, #31, LBB0_6
; %bb.5:
	add	x10, x3, w4, uxtw #4
	str	xzr, [x10]
	neg	w11, w9
	stp	w8, w11, [x10, #8]
	add	w4, w4, #1
LBB0_6:
	ldr	w10, [x2, #4]
	add	w11, w10, w9
	cmp	w11, w1
	b.le	LBB0_8
; %bb.7:
	add	x11, x3, w4, uxtw #4
	sub	w9, w1, w9
	sub	w10, w10, w9
	stp	wzr, w9, [x11]
	stp	w8, w10, [x11, #8]
	add	w4, w4, #1
LBB0_8:
	mov	x0, x4
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
