	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_camif_hw_set_output_addr       ## -- Begin function camif_hw_set_output_addr
	.p2align	4, 0x90
_camif_hw_set_output_addr:              ## @camif_hw_set_output_addr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	(%rdi), %rdi
	movq	8(%r13), %r12
	movl	%edx, %esi
	callq	_S3C_CAMIF_REG_CIYSA
	leaq	8(%rbx), %r15
	movl	8(%rbx), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_camif_write
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	_S3C6410_CAMIF_IP_REV@GOTPCREL(%rip), %rcx
	movq	(%r13), %rdi
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_VP_CODEC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_3
LBB0_2:
	movl	%r14d, %esi
	callq	_S3C_CAMIF_REG_CICBSA
	movl	4(%rbx), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_camif_write
	movq	(%r13), %rdi
	movl	%r14d, %esi
	callq	_S3C_CAMIF_REG_CICRSA
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_camif_write
LBB0_3:
	leaq	4(%rbx), %rcx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movq	%rbx, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_S3C6410_CAMIF_IP_REV,8,3       ## @S3C6410_CAMIF_IP_REV
	.comm	_VP_CODEC,8,3                   ## @VP_CODEC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dst_buf[%d]: %pad, cb: %pad, cr: %pad\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_camif_hw_set_output_addr       ; -- Begin function camif_hw_set_output_addr
	.p2align	2
_camif_hw_set_output_addr:              ; @camif_hw_set_output_addr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
	ldp	x0, x22, [x0]
	mov	x1, x2
	bl	_S3C_CAMIF_REG_CIYSA
	mov	x1, x0
	mov	x21, x19
	ldr	w2, [x21, #8]!
	mov	x0, x22
	bl	_camif_write
	ldr	x8, [x22]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _S3C6410_CAMIF_IP_REV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _S3C6410_CAMIF_IP_REV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x0, [x23]
Lloh3:
	adrp	x10, _VP_CODEC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VP_CODEC@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x0, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x1, x20
	bl	_S3C_CAMIF_REG_CICBSA
	mov	x1, x0
	ldr	w2, [x19, #4]
	mov	x0, x22
	bl	_camif_write
	ldr	x0, [x23]
	mov	x1, x20
	bl	_S3C_CAMIF_REG_CICRSA
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x22
	bl	_camif_write
LBB0_2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	add	x3, x19, #4
	mov	x1, x20
	mov	x2, x21
	mov	x4, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pr_debug
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_S3C6410_CAMIF_IP_REV,8,3       ; @S3C6410_CAMIF_IP_REV
	.comm	_VP_CODEC,8,3                   ; @VP_CODEC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dst_buf[%d]: %pad, cb: %pad, cr: %pad\n"

.subsections_via_symbols
