	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vfe_buf_update_wm_on_last
_vfe_buf_update_wm_on_last:             ## @vfe_buf_update_wm_on_last
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %edx
	cmpl	$128, %edx
	je	LBB0_3
## %bb.1:
	cmpl	$129, %edx
	jne	LBB0_4
## %bb.2:
	movl	$128, (%rsi)
	movl	$1, %edx
	popq	%rbp
	jmp	_vfe_output_frame_drop          ## TAILCALL
LBB0_3:
	movq	_VFE_OUTPUT_STOPPING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	xorl	%edx, %edx
	popq	%rbp
	jmp	_vfe_output_frame_drop          ## TAILCALL
LBB0_4:
	movq	(%rdi), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_dev_err_ratelimited            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VFE_OUTPUT_STOPPING,4,2        ## @VFE_OUTPUT_STOPPING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Last buff in wrong state! %d\n"

	.no_dead_strip	_vfe_buf_update_wm_on_last
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vfe_buf_update_wm_on_last
_vfe_buf_update_wm_on_last:             ; @vfe_buf_update_wm_on_last
	.cfi_startproc
; %bb.0:
	ldr	w2, [x1]
	cmp	w2, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #129
	b.ne	LBB0_4
; %bb.2:
	mov	w8, #128
	str	w8, [x1]
	mov	w2, #1
	b	_vfe_output_frame_drop
LBB0_3:
Lloh0:
	adrp	x8, _VFE_OUTPUT_STOPPING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VFE_OUTPUT_STOPPING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1]
	mov	w2, #0
	b	_vfe_output_frame_drop
LBB0_4:
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	_dev_err_ratelimited
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VFE_OUTPUT_STOPPING,4,2        ; @VFE_OUTPUT_STOPPING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Last buff in wrong state! %d\n"

	.no_dead_strip	_vfe_buf_update_wm_on_last
.subsections_via_symbols
