	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function preview_enable_oneshot
_preview_enable_oneshot:                ## @preview_enable_oneshot
	.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
	callq	_to_isp_device
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	_PREVIEW_INPUT_MEMORY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_OMAP3_ISP_IOMEM_PREV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISPPRV_PCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ISPPRV_PCR_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_isp_reg_set
LBB0_2:
	movq	_OMAP3_ISP_IOMEM_PREV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISPPRV_PCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ISPPRV_PCR_EN@GOTPCREL(%rip), %rax
	movq	_ISPPRV_PCR_ONESHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_isp_reg_set                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PREVIEW_INPUT_MEMORY,8,3       ## @PREVIEW_INPUT_MEMORY
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ## @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_PCR,4,2                 ## @ISPPRV_PCR
	.comm	_ISPPRV_PCR_SOURCE,4,2          ## @ISPPRV_PCR_SOURCE
	.comm	_ISPPRV_PCR_EN,4,2              ## @ISPPRV_PCR_EN
	.comm	_ISPPRV_PCR_ONESHOT,4,2         ## @ISPPRV_PCR_ONESHOT
	.no_dead_strip	_preview_enable_oneshot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preview_enable_oneshot
_preview_enable_oneshot:                ; @preview_enable_oneshot
	.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	x20, x0
	bl	_to_isp_device
	mov	x19, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PREVIEW_INPUT_MEMORY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PREVIEW_INPUT_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x20, _OMAP3_ISP_IOMEM_PREV@GOTPAGE
Lloh4:
	ldr	x20, [x20, _OMAP3_ISP_IOMEM_PREV@GOTPAGEOFF]
Lloh5:
	adrp	x21, _ISPPRV_PCR@GOTPAGE
Lloh6:
	ldr	x21, [x21, _ISPPRV_PCR@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x20]
	ldr	w2, [x21]
Lloh7:
	adrp	x8, _ISPPRV_PCR_SOURCE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ISPPRV_PCR_SOURCE@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_isp_reg_set
LBB0_2:
	ldr	w1, [x20]
	ldr	w2, [x21]
Lloh10:
	adrp	x8, _ISPPRV_PCR_EN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ISPPRV_PCR_EN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _ISPPRV_PCR_ONESHOT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ISPPRV_PCR_ONESHOT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x19
	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	_isp_reg_set
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PREVIEW_INPUT_MEMORY,8,3       ; @PREVIEW_INPUT_MEMORY
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ; @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_PCR,4,2                 ; @ISPPRV_PCR
	.comm	_ISPPRV_PCR_SOURCE,4,2          ; @ISPPRV_PCR_SOURCE
	.comm	_ISPPRV_PCR_EN,4,2              ; @ISPPRV_PCR_EN
	.comm	_ISPPRV_PCR_ONESHOT,4,2         ; @ISPPRV_PCR_ONESHOT
	.no_dead_strip	_preview_enable_oneshot
.subsections_via_symbols
