	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zoran_g_fbuf
_zoran_g_fbuf:                          ## @zoran_g_fbuf
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	8(%rsi), %r14
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$36, %edx
	callq	_memset
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	24(%r14), %eax
	movl	%eax, 32(%rbx)
	movl	20(%r14), %eax
	movl	%eax, 28(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 24(%rbx)
	cmpq	$0, 8(%r14)
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
LBB0_2:
	movl	4(%r14), %eax
	movl	%eax, 16(%rbx)
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_V4L2_COLORSPACE_SRGB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_V4L2_FBUF_FLAG_OVERLAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_V4L2_FBUF_CAP_LIST_CLIPPING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ## @V4L2_COLORSPACE_SRGB
	.comm	_V4L2_FIELD_INTERLACED,4,2      ## @V4L2_FIELD_INTERLACED
	.comm	_V4L2_FBUF_FLAG_OVERLAY,4,2     ## @V4L2_FBUF_FLAG_OVERLAY
	.comm	_V4L2_FBUF_CAP_LIST_CLIPPING,4,2 ## @V4L2_FBUF_CAP_LIST_CLIPPING
	.no_dead_strip	_zoran_g_fbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zoran_g_fbuf
_zoran_g_fbuf:                          ; @zoran_g_fbuf
	.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, x2
	mov	x21, x1
	ldr	x20, [x1, #8]
	mov	x0, x2
	mov	w1, #0
	mov	w2, #36
	bl	_memset
	mov	x0, x20
	bl	_mutex_lock
	ldr	w8, [x20, #24]
	str	w8, [x19, #32]
	ldr	d0, [x20, #16]
	str	d0, [x19, #24]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	w8, [x8]
	str	w8, [x19, #20]
LBB0_2:
	ldr	w8, [x20, #4]
	str	w8, [x19, #16]
	mov	x0, x20
	bl	_mutex_unlock
Lloh0:
	adrp	x8, _V4L2_COLORSPACE_SRGB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_COLORSPACE_SRGB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh6:
	adrp	x8, _V4L2_FBUF_FLAG_OVERLAY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_FBUF_FLAG_OVERLAY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _V4L2_FBUF_CAP_LIST_CLIPPING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_FBUF_CAP_LIST_CLIPPING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ; @V4L2_COLORSPACE_SRGB
	.comm	_V4L2_FIELD_INTERLACED,4,2      ; @V4L2_FIELD_INTERLACED
	.comm	_V4L2_FBUF_FLAG_OVERLAY,4,2     ; @V4L2_FBUF_FLAG_OVERLAY
	.comm	_V4L2_FBUF_CAP_LIST_CLIPPING,4,2 ; @V4L2_FBUF_CAP_LIST_CLIPPING
	.no_dead_strip	_zoran_g_fbuf
.subsections_via_symbols
