	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isi_camera_set_bus_param
_isi_camera_set_bus_param:              ## @isi_camera_set_bus_param
	.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, %r14
	xorl	%eax, %eax
	cmpq	$0, 40(%rdi)
	movl	$0, %ecx
	je	LBB0_2
## %bb.1:
	movq	_ISI_CFG1_HSYNC_POL_ACTIVE_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	cmpq	$0, 32(%r14)
	movl	$0, %ebx
	je	LBB0_4
## %bb.3:
	movq	_ISI_CFG1_VSYNC_POL_ACTIVE_LOW@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
LBB0_4:
	cmpq	$0, 24(%r14)
	movl	$0, %edx
	je	LBB0_6
## %bb.5:
	movq	_ISI_CFG1_PIXCLK_POL_ACTIVE_FALLING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_6:
	orl	%ecx, %ebx
	cmpq	$0, 16(%r14)
	movl	$0, %ecx
	je	LBB0_8
## %bb.7:
	movq	_ISI_CFG1_EMB_SYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:
	orl	%ecx, %edx
	orl	%edx, %ebx
	cmpq	$0, 8(%r14)
	je	LBB0_10
## %bb.9:
	movq	_ISI_CFG1_FULL_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	orl	%eax, %ebx
	movq	_ISI_CFG1_THMASK_BEATS_16@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_pm_runtime_get_sync
	movq	_ISI_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISI_CTRL_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_isi_writel
	movq	_ISI_CFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_isi_writel
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pm_runtime_put                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISI_CFG1_HSYNC_POL_ACTIVE_LOW,4,2 ## @ISI_CFG1_HSYNC_POL_ACTIVE_LOW
	.comm	_ISI_CFG1_VSYNC_POL_ACTIVE_LOW,4,2 ## @ISI_CFG1_VSYNC_POL_ACTIVE_LOW
	.comm	_ISI_CFG1_PIXCLK_POL_ACTIVE_FALLING,4,2 ## @ISI_CFG1_PIXCLK_POL_ACTIVE_FALLING
	.comm	_ISI_CFG1_EMB_SYNC,4,2          ## @ISI_CFG1_EMB_SYNC
	.comm	_ISI_CFG1_FULL_MODE,4,2         ## @ISI_CFG1_FULL_MODE
	.comm	_ISI_CFG1_THMASK_BEATS_16,4,2   ## @ISI_CFG1_THMASK_BEATS_16
	.comm	_ISI_CTRL,4,2                   ## @ISI_CTRL
	.comm	_ISI_CTRL_DIS,4,2               ## @ISI_CTRL_DIS
	.comm	_ISI_CFG1,4,2                   ## @ISI_CFG1
	.no_dead_strip	_isi_camera_set_bus_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isi_camera_set_bus_param
_isi_camera_set_bus_param:              ; @isi_camera_set_bus_param
	.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	x19, x0
	ldp	x10, x8, [x0, #32]
Lloh0:
	adrp	x9, _ISI_CFG1_HSYNC_POL_ACTIVE_LOW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISI_CFG1_HSYNC_POL_ACTIVE_LOW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
Lloh3:
	adrp	x9, _ISI_CFG1_VSYNC_POL_ACTIVE_LOW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ISI_CFG1_VSYNC_POL_ACTIVE_LOW@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	x11, [x0, #24]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
Lloh6:
	adrp	x10, _ISI_CFG1_PIXCLK_POL_ACTIVE_FALLING@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ISI_CFG1_PIXCLK_POL_ACTIVE_FALLING@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	cmp	x11, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
	ldp	x10, x9, [x0, #8]
	cmp	x9, #0
Lloh9:
	adrp	x9, _ISI_CFG1_EMB_SYNC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ISI_CFG1_EMB_SYNC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _ISI_CFG1_FULL_MODE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISI_CFG1_FULL_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _ISI_CFG1_THMASK_BEATS_16@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ISI_CFG1_THMASK_BEATS_16@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w20, w8, w9
	ldr	w0, [x0]
	bl	_pm_runtime_get_sync
Lloh18:
	adrp	x8, _ISI_CTRL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ISI_CTRL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _ISI_CTRL_DIS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ISI_CTRL_DIS@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_isi_writel
Lloh24:
	adrp	x8, _ISI_CFG1@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ISI_CFG1@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_isi_writel
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pm_runtime_put
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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	_ISI_CFG1_HSYNC_POL_ACTIVE_LOW,4,2 ; @ISI_CFG1_HSYNC_POL_ACTIVE_LOW
	.comm	_ISI_CFG1_VSYNC_POL_ACTIVE_LOW,4,2 ; @ISI_CFG1_VSYNC_POL_ACTIVE_LOW
	.comm	_ISI_CFG1_PIXCLK_POL_ACTIVE_FALLING,4,2 ; @ISI_CFG1_PIXCLK_POL_ACTIVE_FALLING
	.comm	_ISI_CFG1_EMB_SYNC,4,2          ; @ISI_CFG1_EMB_SYNC
	.comm	_ISI_CFG1_FULL_MODE,4,2         ; @ISI_CFG1_FULL_MODE
	.comm	_ISI_CFG1_THMASK_BEATS_16,4,2   ; @ISI_CFG1_THMASK_BEATS_16
	.comm	_ISI_CTRL,4,2                   ; @ISI_CTRL
	.comm	_ISI_CTRL_DIS,4,2               ; @ISI_CTRL_DIS
	.comm	_ISI_CFG1,4,2                   ; @ISI_CFG1
	.no_dead_strip	_isi_camera_set_bus_param
.subsections_via_symbols
