	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccp2_isr_buffer
_ccp2_isr_buffer:                       ## @ccp2_isr_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$12, %rdi
	callq	_to_isp_pipeline
	movq	%rax, %r14
	leaq	8(%rbx), %rdi
	callq	_omap3isp_video_buffer_next
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ccp2_set_inaddr
LBB0_2:
	movq	_ISP_PIPELINE_IDLE_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	(%rbx), %rax
	movq	_ISP_PIPELINE_STREAM_SINGLESHOT@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_isp_pipeline_ready
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_omap3isp_pipeline_set_stream   ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISP_PIPELINE_IDLE_INPUT,4,2    ## @ISP_PIPELINE_IDLE_INPUT
	.comm	_ISP_PIPELINE_STREAM_SINGLESHOT,8,3 ## @ISP_PIPELINE_STREAM_SINGLESHOT
	.no_dead_strip	_ccp2_isr_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccp2_isr_buffer
_ccp2_isr_buffer:                       ; @ccp2_isr_buffer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	add	x0, x0, #12
	bl	_to_isp_pipeline
	mov	x19, x0
	add	x0, x20, #8
	bl	_omap3isp_video_buffer_next
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x0]
	mov	x0, x20
	bl	_ccp2_set_inaddr
LBB0_2:
Lloh0:
	adrp	x8, _ISP_PIPELINE_IDLE_INPUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISP_PIPELINE_IDLE_INPUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x20]
Lloh3:
	adrp	x20, _ISP_PIPELINE_STREAM_SINGLESHOT@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ISP_PIPELINE_STREAM_SINGLESHOT@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_isp_pipeline_ready
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_omap3isp_pipeline_set_stream
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISP_PIPELINE_IDLE_INPUT,4,2    ; @ISP_PIPELINE_IDLE_INPUT
	.comm	_ISP_PIPELINE_STREAM_SINGLESHOT,8,3 ; @ISP_PIPELINE_STREAM_SINGLESHOT
	.no_dead_strip	_ccp2_isr_buffer
.subsections_via_symbols
