	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jinit_c_prep_controller        ## -- Begin function jinit_c_prep_controller
	.p2align	4, 0x90
_jinit_c_prep_controller:               ## @jinit_c_prep_controller
	.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, %r12
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	_JERR_BAD_BUFFER_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ERREXIT
LBB0_2:
	movq	24(%r12), %rax
	movq	8(%rax), %rbx
	movq	_JPOOL_IMAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_my_prep_controller@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SIZEOF
	movl	%r12d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	*%rbx
	movq	%rax, %r14
	movq	%rax, 48(%r12)
	movq	_start_pass_prep@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	40(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.10:
	movq	_JERR_NOT_COMPILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERREXIT                        ## TAILCALL
LBB0_3:
	movq	_pre_process_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.4:
	movq	32(%r12), %r13
	addq	$8, %r13
	xorl	%ebx, %ebx
	movq	_DCTSIZE@GOTPCREL(%rip), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cqto
	idivq	%rcx
	movq	%rax, %rdx
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%r12), %ecx
	movl	%r12d, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*%r8
	movq	(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r12), %rax
	addq	$16, %r13
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	(%rax), %r8
	movq	(%r15), %rax
	imulq	(%r13), %rax
	imulq	8(%r12), %rax
	movq	_JPOOL_IMAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	-8(%r13), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %edx
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JERR_BAD_BUFFER_MODE,4,2       ## @JERR_BAD_BUFFER_MODE
	.comm	_JPOOL_IMAGE,4,2                ## @JPOOL_IMAGE
	.comm	_my_prep_controller,4,2         ## @my_prep_controller
	.comm	_start_pass_prep,4,2            ## @start_pass_prep
	.comm	_JERR_NOT_COMPILED,4,2          ## @JERR_NOT_COMPILED
	.comm	_pre_process_data,4,2           ## @pre_process_data
	.comm	_DCTSIZE,8,3                    ## @DCTSIZE
	.comm	_pre_process_context,4,2        ## @pre_process_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jinit_c_prep_controller        ; -- Begin function jinit_c_prep_controller
	.p2align	2
_jinit_c_prep_controller:               ; @jinit_c_prep_controller
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	cbz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _JERR_BAD_BUFFER_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JERR_BAD_BUFFER_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ERREXIT
LBB0_2:
	ldr	x8, [x19, #24]
	ldr	x22, [x8, #8]
Lloh3:
	adrp	x21, _JPOOL_IMAGE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _JPOOL_IMAGE@GOTPAGEOFF]
	ldr	w20, [x21]
Lloh5:
	adrp	x8, _my_prep_controller@GOTPAGE
Lloh6:
	ldr	x8, [x8, _my_prep_controller@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_SIZEOF
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	blr	x22
	str	x0, [x19, #48]
Lloh8:
	adrp	x8, _start_pass_prep@GOTPAGE
Lloh9:
	ldr	x8, [x8, _start_pass_prep@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x0, #12]
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _JERR_NOT_COMPILED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _JERR_NOT_COMPILED@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERREXIT
LBB0_4:
	mov	x20, x0
Lloh14:
	adrp	x8, _pre_process_data@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pre_process_data@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x22, #0
	ldr	x8, [x19, #32]
	add	x23, x8, #8
Lloh17:
	adrp	x24, _DCTSIZE@GOTPAGE
Lloh18:
	ldr	x24, [x24, _DCTSIZE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	w1, [x21]
	ldr	x9, [x23]
	ldr	x10, [x24]
	mul	x9, x10, x9
	ldr	x10, [x19, #8]
	mul	x9, x9, x10
	ldur	x10, [x23, #-8]
	sdiv	x2, x9, x10
	ldr	w3, [x19, #16]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	blr	x8
	ldr	x8, [x20]
	str	w0, [x8, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x23, x23, #16
	cmp	x22, x8
	b.lt	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_JERR_BAD_BUFFER_MODE,4,2       ; @JERR_BAD_BUFFER_MODE
	.comm	_JPOOL_IMAGE,4,2                ; @JPOOL_IMAGE
	.comm	_my_prep_controller,4,2         ; @my_prep_controller
	.comm	_start_pass_prep,4,2            ; @start_pass_prep
	.comm	_JERR_NOT_COMPILED,4,2          ; @JERR_NOT_COMPILED
	.comm	_pre_process_data,4,2           ; @pre_process_data
	.comm	_DCTSIZE,8,3                    ; @DCTSIZE
	.comm	_pre_process_context,4,2        ; @pre_process_context
.subsections_via_symbols
