	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_dei_regs
_set_dei_regs:                          ## @set_dei_regs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movq	16(%rdi), %r8
	movq	_Q_DATA_SRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rdx
	movl	4(%rcx,%rdx,4), %r9d
	movl	8(%rcx,%rdx,4), %eax
	movq	(%r8), %r8
	movq	_Q_IS_INTERLACED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rcx,%rdx,4)
	je	LBB0_3
## %bb.1:
	cmpl	$0, 4(%rdi)
	je	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	movl	$1, %ecx
	jmp	LBB0_4
LBB0_3:
	movq	_VPE_DEI_INTERLACE_BYPASS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
LBB0_4:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r9d
	movq	_VPE_DEI_HEIGHT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r9d
	movq	_VPE_DEI_WIDTH_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edx, %eax
	orl	%r9d, %eax
	movq	_VPE_DEI_FIELD_FLUSH@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r8)
	movl	$1, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_DATA_SRC,8,3                 ## @Q_DATA_SRC
	.comm	_Q_IS_INTERLACED,4,2            ## @Q_IS_INTERLACED
	.comm	_VPE_DEI_INTERLACE_BYPASS,4,2   ## @VPE_DEI_INTERLACE_BYPASS
	.comm	_VPE_DEI_HEIGHT_SHIFT,4,2       ## @VPE_DEI_HEIGHT_SHIFT
	.comm	_VPE_DEI_WIDTH_SHIFT,4,2        ## @VPE_DEI_WIDTH_SHIFT
	.comm	_VPE_DEI_FIELD_FLUSH,4,2        ## @VPE_DEI_FIELD_FLUSH
	.no_dead_strip	_set_dei_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_dei_regs
_set_dei_regs:                          ; @set_dei_regs
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _Q_DATA_SRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Q_DATA_SRC@GOTPAGEOFF]
	ldp	x9, x10, [x0, #8]
Lloh2:
	ldr	x8, [x8]
	mov	w11, #12
	madd	x11, x8, x11, x9
	ldr	x8, [x10]
	ldp	w10, w9, [x11, #4]
	ldr	w11, [x11]
Lloh3:
	adrp	x12, _Q_IS_INTERLACED@GOTPAGE
Lloh4:
	ldr	x12, [x12, _Q_IS_INTERLACED@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_3
; %bb.1:
	ldr	w11, [x0, #4]
	cbz	w11, LBB0_3
; %bb.2:
	mov	w11, #0
	mov	w12, #1
	b	LBB0_4
LBB0_3:
	mov	w12, #0
Lloh6:
	adrp	x11, _VPE_DEI_INTERLACE_BYPASS@GOTPAGE
Lloh7:
	ldr	x11, [x11, _VPE_DEI_INTERLACE_BYPASS@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
LBB0_4:
	lsl	w10, w10, w12
Lloh9:
	adrp	x12, _VPE_DEI_HEIGHT_SHIFT@GOTPAGE
Lloh10:
	ldr	x12, [x12, _VPE_DEI_HEIGHT_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
Lloh12:
	adrp	x13, _VPE_DEI_WIDTH_SHIFT@GOTPAGE
Lloh13:
	ldr	x13, [x13, _VPE_DEI_WIDTH_SHIFT@GOTPAGEOFF]
	lsl	w10, w10, w12
Lloh14:
	ldr	w12, [x13]
	lsl	w9, w9, w12
Lloh15:
	adrp	x12, _VPE_DEI_FIELD_FLUSH@GOTPAGE
Lloh16:
	ldr	x12, [x12, _VPE_DEI_FIELD_FLUSH@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	orr	w10, w10, w11
	orr	w9, w10, w9
	orr	w9, w9, w12
	str	w9, [x8]
	mov	w8, #1
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_DATA_SRC,8,3                 ; @Q_DATA_SRC
	.comm	_Q_IS_INTERLACED,4,2            ; @Q_IS_INTERLACED
	.comm	_VPE_DEI_INTERLACE_BYPASS,4,2   ; @VPE_DEI_INTERLACE_BYPASS
	.comm	_VPE_DEI_HEIGHT_SHIFT,4,2       ; @VPE_DEI_HEIGHT_SHIFT
	.comm	_VPE_DEI_WIDTH_SHIFT,4,2        ; @VPE_DEI_WIDTH_SHIFT
	.comm	_VPE_DEI_FIELD_FLUSH,4,2        ; @VPE_DEI_FIELD_FLUSH
	.no_dead_strip	_set_dei_regs
.subsections_via_symbols
