	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_bus_param
_make_bus_param:                        ## @make_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
	movq	_SOCAM_MASTER@GOTPCREL(%rip), %rax
	movq	_SOCAM_PCLK_SAMPLE_RISING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	movq	_SOCAM_HSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	_SOCAM_HSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	_SOCAM_VSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	_SOCAM_VSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	_SOCAM_DATA_ACTIVE_HIGH@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	(%rdi), %rax
	movl	(%rax), %edx
	movq	_SH_CEU_FLAG_USE_8BIT_BUS@GOTPCREL(%rip), %rdi
	xorl	%eax, %eax
	movl	$0, %esi
	testl	%edx, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_SOCAM_DATAWIDTH_8@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
LBB0_2:
	orq	%rsi, %rcx
	movq	_SH_CEU_FLAG_USE_16BIT_BUS@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_4
## %bb.3:
	movq	_SOCAM_DATAWIDTH_16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	orq	%rax, %rcx
	movq	_SOCAM_DATAWIDTH_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	%rcx, %rax
	cmovneq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCAM_MASTER,8,3               ## @SOCAM_MASTER
	.comm	_SOCAM_PCLK_SAMPLE_RISING,8,3   ## @SOCAM_PCLK_SAMPLE_RISING
	.comm	_SOCAM_HSYNC_ACTIVE_HIGH,8,3    ## @SOCAM_HSYNC_ACTIVE_HIGH
	.comm	_SOCAM_HSYNC_ACTIVE_LOW,8,3     ## @SOCAM_HSYNC_ACTIVE_LOW
	.comm	_SOCAM_VSYNC_ACTIVE_HIGH,8,3    ## @SOCAM_VSYNC_ACTIVE_HIGH
	.comm	_SOCAM_VSYNC_ACTIVE_LOW,8,3     ## @SOCAM_VSYNC_ACTIVE_LOW
	.comm	_SOCAM_DATA_ACTIVE_HIGH,8,3     ## @SOCAM_DATA_ACTIVE_HIGH
	.comm	_SH_CEU_FLAG_USE_8BIT_BUS,4,2   ## @SH_CEU_FLAG_USE_8BIT_BUS
	.comm	_SOCAM_DATAWIDTH_8,8,3          ## @SOCAM_DATAWIDTH_8
	.comm	_SH_CEU_FLAG_USE_16BIT_BUS,4,2  ## @SH_CEU_FLAG_USE_16BIT_BUS
	.comm	_SOCAM_DATAWIDTH_16,8,3         ## @SOCAM_DATAWIDTH_16
	.comm	_SOCAM_DATAWIDTH_MASK,8,3       ## @SOCAM_DATAWIDTH_MASK
	.no_dead_strip	_make_bus_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_bus_param
_make_bus_param:                        ; @make_bus_param
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SOCAM_MASTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCAM_MASTER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SOCAM_PCLK_SAMPLE_RISING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOCAM_PCLK_SAMPLE_RISING@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh6:
	adrp	x9, _SOCAM_HSYNC_ACTIVE_HIGH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOCAM_HSYNC_ACTIVE_HIGH@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh9:
	adrp	x9, _SOCAM_HSYNC_ACTIVE_LOW@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SOCAM_HSYNC_ACTIVE_LOW@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh12:
	adrp	x9, _SOCAM_VSYNC_ACTIVE_HIGH@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SOCAM_VSYNC_ACTIVE_HIGH@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh15:
	adrp	x9, _SOCAM_VSYNC_ACTIVE_LOW@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SOCAM_VSYNC_ACTIVE_LOW@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh18:
	adrp	x9, _SOCAM_DATA_ACTIVE_HIGH@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SOCAM_DATA_ACTIVE_HIGH@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	orr	x8, x8, x9
	ldr	x9, [x0]
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _SH_CEU_FLAG_USE_8BIT_BUS@GOTPAGE
Lloh22:
	ldr	x10, [x10, _SH_CEU_FLAG_USE_8BIT_BUS@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	adrp	x11, _SOCAM_DATAWIDTH_8@GOTPAGE
Lloh25:
	ldr	x11, [x11, _SOCAM_DATAWIDTH_8@GOTPAGEOFF]
Lloh26:
	ldr	x11, [x11]
	tst	w10, w9
	csel	x10, xzr, x11, eq
	orr	x8, x8, x10
Lloh27:
	adrp	x10, _SH_CEU_FLAG_USE_16BIT_BUS@GOTPAGE
Lloh28:
	ldr	x10, [x10, _SH_CEU_FLAG_USE_16BIT_BUS@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
Lloh30:
	adrp	x11, _SOCAM_DATAWIDTH_16@GOTPAGE
Lloh31:
	ldr	x11, [x11, _SOCAM_DATAWIDTH_16@GOTPAGEOFF]
Lloh32:
	ldr	x11, [x11]
	tst	w10, w9
	csel	x9, xzr, x11, eq
	orr	x8, x8, x9
Lloh33:
	adrp	x9, _SOCAM_DATAWIDTH_MASK@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SOCAM_DATAWIDTH_MASK@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	tst	x8, x9
	csel	x0, xzr, x8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.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	_SOCAM_MASTER,8,3               ; @SOCAM_MASTER
	.comm	_SOCAM_PCLK_SAMPLE_RISING,8,3   ; @SOCAM_PCLK_SAMPLE_RISING
	.comm	_SOCAM_HSYNC_ACTIVE_HIGH,8,3    ; @SOCAM_HSYNC_ACTIVE_HIGH
	.comm	_SOCAM_HSYNC_ACTIVE_LOW,8,3     ; @SOCAM_HSYNC_ACTIVE_LOW
	.comm	_SOCAM_VSYNC_ACTIVE_HIGH,8,3    ; @SOCAM_VSYNC_ACTIVE_HIGH
	.comm	_SOCAM_VSYNC_ACTIVE_LOW,8,3     ; @SOCAM_VSYNC_ACTIVE_LOW
	.comm	_SOCAM_DATA_ACTIVE_HIGH,8,3     ; @SOCAM_DATA_ACTIVE_HIGH
	.comm	_SH_CEU_FLAG_USE_8BIT_BUS,4,2   ; @SH_CEU_FLAG_USE_8BIT_BUS
	.comm	_SOCAM_DATAWIDTH_8,8,3          ; @SOCAM_DATAWIDTH_8
	.comm	_SH_CEU_FLAG_USE_16BIT_BUS,4,2  ; @SH_CEU_FLAG_USE_16BIT_BUS
	.comm	_SOCAM_DATAWIDTH_16,8,3         ; @SOCAM_DATAWIDTH_16
	.comm	_SOCAM_DATAWIDTH_MASK,8,3       ; @SOCAM_DATAWIDTH_MASK
	.no_dead_strip	_make_bus_param
.subsections_via_symbols
