	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_set_window
_fimc_set_window:                       ## @fimc_set_window
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movl	(%rax), %eax
	movq	32(%rsi), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
	movl	%eax, %r10d
	movl	16(%rsi), %r13d
	movl	20(%rsi), %r8d
	movl	%r10d, %ecx
	subl	%r13d, %ecx
	subl	%r8d, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	24(%rsi), %r14d
	movl	8(%rsi), %ebx
	movl	28(%rsi), %r9d
	movl	%ebx, %r12d
	subl	%r14d, %r12d
	subl	%r9d, %r12d
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movl	%r14d, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
                                        ## kill: def $r9d killed $r9d killed $r9
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_DRM_DEV_DEBUG_KMS
	addq	$16, %rsp
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_DRM_DEV_DEBUG_KMS
	movq	_EXYNOS_CIWDOFST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_fimc_read
	movq	_EXYNOS_CIWDOFST_WINHOROFST_MASK@GOTPCREL(%rip), %rcx
	movq	_EXYNOS_CIWDOFST_WINVEROFST_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	orl	(%rcx), %r15d
	notl	%r15d
	andl	%eax, %r15d
	movl	%r13d, %edi
	callq	_EXYNOS_CIWDOFST_WINHOROFST
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_EXYNOS_CIWDOFST_WINVEROFST
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_EXYNOS_CIWDOFST_WINOFSEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_EXYNOS_CIWDOFST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_fimc_write
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_EXYNOS_CIWDOFST2_WINHOROFST2
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_EXYNOS_CIWDOFST2_WINVEROFST2
	orl	%eax, %ebx
	movq	_EXYNOS_CIWDOFST2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fimc_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"x[%d]y[%d]w[%d]h[%d]hsize[%d]vsize[%d]\n"

L_.str.1:                               ## @.str.1
	.asciz	"h1[%d]h2[%d]v1[%d]v2[%d]\n"

	.comm	_EXYNOS_CIWDOFST,4,2            ## @EXYNOS_CIWDOFST
	.comm	_EXYNOS_CIWDOFST_WINHOROFST_MASK,4,2 ## @EXYNOS_CIWDOFST_WINHOROFST_MASK
	.comm	_EXYNOS_CIWDOFST_WINVEROFST_MASK,4,2 ## @EXYNOS_CIWDOFST_WINVEROFST_MASK
	.comm	_EXYNOS_CIWDOFST_WINOFSEN,4,2   ## @EXYNOS_CIWDOFST_WINOFSEN
	.comm	_EXYNOS_CIWDOFST2,4,2           ## @EXYNOS_CIWDOFST2
	.no_dead_strip	_fimc_set_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_set_window
_fimc_set_window:                       ; @fimc_set_window
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x8, [x1]
	ldr	w8, [x8]
	ldr	x9, [x1, #32]
	ldr	x9, [x9]
	ldr	w9, [x9]
	udiv	w8, w8, w9
	ldp	w22, w4, [x1, #16]
	add	w9, w22, w4
	sub	w20, w8, w9
	ldr	w9, [x1, #8]
	ldp	w23, w5, [x1, #24]
	add	w10, w23, w5
	sub	w21, w9, w10
	ldr	w0, [x0]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x23
	bl	_DRM_DEV_DEBUG_KMS
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x22
	mov	x3, x20
	mov	x4, x23
	mov	x5, x21
	bl	_DRM_DEV_DEBUG_KMS
Lloh4:
	adrp	x24, _EXYNOS_CIWDOFST@GOTPAGE
Lloh5:
	ldr	x24, [x24, _EXYNOS_CIWDOFST@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_fimc_read
Lloh6:
	adrp	x8, _EXYNOS_CIWDOFST_WINHOROFST_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EXYNOS_CIWDOFST_WINHOROFST_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _EXYNOS_CIWDOFST_WINVEROFST_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EXYNOS_CIWDOFST_WINVEROFST_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w25, w0, w8
	mov	x0, x22
	bl	_EXYNOS_CIWDOFST_WINHOROFST
	mov	x22, x0
	mov	x0, x23
	bl	_EXYNOS_CIWDOFST_WINVEROFST
	orr	w8, w0, w22
	orr	w8, w8, w25
Lloh12:
	adrp	x9, _EXYNOS_CIWDOFST_WINOFSEN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EXYNOS_CIWDOFST_WINOFSEN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldr	w2, [x24]
	mov	x0, x19
	bl	_fimc_write
	mov	x0, x20
	bl	_EXYNOS_CIWDOFST2_WINHOROFST2
	mov	x20, x0
	mov	x0, x21
	bl	_EXYNOS_CIWDOFST2_WINVEROFST2
	orr	w1, w0, w20
Lloh15:
	adrp	x8, _EXYNOS_CIWDOFST2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EXYNOS_CIWDOFST2@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_fimc_write
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"x[%d]y[%d]w[%d]h[%d]hsize[%d]vsize[%d]\n"

l_.str.1:                               ; @.str.1
	.asciz	"h1[%d]h2[%d]v1[%d]v2[%d]\n"

	.comm	_EXYNOS_CIWDOFST,4,2            ; @EXYNOS_CIWDOFST
	.comm	_EXYNOS_CIWDOFST_WINHOROFST_MASK,4,2 ; @EXYNOS_CIWDOFST_WINHOROFST_MASK
	.comm	_EXYNOS_CIWDOFST_WINVEROFST_MASK,4,2 ; @EXYNOS_CIWDOFST_WINVEROFST_MASK
	.comm	_EXYNOS_CIWDOFST_WINOFSEN,4,2   ; @EXYNOS_CIWDOFST_WINOFSEN
	.comm	_EXYNOS_CIWDOFST2,4,2           ; @EXYNOS_CIWDOFST2
	.no_dead_strip	_fimc_set_window
.subsections_via_symbols
