	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jpeg_probe
_jpeg_probe:                            ## @jpeg_probe
	.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, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_AV_RB16
	xorl	%r15d, %r15d
	cmpl	$65496, %eax                    ## imm = 0xFFD8
	jne	LBB0_21
## %bb.1:
	movq	%rbx, %rdi
	callq	_AV_RB32
	cmpl	$-2555913, %eax                 ## imm = 0xFFD8FFF7
	je	LBB0_21
## %bb.2:
	cmpl	$4, 8(%r14)
	jl	LBB0_20
## %bb.3:
	addq	$8, %rbx
	xorl	%eax, %eax
	movl	$129, -44(%rbp)                 ## 4-byte Folded Spill
	leaq	LJTI0_0(%rip), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%rbx,%rcx,4), %rdi
	addq	$8, %rdi
	callq	_AV_RB16
	addl	%eax, %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%r13d, %eax
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%eax
	movl	8(%r14), %ecx
	addl	$-3, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_17
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rcx
	cmpl	$255, (%rbx,%rcx,4)
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%rbx,%rcx,4), %edx
	leal	-128(%rdx), %esi
	cmpl	$27, %esi
	ja	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leal	1(%rax), %r13d
	movslq	(%r12,%rsi,4), %rdx
	addq	%r12, %rdx
	jmpq	*%rdx
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%rbx,%rcx,4), %rdi
	addq	$8, %rdi
	callq	_AV_RB16
	cmpl	$129, -44(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_21
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	addl	%eax, %r13d
	movl	$136, -44(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_5
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_TEM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	setg	%sil
	cmpl	$136, %edx
	setl	%cl
	testb	%sil, %cl
	jne	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_JPG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	jne	LBB0_6
	jmp	LBB0_21
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%rbx,%rcx,4), %rdi
	addq	$8, %rdi
	callq	_AV_RB16
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	andl	$-9, %ecx
	cmpl	$128, %ecx
	jne	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	addl	%eax, %r13d
	movl	$128, -44(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_5
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$128, -44(%rbp)                 ## 4-byte Folded Reload
	movl	$137, -44(%rbp)                 ## 4-byte Folded Spill
	je	LBB0_6
	jmp	LBB0_21
LBB0_17:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$128, %eax
	je	LBB0_22
## %bb.18:
	cmpl	$137, %eax
	jne	LBB0_20
## %bb.19:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	incl	%r15d
	jmp	LBB0_21
LBB0_20:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	7(%rax), %r15d
	testl	%eax, %eax
	cmovnsl	%eax, %r15d
	sarl	$3, %r15d
LBB0_21:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %r15d
	shrl	$31, %r15d
	addl	%eax, %r15d
	sarl	%r15d
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_21
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_16
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_TEM,4,2                        ## @TEM
	.comm	_JPG,4,2                        ## @JPG
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_jpeg_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jpeg_probe
_jpeg_probe:                            ; @jpeg_probe
	.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
	mov	x19, x0
	ldr	x20, [x0]
	mov	x0, x20
	bl	_AV_RB16
	mov	w8, #65496
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_AV_RB32
	add	w8, w0, #624, lsl #12           ; =2555904
	cmn	w8, #9
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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
LBB0_4:
	ldr	w8, [x19, #8]
	cmp	w8, #4
	b.lt	LBB0_21
; %bb.5:
	mov	w8, #0
	add	x20, x20, #8
Lloh0:
	adrp	x21, _TEM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TEM@GOTPAGEOFF]
	mov	w25, #129
	mov	w22, #136
Lloh2:
	adrp	x23, _JPG@GOTPAGE
Lloh3:
	ldr	x23, [x23, _JPG@GOTPAGEOFF]
Lloh4:
	adrp	x24, lJTI0_0@PAGE
Lloh5:
	add	x24, x24, lJTI0_0@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x20, x9, lsl #2
	add	x0, x8, #8
	bl	_AV_RB16
	add	w8, w26, w0
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w8, w8, #1
	ldr	w9, [x19, #8]
	sub	w9, w9, #3
	cmp	w8, w9
	b.ge	LBB0_18
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20, w8, sxtw #2]
	cmp	w9, #255
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	sxtw	x9, w8
	add	x26, x9, #1
	ldr	w10, [x20, x26, lsl #2]
	sub	w11, w10, #128
	cmp	w11, #27
	b.hi	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #0
	adr	x10, LBB0_3
	ldrb	w12, [x24, x11]
	add	x10, x10, x12, lsl #2
	br	x10
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x20, x9, lsl #2
	add	x0, x8, #8
	bl	_AV_RB16
	cmp	w25, #129
	b.ne	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w8, w26, w0
	mov	w25, #136
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w9, [x21]
	cmp	w10, w9
	ccmp	w10, w22, #0, gt
	ldr	w9, [x23]
	ccmp	w10, w9, #4, ge
	b.ne	LBB0_7
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x20, x9, lsl #2
	add	x0, x8, #8
	bl	_AV_RB16
	and	w8, w25, #0xfffffff7
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w8, w26, w0
	mov	w25, #128
	b	LBB0_7
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w25, #128
	b.ne	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w25, #137
	b	LBB0_7
LBB0_18:
	cmp	w25, #128
	b.eq	LBB0_22
; %bb.19:
	cmp	w25, #137
	b.ne	LBB0_21
; %bb.20:
Lloh6:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w0, w8, #1
	b	LBB0_3
LBB0_21:
Lloh9:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #3
	b	LBB0_3
LBB0_22:
Lloh12:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
	b	LBB0_3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
                                        ; -- End function
	.comm	_TEM,4,2                        ; @TEM
	.comm	_JPG,4,2                        ; @JPG
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_jpeg_probe
.subsections_via_symbols
