	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov772x_query_bus_param
_ov772x_query_bus_param:                ## @ov772x_query_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, %rbx
	callq	_to_soc_camera_control
	movl	%eax, %edi
	callq	_to_i2c_client
	movq	%rax, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_to_soc_camera_link
	movq	_SOCAM_PCLK_SAMPLE_RISING@GOTPCREL(%rip), %r8
	movq	_SOCAM_MASTER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	_SOCAM_VSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rdx
	movq	_SOCAM_HSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rdi
	movq	(%r14), %rbx
	movq	_OV772X_FLAG_8BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rbx), %ecx
	orq	(%r8), %rsi
	orq	(%rdx), %rsi
	orq	(%rdi), %rsi
	movq	_SOCAM_DATA_ACTIVE_HIGH@GOTPCREL(%rip), %rdx
	orq	(%rdx), %rsi
	testl	%ecx, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_SOCAM_DATAWIDTH_10@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_SOCAM_DATAWIDTH_8@GOTPCREL(%rip), %rcx
LBB0_3:
	orq	(%rcx), %rsi
	movq	%rax, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_soc_camera_apply_sensor_flags  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCAM_PCLK_SAMPLE_RISING,8,3   ## @SOCAM_PCLK_SAMPLE_RISING
	.comm	_SOCAM_MASTER,8,3               ## @SOCAM_MASTER
	.comm	_SOCAM_VSYNC_ACTIVE_HIGH,8,3    ## @SOCAM_VSYNC_ACTIVE_HIGH
	.comm	_SOCAM_HSYNC_ACTIVE_HIGH,8,3    ## @SOCAM_HSYNC_ACTIVE_HIGH
	.comm	_SOCAM_DATA_ACTIVE_HIGH,8,3     ## @SOCAM_DATA_ACTIVE_HIGH
	.comm	_OV772X_FLAG_8BIT,4,2           ## @OV772X_FLAG_8BIT
	.comm	_SOCAM_DATAWIDTH_8,8,3          ## @SOCAM_DATAWIDTH_8
	.comm	_SOCAM_DATAWIDTH_10,8,3         ## @SOCAM_DATAWIDTH_10
	.no_dead_strip	_ov772x_query_bus_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov772x_query_bus_param
_ov772x_query_bus_param:                ; @ov772x_query_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
	bl	_to_soc_camera_control
	bl	_to_i2c_client
	bl	_i2c_get_clientdata
	mov	x20, x0
	mov	x0, x19
	bl	_to_soc_camera_link
Lloh0:
	adrp	x8, _SOCAM_PCLK_SAMPLE_RISING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCAM_PCLK_SAMPLE_RISING@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SOCAM_MASTER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SOCAM_MASTER@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _SOCAM_VSYNC_ACTIVE_HIGH@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SOCAM_VSYNC_ACTIVE_HIGH@GOTPAGEOFF]
Lloh8:
	adrp	x11, _SOCAM_HSYNC_ACTIVE_HIGH@GOTPAGE
Lloh9:
	ldr	x11, [x11, _SOCAM_HSYNC_ACTIVE_HIGH@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	ldr	x11, [x11]
Lloh12:
	adrp	x12, _SOCAM_DATA_ACTIVE_HIGH@GOTPAGE
Lloh13:
	ldr	x12, [x12, _SOCAM_DATA_ACTIVE_HIGH@GOTPAGEOFF]
Lloh14:
	ldr	x12, [x12]
	ldr	x13, [x20]
	ldr	w13, [x13]
Lloh15:
	adrp	x14, _OV772X_FLAG_8BIT@GOTPAGE
Lloh16:
	ldr	x14, [x14, _OV772X_FLAG_8BIT@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
	orr	x8, x9, x8
	orr	x8, x8, x10
	orr	x8, x8, x11
	orr	x8, x8, x12
Lloh18:
	adrp	x9, _SOCAM_DATAWIDTH_10@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SOCAM_DATAWIDTH_10@GOTPAGEOFF]
Lloh20:
	adrp	x10, _SOCAM_DATAWIDTH_8@GOTPAGE
Lloh21:
	ldr	x10, [x10, _SOCAM_DATAWIDTH_8@GOTPAGEOFF]
	tst	w14, w13
	csel	x9, x9, x10, eq
	ldr	x9, [x9]
	orr	x1, x8, x9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_soc_camera_apply_sensor_flags
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCAM_PCLK_SAMPLE_RISING,8,3   ; @SOCAM_PCLK_SAMPLE_RISING
	.comm	_SOCAM_MASTER,8,3               ; @SOCAM_MASTER
	.comm	_SOCAM_VSYNC_ACTIVE_HIGH,8,3    ; @SOCAM_VSYNC_ACTIVE_HIGH
	.comm	_SOCAM_HSYNC_ACTIVE_HIGH,8,3    ; @SOCAM_HSYNC_ACTIVE_HIGH
	.comm	_SOCAM_DATA_ACTIVE_HIGH,8,3     ; @SOCAM_DATA_ACTIVE_HIGH
	.comm	_OV772X_FLAG_8BIT,4,2           ; @OV772X_FLAG_8BIT
	.comm	_SOCAM_DATAWIDTH_8,8,3          ; @SOCAM_DATAWIDTH_8
	.comm	_SOCAM_DATAWIDTH_10,8,3         ; @SOCAM_DATAWIDTH_10
	.no_dead_strip	_ov772x_query_bus_param
.subsections_via_symbols
