	.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
	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	(%rdi), %r13
	movq	24(%r13), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%rcx, %r14
	movq	8(%r13), %rbx
	imulq	(%r13), %rbx
	movl	(%rdx), %eax
	movl	(%r12), %ecx
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	cmpl	%ecx, %eax
	jne	LBB0_1
## %bb.4:
	movq	8(%r12), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rdx,4), %esi
	movq	(%rcx,%rdx,8), %rdi
	imulq	%rbx, %rdi
	shrq	$3, %rdi
	cmpq	%rsi, %rdi
	ja	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_6
	jmp	LBB0_13
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_7:
	movl	%ecx, (%rdx)
	cmpl	$0, (%r12)
	je	LBB0_13
## %bb.8:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	imulq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	shrq	$3, %rbx
	movq	_u32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r13), %rax
	movl	(%rax,%r15,4), %edx
	movl	%ebx, %esi
	callq	_max_t
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, (%r14,%r15,4)
	incq	%r15
	movl	(%r12), %eax
	cmpq	%rax, %r15
	jae	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %rbx
	movl	16(%r12), %edi
	callq	_fimc_fmt_is_user_defined
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	16(%r13), %rax
	movl	(%rax,%r15,4), %eax
	jmp	LBB0_12
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_u32,4,2                        ## @u32
	.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:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x22, [x0]
	ldr	x21, [x22, #24]
	cbz	x21, LBB0_6
; %bb.1:
	mov	x19, x3
	ldp	x8, x9, [x22]
	mul	x20, x9, x8
	ldr	w8, [x2]
	ldr	w9, [x21]
	cbz	w8, LBB0_7
; %bb.2:
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.3:
	ldr	x9, [x21, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x19]
	ldr	x11, [x9]
	mul	x11, x11, x20
	cmp	x10, x11, lsr #3
	b.lo	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #8
	add	x19, x19, #4
	subs	x8, x8, #1
	b.ne	LBB0_4
	b	LBB0_13
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_7:
	str	w9, [x2]
	ldr	w8, [x21]
	cbz	w8, LBB0_13
; %bb.8:
	mov	x23, #0
Lloh3:
	adrp	x24, _u32@GOTPAGE
Lloh4:
	ldr	x24, [x24, _u32@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mul	x8, x25, x20
	lsr	x1, x8, #3
	ldr	w0, [x24]
	ldr	x8, [x22, #16]
	ldr	w2, [x8, x23, lsl #2]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_max_t
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	str	w0, [x19, x23, lsl #2]
	add	x23, x23, #1
	ldr	w8, [x21]
	cmp	x23, x8
	b.hs	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x25, [x8, x23, lsl #3]
	ldr	w0, [x21, #16]
	bl	_fimc_fmt_is_user_defined
	cbz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x22, #16]
	ldr	w0, [x8, x23, lsl #2]
	b	LBB0_10
LBB0_13:
	mov	w0, #0
LBB0_14:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_u32,4,2                        ; @u32
	.no_dead_strip	_queue_setup
.subsections_via_symbols
