	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_jpeg_queue
_init_jpeg_queue:                       ## @init_jpeg_queue
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 88(%rdi)
	movdqu	%xmm0, 72(%rdi)
	movdqu	%xmm0, 56(%rdi)
	movdqu	%xmm0, 40(%rdi)
	movdqu	%xmm0, 24(%rdi)
	movl	8(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.1:
	movq	16(%r14), %rcx
	cmpl	$8, %eax
	jb	LBB0_2
## %bb.3:
	movq	_BUZ_STATE_USER@GOTPCREL(%rip), %r8
	leaq	4(%r8), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_6
## %bb.4:
	leaq	(%rcx,%rax,4), %rdx
	cmpq	_BUZ_STATE_USER@GOTPCREL(%rip), %rdx
	jbe	LBB0_6
LBB0_2:
	xorl	%edx, %edx
LBB0_12:
	movq	%rdx, %r8
	notq	%r8
	addq	%rax, %r8
	movq	%rax, %rdi
	andq	$3, %rdi
	je	LBB0_15
## %bb.13:
	movq	_BUZ_STATE_USER@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	decq	%rdi
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %r8
	jb	LBB0_18
## %bb.16:
	movq	_BUZ_STATE_USER@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edi
	movl	%edi, (%rcx,%rdx,4)
	movl	(%rsi), %edi
	movl	%edi, 4(%rcx,%rdx,4)
	movl	(%rsi), %edi
	movl	%edi, 8(%rcx,%rdx,4)
	movl	(%rsi), %edi
	movl	%edi, 12(%rcx,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_17
	jmp	LBB0_18
LBB0_6:
	movl	%eax, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rsi
	movq	%rsi, %rbx
	shrq	$3, %rbx
	incq	%rbx
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.7:
	movq	%rbx, %rdi
	andq	$-2, %rdi
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rcx,%rsi,4)
	movdqu	%xmm0, 16(%rcx,%rsi,4)
	movdqu	%xmm0, 32(%rcx,%rsi,4)
	movdqu	%xmm0, 48(%rcx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_8
## %bb.9:
	testb	$1, %bl
	je	LBB0_11
LBB0_10:
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%rcx,%rsi,4)
	movdqu	%xmm0, 16(%rcx,%rsi,4)
LBB0_11:
	cmpq	%rax, %rdx
	jne	LBB0_12
LBB0_18:
	movq	_BUZ_NUM_STAT_COM@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_21
## %bb.19:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_cpu_to_le32
	movq	(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_20
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	xorl	%esi, %esi
	testb	$1, %bl
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_BUZ_STATE_USER,4,2             ## @BUZ_STATE_USER
	.comm	_BUZ_NUM_STAT_COM,4,2           ## @BUZ_NUM_STAT_COM
	.no_dead_strip	_init_jpeg_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_jpeg_queue
_init_jpeg_queue:                       ; @init_jpeg_queue
	.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, x0
	movi.2d	v0, #0000000000000000
	stur	q0, [x0, #88]
	stur	q0, [x0, #72]
	stur	q0, [x0, #56]
	stur	q0, [x0, #40]
	stur	q0, [x0, #24]
	ldr	w9, [x0, #8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.1:
	ldr	x10, [x19, #16]
Lloh0:
	adrp	x8, _BUZ_STATE_USER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUZ_STATE_USER@GOTPAGEOFF]
	cmp	w9, #16
	b.lo	LBB0_6
; %bb.2:
	add	x11, x10, x9, lsl #2
	add	x12, x8, #4
	cmp	x10, x12
	ccmp	x11, x8, #0, lo
	b.hi	LBB0_6
; %bb.3:
	and	x11, x9, #0xfffffff0
	ld1r.4s	{ v0 }, [x8]
	add	x12, x10, #32
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x9
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x11, #0
LBB0_7:
	add	x10, x10, x11, lsl #2
	sub	x9, x9, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	str	w11, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
Lloh2:
	adrp	x20, _BUZ_NUM_STAT_COM@GOTPAGE
Lloh3:
	ldr	x20, [x20, _BUZ_NUM_STAT_COM@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x21, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	w0, [x8, x21, lsl #2]
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_11
LBB0_12:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_BUZ_STATE_USER,4,2             ; @BUZ_STATE_USER
	.comm	_BUZ_NUM_STAT_COM,4,2           ; @BUZ_NUM_STAT_COM
	.no_dead_strip	_init_jpeg_queue
.subsections_via_symbols
