	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipu_csi_translate_field
_ipu_csi_translate_field:               ## @ipu_csi_translate_field
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_V4L2_FIELD_ALTERNATE@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_5
## %bb.1:
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	_V4L2_FIELD_SEQ_TB@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_V4L2_FIELD_SEQ_BT@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_FIELD_ALTERNATE,4,2       ## @V4L2_FIELD_ALTERNATE
	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
	.comm	_V4L2_FIELD_SEQ_BT,4,2          ## @V4L2_FIELD_SEQ_BT
	.comm	_V4L2_FIELD_SEQ_TB,4,2          ## @V4L2_FIELD_SEQ_TB
	.no_dead_strip	_ipu_csi_translate_field
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipu_csi_translate_field
_ipu_csi_translate_field:               ; @ipu_csi_translate_field
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _V4L2_FIELD_ALTERNATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_FIELD_ALTERNATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _V4L2_STD_525_60@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh5:
	adrp	x9, _V4L2_FIELD_SEQ_BT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _V4L2_FIELD_SEQ_BT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x10, _V4L2_FIELD_SEQ_TB@GOTPAGE
Lloh9:
	ldr	x10, [x10, _V4L2_FIELD_SEQ_TB@GOTPAGEOFF]
	tst	w8, w1
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_FIELD_ALTERNATE,4,2       ; @V4L2_FIELD_ALTERNATE
	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
	.comm	_V4L2_FIELD_SEQ_BT,4,2          ; @V4L2_FIELD_SEQ_BT
	.comm	_V4L2_FIELD_SEQ_TB,4,2          ; @V4L2_FIELD_SEQ_TB
	.no_dead_strip	_ipu_csi_translate_field
.subsections_via_symbols
