	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function queue_setup
_queue_setup:                           ## @queue_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	8(%rax), %r10
	imulq	(%rax), %r10
	movl	(%rdx), %r9d
	movl	(%rdi), %r8d
	testq	%r9, %r9
	je	LBB0_8
## %bb.2:
	cmpl	%r8d, %r9d
	jne	LBB0_7
## %bb.3:
	movq	8(%rdi), %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdi,4), %edx
	movq	(%r8,%rdi,8), %rax
	imulq	%r10, %rax
	shrq	$3, %rax
	cmpq	%rdx, %rax
	ja	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	cmpq	%rdi, %r9
	jne	LBB0_4
	jmp	LBB0_6
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_8:
	movl	%r8d, (%rdx)
	cmpl	$0, (%rdi)
	je	LBB0_6
## %bb.9:
	movq	8(%rdi), %r8
	xorl	%eax, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r8,%rdx,8), %rsi
	imulq	%r10, %rsi
	shrq	$3, %rsi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	movl	(%rdi), %esi
	cmpq	%rsi, %rdx
	jb	LBB0_10
	jmp	LBB0_11
LBB0_6:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_queue_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function queue_setup
_queue_setup:                           ; @queue_setup
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_6
; %bb.1:
	ldp	x10, x8, [x8]
	mul	x8, x8, x10
	ldr	w10, [x2]
	ldr	w11, [x9]
	cbz	w10, LBB0_7
; %bb.2:
	cmp	w10, w11
	b.ne	LBB0_6
; %bb.3:
	ldr	x9, [x9, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x3]
	ldr	x12, [x9]
	mul	x12, x12, x8
	cmp	x11, x12, lsr #3
	b.lo	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #8
	add	x3, x3, #4
	subs	x10, x10, #1
	b.ne	LBB0_4
	b	LBB0_10
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_7:
	str	w11, [x2]
	ldr	w10, [x9]
	cbz	w10, LBB0_10
; %bb.8:
	mov	x10, #0
	ldr	x11, [x9, #8]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x10, lsl #3]
	mul	x12, x12, x8
	lsr	x12, x12, #3
	str	w12, [x3, x10, lsl #2]
	add	x10, x10, #1
	ldr	w12, [x9]
	cmp	x10, x12
	b.lo	LBB0_9
LBB0_10:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_queue_setup
.subsections_via_symbols
