	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sita_reserve_1d
_sita_reserve_1d:                       ## @sita_reserve_1d
	.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
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	8(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movl	12(%rbx), %ecx
	movl	16(%rbx), %edx
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_r2l_b2t_1d
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	-48(%rbp), %rcx
	movq	(%rbx), %rsi
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_2
## %bb.3:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_4
LBB0_2:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_4:
	movq	%rdx, 16(%r14)
	movq	%rax, 24(%r14)
	leaq	(%rcx,%r13), %rax
	decq	%rax
	movq	%rax, %rcx
	orq	%rsi, %rcx
	shrq	$32, %rcx
	je	LBB0_5
## %bb.6:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_7
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:
	movq	%rdx, (%r14)
	movq	%rax, 8(%r14)
LBB0_8:
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sita_reserve_1d
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sita_reserve_1d
_sita_reserve_1d:                       ; @sita_reserve_1d
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_spin_lock
	ldp	w3, w2, [x22, #12]
	add	x1, sp, #8
	mov	x0, x21
	bl	_r2l_b2t_1d
	mov	x23, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	x9, [x22]
	udiv	x10, x8, x9
	msub	x11, x10, x9, x8
	stp	x11, x10, [x20, #16]
	add	x8, x21, x8
	sub	x8, x8, #1
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	stp	x8, x10, [x20]
LBB0_2:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sita_reserve_1d
.subsections_via_symbols
