	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa_camera_resume
_pxa_camera_resume:                     ## @pxa_camera_resume
	.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
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_CICR0_ENB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	(%rax), %edi
	movq	_CICR0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	callq	___raw_writel
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movq	_CICR1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	callq	___raw_writel
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movq	_CICR2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	callq	___raw_writel
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	movq	_CICR3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	callq	___raw_writel
	movq	(%rbx), %rax
	movl	16(%rax), %edi
	movq	_CICR4@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	callq	___raw_writel
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_pxac_sensor_set_power
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_4
LBB0_2:
	xorl	%r14d, %r14d
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_pxa_camera_start_capture
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CICR0_ENB,4,2                  ## @CICR0_ENB
	.comm	_CICR0,8,3                      ## @CICR0
	.comm	_CICR1,8,3                      ## @CICR1
	.comm	_CICR2,8,3                      ## @CICR2
	.comm	_CICR3,8,3                      ## @CICR3
	.comm	_CICR4,8,3                      ## @CICR4
	.no_dead_strip	_pxa_camera_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa_camera_resume
_pxa_camera_resume:                     ; @pxa_camera_resume
	.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
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _CICR0_ENB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CICR0_ENB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bic	w0, w8, w9
	ldr	x8, [x19, #24]
Lloh3:
	adrp	x9, _CICR0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CICR0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	___raw_writel
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	ldr	x8, [x19, #24]
Lloh6:
	adrp	x9, _CICR1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CICR1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	___raw_writel
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	ldr	x8, [x19, #24]
Lloh9:
	adrp	x9, _CICR2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CICR2@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	___raw_writel
	ldr	x8, [x19]
	ldr	w0, [x8, #12]
	ldr	x8, [x19, #24]
Lloh12:
	adrp	x9, _CICR3@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CICR3@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	___raw_writel
	ldr	x8, [x19]
	ldr	w0, [x8, #16]
	ldr	x8, [x19, #24]
Lloh15:
	adrp	x9, _CICR4@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CICR4@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	___raw_writel
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_pxac_sensor_set_power
	cbnz	w0, LBB0_5
LBB0_2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_pxa_camera_start_capture
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CICR0_ENB,4,2                  ; @CICR0_ENB
	.comm	_CICR0,8,3                      ; @CICR0
	.comm	_CICR1,8,3                      ; @CICR1
	.comm	_CICR2,8,3                      ; @CICR2
	.comm	_CICR3,8,3                      ; @CICR3
	.comm	_CICR4,8,3                      ; @CICR4
	.no_dead_strip	_pxa_camera_resume
.subsections_via_symbols
