	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_next_marker
_php_next_marker:                       ## @php_next_marker
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%edx, %edx
	jne	LBB0_7
## %bb.1:
	movq	%r14, %rdi
	callq	_php_stream_getc
	cmpl	$255, %eax
	je	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	movq	_EOF@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r15), %eax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_php_stream_getc
	decq	%rbx
	cmpl	$255, %eax
	jne	LBB0_3
## %bb.5:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	negq	%rbx
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rcx
	callq	_php_error_docref
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_php_stream_getc
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$255, %eax
	je	LBB0_7
	jmp	LBB0_10
LBB0_8:
	movq	_M_EOI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.comm	_M_EOI,4,2                      ## @M_EOI
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"corrupt JPEG data: %zu extraneous bytes before marker"

	.no_dead_strip	_php_next_marker
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_next_marker
_php_next_marker:                       ; @php_next_marker
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _EOF@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EOF@GOTPAGEOFF]
	cbnz	w2, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_php_stream_getc
	cmp	w0, #255
	b.eq	LBB0_7
; %bb.2:
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_php_stream_getc
	sub	x21, x21, #1
	cmp	w0, #255
	b.ne	LBB0_3
; %bb.5:
	cbz	x21, LBB0_7
; %bb.6:
	neg	x3, x21
Lloh2:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_php_stream_getc
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w0, #255
	b.eq	LBB0_7
	b	LBB0_10
LBB0_9:
Lloh7:
	adrp	x8, _M_EOI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _M_EOI@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.comm	_M_EOI,4,2                      ; @M_EOI
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"corrupt JPEG data: %zu extraneous bytes before marker"

	.no_dead_strip	_php_next_marker
.subsections_via_symbols
