	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tw9910_set_bus_param
_tw9910_set_bus_param:                  ## @tw9910_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_soc_camera_to_subdev
	movq	%rax, %rdi
	callq	_v4l2_get_subdevdata
	movq	_VSSL_VVALID@GOTPCREL(%rip), %rcx
	movq	_HSSL_DVALID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_SOCAM_HSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	movq	(%rsi), %rdi
	movl	$0, %esi
	andq	%rbx, %rdi
	je	LBB0_2
## %bb.1:
	movq	_HSP_HI@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_2:
	orl	%esi, %edx
	movq	_SOCAM_VSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rsi
	andq	(%rsi), %rbx
	je	LBB0_4
## %bb.3:
	movq	_VSP_HI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	orl	%ecx, %edx
	movq	_OUTCTR1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_i2c_smbus_write_byte_data      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VSSL_VVALID,4,2                ## @VSSL_VVALID
	.comm	_HSSL_DVALID,4,2                ## @HSSL_DVALID
	.comm	_SOCAM_HSYNC_ACTIVE_LOW,8,3     ## @SOCAM_HSYNC_ACTIVE_LOW
	.comm	_HSP_HI,4,2                     ## @HSP_HI
	.comm	_SOCAM_VSYNC_ACTIVE_LOW,8,3     ## @SOCAM_VSYNC_ACTIVE_LOW
	.comm	_VSP_HI,4,2                     ## @VSP_HI
	.comm	_OUTCTR1,4,2                    ## @OUTCTR1
	.no_dead_strip	_tw9910_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 tw9910_set_bus_param
_tw9910_set_bus_param:                  ; @tw9910_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, x1
	bl	_soc_camera_to_subdev
	bl	_v4l2_get_subdevdata
Lloh0:
	adrp	x8, _VSSL_VVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VSSL_VVALID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _HSSL_DVALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HSSL_DVALID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SOCAM_HSYNC_ACTIVE_LOW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOCAM_HSYNC_ACTIVE_LOW@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _HSP_HI@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HSP_HI@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	x9, x19
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _SOCAM_VSYNC_ACTIVE_LOW@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SOCAM_VSYNC_ACTIVE_LOW@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _VSP_HI@GOTPAGE
Lloh16:
	ldr	x10, [x10, _VSP_HI@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	x9, x19
	csel	w9, wzr, w10, eq
	orr	w2, w8, w9
Lloh18:
	adrp	x8, _OUTCTR1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OUTCTR1@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i2c_smbus_write_byte_data
	.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	_VSSL_VVALID,4,2                ; @VSSL_VVALID
	.comm	_HSSL_DVALID,4,2                ; @HSSL_DVALID
	.comm	_SOCAM_HSYNC_ACTIVE_LOW,8,3     ; @SOCAM_HSYNC_ACTIVE_LOW
	.comm	_HSP_HI,4,2                     ; @HSP_HI
	.comm	_SOCAM_VSYNC_ACTIVE_LOW,8,3     ; @SOCAM_VSYNC_ACTIVE_LOW
	.comm	_VSP_HI,4,2                     ; @VSP_HI
	.comm	_OUTCTR1,4,2                    ; @OUTCTR1
	.no_dead_strip	_tw9910_set_bus_param
.subsections_via_symbols
