	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isif_setwin
_isif_setwin:                           ## @isif_setwin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_isif_cfg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	decb	%r12b
	movl	(%r14), %edi
	movl	%r12d, %ecx
	shll	%cl, %edi
	movl	4(%r14), %ebx
	shll	%cl, %ebx
	decl	%ebx
	movq	_START_PX_HOR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_SPH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movq	_NUM_PX_HOR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_LNH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_regw
	movl	8(%r14), %ebx
	movq	_CCDC_FRMFMT_INTERLACED@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	12(%r14), %r14d
	sarl	%r14d
	sarl	%ebx
	incl	%ebx
	jmp	LBB0_3
LBB0_2:
	movl	12(%r14), %r14d
	movl	%r14d, %eax
	shrl	$31, %eax
	addl	%r14d, %eax
	sarl	%eax
	movl	%ebx, %r15d
	incl	%r15d
	leal	(%rax,%rbx), %edi
	incl	%edi
	movq	_VDINT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movl	%r15d, %ebx
LBB0_3:
	decl	%r14d
	movq	_VDINT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_regw
	movq	_START_VER_ONE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	movq	_SLV0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movq	_START_VER_TWO_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_SLV1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_regw
	movq	_NUM_LINES_VER@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movq	_LNV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regw                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_isif_cfg,4,2                   ## @isif_cfg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nStarting isif_setwin..."

	.comm	_START_PX_HOR_MASK,4,2          ## @START_PX_HOR_MASK
	.comm	_SPH,4,2                        ## @SPH
	.comm	_NUM_PX_HOR_MASK,4,2            ## @NUM_PX_HOR_MASK
	.comm	_LNH,4,2                        ## @LNH
	.comm	_CCDC_FRMFMT_INTERLACED,4,2     ## @CCDC_FRMFMT_INTERLACED
	.comm	_VDINT1,4,2                     ## @VDINT1
	.comm	_VDINT0,4,2                     ## @VDINT0
	.comm	_START_VER_ONE_MASK,4,2         ## @START_VER_ONE_MASK
	.comm	_SLV0,4,2                       ## @SLV0
	.comm	_START_VER_TWO_MASK,4,2         ## @START_VER_TWO_MASK
	.comm	_SLV1,4,2                       ## @SLV1
	.comm	_NUM_LINES_VER,4,2              ## @NUM_LINES_VER
	.comm	_LNV,4,2                        ## @LNV
	.no_dead_strip	_isif_setwin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isif_setwin
_isif_setwin:                           ; @isif_setwin
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _isif_cfg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _isif_cfg@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	sub	w8, w20, #1
	ldp	w9, w10, [x19]
	lsl	w9, w9, w8
	lsl	w8, w10, w8
Lloh5:
	adrp	x10, _START_PX_HOR_MASK@GOTPAGE
Lloh6:
	ldr	x10, [x10, _START_PX_HOR_MASK@GOTPAGEOFF]
	sub	w20, w8, #1
Lloh7:
	ldr	w8, [x10]
	and	w0, w8, w9
Lloh8:
	adrp	x8, _SPH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SPH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_regw
Lloh11:
	adrp	x8, _NUM_PX_HOR_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NUM_PX_HOR_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w0, w8, w20
Lloh14:
	adrp	x8, _LNH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LNH@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_regw
	ldr	w8, [x19, #8]
Lloh17:
	adrp	x9, _CCDC_FRMFMT_INTERLACED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CCDC_FRMFMT_INTERLACED@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x19, #12]
	asr	w19, w9, #1
	asr	w8, w8, #1
	add	w20, w8, #1
	b	LBB0_3
LBB0_2:
	add	w20, w8, #1
	ldr	w19, [x19, #12]
	cmp	w19, #0
	cinc	w8, w19, lt
	add	w0, w20, w8, asr #1
Lloh20:
	adrp	x8, _VDINT1@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VDINT1@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_regw
LBB0_3:
	sub	w19, w19, #1
Lloh23:
	adrp	x8, _VDINT0@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VDINT0@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_regw
Lloh26:
	adrp	x8, _START_VER_ONE_MASK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _START_VER_ONE_MASK@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	and	w0, w8, w20
Lloh29:
	adrp	x8, _SLV0@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SLV0@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_regw
Lloh32:
	adrp	x8, _START_VER_TWO_MASK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _START_VER_TWO_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	and	w0, w8, w20
Lloh35:
	adrp	x8, _SLV1@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SLV1@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	bl	_regw
Lloh38:
	adrp	x8, _NUM_LINES_VER@GOTPAGE
Lloh39:
	ldr	x8, [x8, _NUM_LINES_VER@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	and	w0, w8, w19
Lloh41:
	adrp	x8, _LNV@GOTPAGE
Lloh42:
	ldr	x8, [x8, _LNV@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_regw
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_isif_cfg,4,2                   ; @isif_cfg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nStarting isif_setwin..."

	.comm	_START_PX_HOR_MASK,4,2          ; @START_PX_HOR_MASK
	.comm	_SPH,4,2                        ; @SPH
	.comm	_NUM_PX_HOR_MASK,4,2            ; @NUM_PX_HOR_MASK
	.comm	_LNH,4,2                        ; @LNH
	.comm	_CCDC_FRMFMT_INTERLACED,4,2     ; @CCDC_FRMFMT_INTERLACED
	.comm	_VDINT1,4,2                     ; @VDINT1
	.comm	_VDINT0,4,2                     ; @VDINT0
	.comm	_START_VER_ONE_MASK,4,2         ; @START_VER_ONE_MASK
	.comm	_SLV0,4,2                       ; @SLV0
	.comm	_START_VER_TWO_MASK,4,2         ; @START_VER_TWO_MASK
	.comm	_SLV1,4,2                       ; @SLV1
	.comm	_NUM_LINES_VER,4,2              ; @NUM_LINES_VER
	.comm	_LNV,4,2                        ; @LNV
	.no_dead_strip	_isif_setwin
.subsections_via_symbols
