	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jinit_compress_master          ## -- Begin function jinit_compress_master
	.p2align	4, 0x90
_jinit_compress_master:                 ## @jinit_compress_master
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_FALSE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_jinit_c_master_control
	cmpl	$0, 48(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_jinit_color_converter
	movq	%rbx, %rdi
	callq	_jinit_downsampler
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_jinit_c_prep_controller
LBB0_2:
	movq	%rbx, %rdi
	callq	_jinit_forward_dct
	cmpq	$0, 40(%rbx)
	je	LBB0_5
## %bb.3:
	movq	_JERR_ARITH_NOTIMPL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	cmpq	$0, 32(%rbx)
	je	LBB0_7
## %bb.6:
	movq	_JERR_NOT_COMPILED@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ERREXIT
LBB0_8:
	movl	$1, %esi
	cmpl	$1, (%rbx)
	jg	LBB0_10
## %bb.9:
	xorl	%esi, %esi
	cmpq	$0, 24(%rbx)
	setne	%sil
LBB0_10:
	movq	%rbx, %rdi
	callq	_jinit_c_coef_controller
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_jinit_c_main_controller
	movq	%rbx, %rdi
	callq	_jinit_marker_writer
	movq	16(%rbx), %rax
	movl	%ebx, %edi
	callq	*(%rax)
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	callq	_jinit_huff_encoder
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_JERR_ARITH_NOTIMPL,4,2         ## @JERR_ARITH_NOTIMPL
	.comm	_JERR_NOT_COMPILED,4,2          ## @JERR_NOT_COMPILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jinit_compress_master          ; -- Begin function jinit_compress_master
	.p2align	2
_jinit_compress_master:                 ; @jinit_compress_master
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _FALSE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_jinit_c_master_control
	ldr	w8, [x19, #48]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_jinit_color_converter
	mov	x0, x19
	bl	_jinit_downsampler
	ldr	w1, [x20]
	mov	x0, x19
	bl	_jinit_c_prep_controller
LBB0_2:
	mov	x0, x19
	bl	_jinit_forward_dct
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _JERR_ARITH_NOTIMPL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JERR_ARITH_NOTIMPL@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_11
; %bb.5:
Lloh4:
	adrp	x8, _JERR_NOT_COMPILED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _JERR_NOT_COMPILED@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ERREXIT
LBB0_7:
	ldr	w8, [x19]
	cmp	w8, #1
	b.le	LBB0_9
; %bb.8:
	mov	w1, #1
	b	LBB0_10
LBB0_9:
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w1, ne
LBB0_10:
	mov	x0, x19
	bl	_jinit_c_coef_controller
	ldr	w1, [x20]
	mov	x0, x19
	bl	_jinit_c_main_controller
	mov	x0, x19
	bl	_jinit_marker_writer
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_11:
	mov	x0, x19
	bl	_jinit_huff_encoder
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_JERR_ARITH_NOTIMPL,4,2         ; @JERR_ARITH_NOTIMPL
	.comm	_JERR_NOT_COMPILED,4,2          ; @JERR_NOT_COMPILED
.subsections_via_symbols
