	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jpg_unescape
_jpg_unescape:                          ## @jpg_unescape
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rax
	testl	%esi, %esi
	jle	LBB0_6
## %bb.1:
	movslq	%esi, %rax
	leaq	(%rdi,%rax,4), %r8
	movq	%rdx, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rax
	movq	%r9, %rdi
	cmpq	%r8, %r9
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	4(%rdi), %r9
	movl	(%rdi), %esi
	movl	%esi, (%rax)
	cmpl	$255, %esi
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%rdi)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rdi
	movq	%rdi, %r9
	jmp	LBB0_5
LBB0_6:
	subq	%rdx, %rax
	shrq	$2, %rax
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_jpg_unescape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jpg_unescape
_jpg_unescape:                          ; @jpg_unescape
	.cfi_startproc
; %bb.0:
	mov	x8, x2
	cmp	w1, #1
	b.lt	LBB0_5
; %bb.1:
	add	x9, x0, w1, sxtw #2
	mov	x8, x2
	mov	x10, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x10
	cmp	x10, x9
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	str	w11, [x8], #4
	cmp	w11, #255
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x0, #4]
	add	x12, x0, #8
	cmp	w11, #0
	csel	x10, x12, x10, eq
	b	LBB0_2
LBB0_5:
	sub	x8, x8, x2
	lsr	x8, x8, #2
	str	w8, [x3]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_jpg_unescape
.subsections_via_symbols
