	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_yuv_frame_complete        ## -- Begin function ivtv_yuv_frame_complete
	.p2align	4, 0x90
_ivtv_yuv_frame_complete:               ## @ivtv_yuv_frame_complete
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	addq	$4, %rdi
	incl	%eax
	movq	_IVTV_YUV_BUFFERS@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, %esi
	popq	%rbp
	jmp	_atomic_set                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IVTV_YUV_BUFFERS,4,2           ## @IVTV_YUV_BUFFERS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_yuv_frame_complete        ; -- Begin function ivtv_yuv_frame_complete
	.p2align	2
_ivtv_yuv_frame_complete:               ; @ivtv_yuv_frame_complete
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0], #4
Lloh0:
	adrp	x9, _IVTV_YUV_BUFFERS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IVTV_YUV_BUFFERS@GOTPAGEOFF]
	add	w8, w8, #1
Lloh2:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w1, w10, w9, w8
	b	_atomic_set
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IVTV_YUV_BUFFERS,4,2           ; @IVTV_YUV_BUFFERS
.subsections_via_symbols
