	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5k5baf_hw_set_video_bus
_s5k5baf_hw_set_video_bus:              ## @s5k5baf_hw_set_video_bus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_V4L2_MBUS_CSI2_DPHY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_EN_PACKETS_CSI2@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movq	_REG_OIF_EN_MIPI_LANES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	movl	$1, %r8d
	callq	_s5k5baf_write_seq
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_s5k5baf_clear_error            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_MBUS_CSI2_DPHY,8,3        ## @V4L2_MBUS_CSI2_DPHY
	.comm	_EN_PACKETS_CSI2,8,3            ## @EN_PACKETS_CSI2
	.comm	_REG_OIF_EN_MIPI_LANES,4,2      ## @REG_OIF_EN_MIPI_LANES
	.no_dead_strip	_s5k5baf_hw_set_video_bus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5k5baf_hw_set_video_bus
_s5k5baf_hw_set_video_bus:              ; @s5k5baf_hw_set_video_bus
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _V4L2_MBUS_CSI2_DPHY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_MBUS_CSI2_DPHY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _EN_PACKETS_CSI2@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EN_PACKETS_CSI2@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	csel	x3, x10, xzr, eq
Lloh6:
	adrp	x8, _REG_OIF_EN_MIPI_LANES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_OIF_EN_MIPI_LANES@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x0, #8]
	mov	w4, #1
	bl	_s5k5baf_write_seq
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_s5k5baf_clear_error
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_MBUS_CSI2_DPHY,8,3        ; @V4L2_MBUS_CSI2_DPHY
	.comm	_EN_PACKETS_CSI2,8,3            ; @EN_PACKETS_CSI2
	.comm	_REG_OIF_EN_MIPI_LANES,4,2      ; @REG_OIF_EN_MIPI_LANES
	.no_dead_strip	_s5k5baf_hw_set_video_bus
.subsections_via_symbols
