	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __copy_timestamp
___copy_timestamp:                      ## @__copy_timestamp
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_to_vb2_v4l2_buffer
	movq	%rax, %r14
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	8(%r15), %rdi
	callq	_v4l2_timeval_to_ns
	movl	%eax, (%rbx)
LBB0_3:
	movl	(%r15), %eax
	movq	_V4L2_BUF_FLAG_TIMECODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	orl	%edx, (%r14)
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movl	4(%r15), %eax
	movl	%eax, 4(%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_FLAG_TIMECODE,4,2     ## @V4L2_BUF_FLAG_TIMECODE
	.no_dead_strip	___copy_timestamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __copy_timestamp
___copy_timestamp:                      ; @__copy_timestamp
	.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, x1
	mov	x21, x0
	bl	_to_vb2_v4l2_buffer
	ldr	x8, [x21, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x19, #8
	bl	_v4l2_timeval_to_ns
	str	w0, [x21]
LBB0_3:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _V4L2_BUF_FLAG_TIMECODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_BUF_FLAG_TIMECODE@GOTPAGEOFF]
	ldr	w10, [x9]
	and	w10, w10, w8
	ldr	w11, [x20]
	orr	w10, w11, w10
	str	w10, [x20]
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x19, #4]
	str	w8, [x20, #4]
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_FLAG_TIMECODE,4,2     ; @V4L2_BUF_FLAG_TIMECODE
	.no_dead_strip	___copy_timestamp
.subsections_via_symbols
