	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function nextRectBox
LCPI0_0:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_nextRectBox:                           ## @nextRectBox
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$32, %edi
	callq	_palloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	$32, %edx
	callq	_memcpy
	movd	%r15d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	pand	LCPI0_0(%rip), %xmm0
	movl	12(%r14), %eax
	pxor	%xmm1, %xmm1
	pcmpeqd	%xmm0, %xmm1
	movmskps	%xmm1, %ecx
	xorl	%edx, %edx
	testb	$2, %cl
	sete	%dl
	xorl	%esi, %esi
	testb	$4, %cl
	sete	%sil
	xorl	%edi, %edi
	testb	$8, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	notb	%cl
	sete	%dil
	movl	%eax, 24(%rbx,%rdi,4)
	movl	8(%r14), %eax
	movl	%eax, 16(%rbx,%rsi,4)
	movl	4(%r14), %eax
	movl	%eax, 8(%rbx,%rdx,4)
	movl	(%r14), %eax
	movzbl	%cl, %ecx
	andl	$1, %ecx
	movl	%eax, (%rbx,%rcx,4)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nextRectBox
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nextRectBox
_nextRectBox:                           ; @nextRectBox
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #32
	bl	_palloc
	mov	x22, x0
	mov	x1, x21
	mov	w2, #32
	bl	_memcpy
	ldr	w8, [x20, #12]
	tst	w19, #0x8
	mov	w9, #28
	mov	w10, #24
	csel	x9, x10, x9, eq
	str	w8, [x22, x9]
	ldr	w8, [x20, #8]
	tst	w19, #0x4
	mov	w9, #20
	mov	w10, #16
	csel	x9, x10, x9, eq
	str	w8, [x22, x9]
	ldr	w8, [x20, #4]
	tst	w19, #0x2
	mov	w9, #12
	mov	w10, #8
	csel	x9, x10, x9, eq
	str	w8, [x22, x9]
	and	w8, w19, #0x1
	ldr	w9, [x20]
	str	w9, [x22, w8, uxtw #2]
	mov	x0, x22
	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	_nextRectBox
.subsections_via_symbols
