	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vfe_set_camif_cmd
_vfe_set_camif_cmd:                     ## @vfe_set_camif_cmd
	.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, %r14
	movq	%rdi, %rbx
	movq	_VFE_0_CAMIF_CMD_CLEAR_CAMIF_STATUS@GOTPCREL(%rip), %rax
	movq	_VFE_0_CAMIF_CMD_NO_CHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_VFE_0_CAMIF_CMD@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	xorl	%eax, %eax
	callq	_wmb
	testq	%r14, %r14
	jne	LBB0_1
## %bb.2:
	movq	_VFE_0_CAMIF_CMD_DISABLE_FRAME_BOUNDARY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_VFE_0_CAMIF_CMD_ENABLE_FRAME_BOUNDARY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VFE_0_CAMIF_CMD_CLEAR_CAMIF_STATUS,4,2 ## @VFE_0_CAMIF_CMD_CLEAR_CAMIF_STATUS
	.comm	_VFE_0_CAMIF_CMD_NO_CHANGE,4,2  ## @VFE_0_CAMIF_CMD_NO_CHANGE
	.comm	_VFE_0_CAMIF_CMD,8,3            ## @VFE_0_CAMIF_CMD
	.comm	_VFE_0_CAMIF_CMD_ENABLE_FRAME_BOUNDARY,4,2 ## @VFE_0_CAMIF_CMD_ENABLE_FRAME_BOUNDARY
	.comm	_VFE_0_CAMIF_CMD_DISABLE_FRAME_BOUNDARY,4,2 ## @VFE_0_CAMIF_CMD_DISABLE_FRAME_BOUNDARY
	.no_dead_strip	_vfe_set_camif_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vfe_set_camif_cmd
_vfe_set_camif_cmd:                     ; @vfe_set_camif_cmd
	.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	x20, x0
Lloh0:
	adrp	x8, _VFE_0_CAMIF_CMD_CLEAR_CAMIF_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VFE_0_CAMIF_CMD_CLEAR_CAMIF_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VFE_0_CAMIF_CMD_NO_CHANGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VFE_0_CAMIF_CMD_NO_CHANGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x20]
Lloh6:
	adrp	x21, _VFE_0_CAMIF_CMD@GOTPAGE
Lloh7:
	ldr	x21, [x21, _VFE_0_CAMIF_CMD@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel_relaxed
	bl	_wmb
Lloh8:
	adrp	x8, _VFE_0_CAMIF_CMD_DISABLE_FRAME_BOUNDARY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VFE_0_CAMIF_CMD_DISABLE_FRAME_BOUNDARY@GOTPAGEOFF]
Lloh10:
	adrp	x9, _VFE_0_CAMIF_CMD_ENABLE_FRAME_BOUNDARY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _VFE_0_CAMIF_CMD_ENABLE_FRAME_BOUNDARY@GOTPAGEOFF]
	cmp	x19, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x1, x9, x8
	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
	b	_writel_relaxed
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VFE_0_CAMIF_CMD_CLEAR_CAMIF_STATUS,4,2 ; @VFE_0_CAMIF_CMD_CLEAR_CAMIF_STATUS
	.comm	_VFE_0_CAMIF_CMD_NO_CHANGE,4,2  ; @VFE_0_CAMIF_CMD_NO_CHANGE
	.comm	_VFE_0_CAMIF_CMD,8,3            ; @VFE_0_CAMIF_CMD
	.comm	_VFE_0_CAMIF_CMD_ENABLE_FRAME_BOUNDARY,4,2 ; @VFE_0_CAMIF_CMD_ENABLE_FRAME_BOUNDARY
	.comm	_VFE_0_CAMIF_CMD_DISABLE_FRAME_BOUNDARY,4,2 ; @VFE_0_CAMIF_CMD_DISABLE_FRAME_BOUNDARY
	.no_dead_strip	_vfe_set_camif_cmd
.subsections_via_symbols
