	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_SOFn
_process_SOFn:                          ## @process_SOFn
	.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
	movl	%edi, %r13d
	xorl	%eax, %eax
	callq	_read_2_bytes
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_read_1_byte
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_read_2_bytes
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_read_2_bytes
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_read_1_byte
	movl	%eax, %ebx
	addl	$-128, %r13d
	cmpl	$12, %r13d
	ja	LBB0_1
## %bb.2:
	movslq	%r13d, %rax
	leaq	l_reltable.process_SOFn(%rip), %rcx
	movslq	(%rcx,%rax,4), %r13
	addq	%rcx, %r13
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.13(%rip), %r13
LBB0_3:
	leaq	L_.str.14(%rip), %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.15(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_printf
	leal	(%rbx,%rbx,2), %eax
	addl	$8, %eax
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:
	leaq	L_.str.16(%rip), %rdi
	callq	_ERREXIT
LBB0_5:
	testl	%ebx, %ebx
	jle	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_read_1_byte
	xorl	%eax, %eax
	callq	_read_1_byte
	xorl	%eax, %eax
	callq	_read_1_byte
	decl	%ebx
	jne	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Baseline"

L_.str.1:                               ## @.str.1
	.asciz	"Extended sequential"

L_.str.2:                               ## @.str.2
	.asciz	"Progressive"

L_.str.3:                               ## @.str.3
	.asciz	"Lossless"

L_.str.4:                               ## @.str.4
	.asciz	"Differential sequential"

L_.str.5:                               ## @.str.5
	.asciz	"Differential progressive"

L_.str.6:                               ## @.str.6
	.asciz	"Differential lossless"

L_.str.7:                               ## @.str.7
	.asciz	"Extended sequential, arithmetic coding"

L_.str.8:                               ## @.str.8
	.asciz	"Progressive, arithmetic coding"

L_.str.9:                               ## @.str.9
	.asciz	"Lossless, arithmetic coding"

L_.str.10:                              ## @.str.10
	.asciz	"Differential sequential, arithmetic coding"

L_.str.11:                              ## @.str.11
	.asciz	"Differential progressive, arithmetic coding"

L_.str.12:                              ## @.str.12
	.asciz	"Differential lossless, arithmetic coding"

L_.str.13:                              ## @.str.13
	.asciz	"Unknown"

L_.str.14:                              ## @.str.14
	.asciz	"JPEG image is %uw * %uh, %d color components, %d bits per sample\n"

L_.str.15:                              ## @.str.15
	.asciz	"JPEG process: %s\n"

L_.str.16:                              ## @.str.16
	.asciz	"Bogus SOF marker length"

	.no_dead_strip	_process_SOFn
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.process_SOFn
l_reltable.process_SOFn:
	.long	L_.str.7-l_reltable.process_SOFn
	.long	L_.str.6-l_reltable.process_SOFn
	.long	L_.str.5-l_reltable.process_SOFn
	.long	L_.str.4-l_reltable.process_SOFn
	.long	L_.str.3-l_reltable.process_SOFn
	.long	L_.str.2-l_reltable.process_SOFn
	.long	L_.str.12-l_reltable.process_SOFn
	.long	L_.str.11-l_reltable.process_SOFn
	.long	L_.str.10-l_reltable.process_SOFn
	.long	L_.str.9-l_reltable.process_SOFn
	.long	L_.str.8-l_reltable.process_SOFn
	.long	L_.str.1-l_reltable.process_SOFn
	.long	L_.str-l_reltable.process_SOFn

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_SOFn
_process_SOFn:                          ; @process_SOFn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x24, x0
	bl	_read_2_bytes
	mov	x20, x0
	bl	_read_1_byte
	mov	x21, x0
	bl	_read_2_bytes
	mov	x22, x0
	bl	_read_2_bytes
	mov	x23, x0
	bl	_read_1_byte
	mov	x19, x0
	sub	w8, w24, #128
	cmp	w8, #12
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.process_SOFn@PAGE
Lloh1:
	add	x9, x9, l_switch.table.process_SOFn@PAGEOFF
	ldr	x24, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x24, l_.str.13@PAGE
Lloh3:
	add	x24, x24, l_.str.13@PAGEOFF
LBB0_3:
	stp	x19, x21, [sp, #16]
	stp	x23, x22, [sp]
Lloh4:
	adrp	x0, l_.str.14@PAGE
Lloh5:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_printf
	str	x24, [sp]
Lloh6:
	adrp	x0, l_.str.15@PAGE
Lloh7:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_printf
	add	w8, w19, w19, lsl #1
	add	w8, w8, #8
	cmp	w20, w8
	b.eq	LBB0_5
; %bb.4:
Lloh8:
	adrp	x0, l_.str.16@PAGE
Lloh9:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_ERREXIT
LBB0_5:
	cmp	w19, #1
	b.lt	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_read_1_byte
	bl	_read_1_byte
	bl	_read_1_byte
	subs	w19, w19, #1
	b.ne	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Baseline"

l_.str.1:                               ; @.str.1
	.asciz	"Extended sequential"

l_.str.2:                               ; @.str.2
	.asciz	"Progressive"

l_.str.3:                               ; @.str.3
	.asciz	"Lossless"

l_.str.4:                               ; @.str.4
	.asciz	"Differential sequential"

l_.str.5:                               ; @.str.5
	.asciz	"Differential progressive"

l_.str.6:                               ; @.str.6
	.asciz	"Differential lossless"

l_.str.7:                               ; @.str.7
	.asciz	"Extended sequential, arithmetic coding"

l_.str.8:                               ; @.str.8
	.asciz	"Progressive, arithmetic coding"

l_.str.9:                               ; @.str.9
	.asciz	"Lossless, arithmetic coding"

l_.str.10:                              ; @.str.10
	.asciz	"Differential sequential, arithmetic coding"

l_.str.11:                              ; @.str.11
	.asciz	"Differential progressive, arithmetic coding"

l_.str.12:                              ; @.str.12
	.asciz	"Differential lossless, arithmetic coding"

l_.str.13:                              ; @.str.13
	.asciz	"Unknown"

l_.str.14:                              ; @.str.14
	.asciz	"JPEG image is %uw * %uh, %d color components, %d bits per sample\n"

l_.str.15:                              ; @.str.15
	.asciz	"JPEG process: %s\n"

l_.str.16:                              ; @.str.16
	.asciz	"Bogus SOF marker length"

	.no_dead_strip	_process_SOFn
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.process_SOFn
l_switch.table.process_SOFn:
	.quad	l_.str.7
	.quad	l_.str.6
	.quad	l_.str.5
	.quad	l_.str.4
	.quad	l_.str.3
	.quad	l_.str.2
	.quad	l_.str.12
	.quad	l_.str.11
	.quad	l_.str.10
	.quad	l_.str.9
	.quad	l_.str.8
	.quad	l_.str.1
	.quad	l_.str

.subsections_via_symbols
