	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_platform_param
_test_platform_param:                   ## @test_platform_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	_PXA_CAMERA_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	jne	LBB0_1
## %bb.2:
	movq	_V4L2_MBUS_SLAVE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_V4L2_MBUS_MASTER@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	movq	_V4L2_MBUS_HSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	_V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	_V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	_V4L2_MBUS_VSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	_V4L2_MBUS_DATA_ACTIVE_HIGH@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	_V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	_V4L2_MBUS_PCLK_SAMPLE_FALLING@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	%rax, (%rdx)
	decb	%sil
	movl	4(%rdi), %ecx
	movzbl	%sil, %edx
	movq	_EINVAL@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	subl	(%rsi), %eax
	xorl	%esi, %esi
	btl	%edx, %ecx
	cmovbl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PXA_CAMERA_MASTER,4,2          ## @PXA_CAMERA_MASTER
	.comm	_V4L2_MBUS_MASTER,8,3           ## @V4L2_MBUS_MASTER
	.comm	_V4L2_MBUS_SLAVE,8,3            ## @V4L2_MBUS_SLAVE
	.comm	_V4L2_MBUS_HSYNC_ACTIVE_HIGH,8,3 ## @V4L2_MBUS_HSYNC_ACTIVE_HIGH
	.comm	_V4L2_MBUS_HSYNC_ACTIVE_LOW,8,3 ## @V4L2_MBUS_HSYNC_ACTIVE_LOW
	.comm	_V4L2_MBUS_VSYNC_ACTIVE_HIGH,8,3 ## @V4L2_MBUS_VSYNC_ACTIVE_HIGH
	.comm	_V4L2_MBUS_VSYNC_ACTIVE_LOW,8,3 ## @V4L2_MBUS_VSYNC_ACTIVE_LOW
	.comm	_V4L2_MBUS_DATA_ACTIVE_HIGH,8,3 ## @V4L2_MBUS_DATA_ACTIVE_HIGH
	.comm	_V4L2_MBUS_PCLK_SAMPLE_RISING,8,3 ## @V4L2_MBUS_PCLK_SAMPLE_RISING
	.comm	_V4L2_MBUS_PCLK_SAMPLE_FALLING,8,3 ## @V4L2_MBUS_PCLK_SAMPLE_FALLING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_test_platform_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_platform_param
_test_platform_param:                   ; @test_platform_param
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PXA_CAMERA_MASTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PXA_CAMERA_MASTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _V4L2_MBUS_MASTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_MBUS_MASTER@GOTPAGEOFF]
Lloh5:
	adrp	x10, _V4L2_MBUS_SLAVE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _V4L2_MBUS_SLAVE@GOTPAGEOFF]
	ldp	w11, w12, [x0]
	tst	w8, w11
	csel	x8, x10, x9, eq
Lloh7:
	adrp	x9, _V4L2_MBUS_HSYNC_ACTIVE_HIGH@GOTPAGE
Lloh8:
	ldr	x9, [x9, _V4L2_MBUS_HSYNC_ACTIVE_HIGH@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh9:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh10:
	adrp	x9, _V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPAGE
Lloh11:
	ldr	x9, [x9, _V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh13:
	adrp	x9, _V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPAGE
Lloh14:
	ldr	x9, [x9, _V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
Lloh16:
	adrp	x10, _V4L2_MBUS_VSYNC_ACTIVE_LOW@GOTPAGE
Lloh17:
	ldr	x10, [x10, _V4L2_MBUS_VSYNC_ACTIVE_LOW@GOTPAGEOFF]
	orr	x8, x8, x9
Lloh18:
	ldr	x9, [x10]
	orr	x8, x8, x9
Lloh19:
	adrp	x9, _V4L2_MBUS_DATA_ACTIVE_HIGH@GOTPAGE
Lloh20:
	ldr	x9, [x9, _V4L2_MBUS_DATA_ACTIVE_HIGH@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh22:
	adrp	x9, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGE
Lloh23:
	ldr	x9, [x9, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
Lloh25:
	adrp	x10, _V4L2_MBUS_PCLK_SAMPLE_FALLING@GOTPAGE
Lloh26:
	ldr	x10, [x10, _V4L2_MBUS_PCLK_SAMPLE_FALLING@GOTPAGEOFF]
	orr	x8, x8, x9
Lloh27:
	ldr	x9, [x10]
	orr	x8, x8, x9
	str	x8, [x2]
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	sub	w9, w1, #1
Lloh30:
	ldr	w8, [x8]
	lsr	w9, w12, w9
	tst	w9, #0x1
	csneg	w0, wzr, w8, ne
	ret
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PXA_CAMERA_MASTER,4,2          ; @PXA_CAMERA_MASTER
	.comm	_V4L2_MBUS_MASTER,8,3           ; @V4L2_MBUS_MASTER
	.comm	_V4L2_MBUS_SLAVE,8,3            ; @V4L2_MBUS_SLAVE
	.comm	_V4L2_MBUS_HSYNC_ACTIVE_HIGH,8,3 ; @V4L2_MBUS_HSYNC_ACTIVE_HIGH
	.comm	_V4L2_MBUS_HSYNC_ACTIVE_LOW,8,3 ; @V4L2_MBUS_HSYNC_ACTIVE_LOW
	.comm	_V4L2_MBUS_VSYNC_ACTIVE_HIGH,8,3 ; @V4L2_MBUS_VSYNC_ACTIVE_HIGH
	.comm	_V4L2_MBUS_VSYNC_ACTIVE_LOW,8,3 ; @V4L2_MBUS_VSYNC_ACTIVE_LOW
	.comm	_V4L2_MBUS_DATA_ACTIVE_HIGH,8,3 ; @V4L2_MBUS_DATA_ACTIVE_HIGH
	.comm	_V4L2_MBUS_PCLK_SAMPLE_RISING,8,3 ; @V4L2_MBUS_PCLK_SAMPLE_RISING
	.comm	_V4L2_MBUS_PCLK_SAMPLE_FALLING,8,3 ; @V4L2_MBUS_PCLK_SAMPLE_FALLING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_test_platform_param
.subsections_via_symbols
