	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vino_set_clipping
_vino_set_clipping:                     ## @vino_set_clipping
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	%edx, %r9d
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	movq	_vino_data_norms@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rdx
	movl	(%rax,%rdx,8), %r14d
	movl	4(%rax,%rdx,8), %r10d
	movl	8(%rdi), %r15d
	andl	$-2, %r9d
	xorl	%eax, %eax
	cmpl	%esi, %r14d
	cmovbl	%eax, %esi
	cmpl	%r10d, %r9d
	cmoval	%eax, %r9d
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%r15d
	movq	_VINO_MIN_WIDTH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	cmpl	%edi, %eax
	jae	LBB0_2
## %bb.1:
	movq	_VINO_MIN_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	jmp	LBB0_3
LBB0_2:
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	%r15d
	movq	_VINO_MIN_HEIGHT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
	cmpl	%r11d, %eax
	jae	LBB0_4
LBB0_3:
	movl	%edi, %ecx
	imull	%r15d, %ecx
	movl	%r11d, %r8d
	imull	%r15d, %r8d
LBB0_4:
	leal	(%rcx,%rsi), %eax
	cmpl	%r14d, %eax
	jbe	LBB0_7
## %bb.5:
	movl	%r14d, %ecx
	subl	%esi, %ecx
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%r15d
	cmpl	%edi, %eax
	jae	LBB0_7
## %bb.6:
	imull	%r15d, %edi
	subl	%edi, %r14d
	movl	%r14d, %esi
LBB0_7:
	leal	(%r8,%r9), %eax
	cmpl	%r10d, %eax
	jbe	LBB0_10
## %bb.8:
	movl	%r10d, %r8d
	subl	%r9d, %r8d
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	%r15d
	cmpl	%r11d, %eax
	jae	LBB0_10
## %bb.9:
	imull	%r15d, %r11d
	subl	%r11d, %r10d
	movl	%r10d, %r9d
LBB0_10:
	movl	%esi, 16(%rbx)
	movl	%r9d, 20(%rbx)
	addl	%esi, %ecx
	movl	%ecx, 24(%rbx)
	addl	%r9d, %r8d
	movl	%r8d, 28(%rbx)
	movq	%rbx, %rdi
	callq	_vino_update_line_size
	movl	16(%rbx), %esi
	movl	20(%rbx), %edx
	movl	24(%rbx), %ecx
	movl	28(%rbx), %r8d
	movl	8(%rbx), %r9d
	movl	12(%rbx), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vino_data_norms,8,3            ## @vino_data_norms
	.comm	_VINO_MIN_WIDTH,4,2             ## @VINO_MIN_WIDTH
	.comm	_VINO_MIN_HEIGHT,4,2            ## @VINO_MIN_HEIGHT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clipping %d, %d, %d, %d / %d - %d\n"

	.no_dead_strip	_vino_set_clipping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vino_set_clipping
_vino_set_clipping:                     ; @vino_set_clipping
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _vino_data_norms@GOTPAGE
Lloh1:
	ldr	x9, [x9, _vino_data_norms@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x8, x9, x8, lsl #3
	ldp	w13, w10, [x8]
	ldr	w11, [x0, #8]
	and	w9, w2, #0xfffffffe
	cmp	w13, w1
	csel	w8, wzr, w1, lo
	cmp	w9, w10
	csel	w9, wzr, w9, hi
	udiv	w12, w3, w11
Lloh3:
	adrp	x14, _VINO_MIN_WIDTH@GOTPAGE
Lloh4:
	ldr	x14, [x14, _VINO_MIN_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w14, [x14]
	cmp	w12, w14
	b.hs	LBB0_2
; %bb.1:
Lloh6:
	adrp	x12, _VINO_MIN_HEIGHT@GOTPAGE
Lloh7:
	ldr	x12, [x12, _VINO_MIN_HEIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	b	LBB0_3
LBB0_2:
	udiv	w15, w4, w11
Lloh9:
	adrp	x12, _VINO_MIN_HEIGHT@GOTPAGE
Lloh10:
	ldr	x12, [x12, _VINO_MIN_HEIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	cmp	w15, w12
	b.hs	LBB0_4
LBB0_3:
	mul	w3, w14, w11
	mul	w4, w12, w11
LBB0_4:
	add	w15, w3, w8
	cmp	w15, w13
	b.ls	LBB0_7
; %bb.5:
	sub	w3, w13, w8
	udiv	w15, w3, w11
	cmp	w15, w14
	b.hs	LBB0_7
; %bb.6:
	msub	w8, w14, w11, w13
LBB0_7:
	add	w13, w4, w9
	cmp	w13, w10
	b.ls	LBB0_10
; %bb.8:
	sub	w4, w10, w9
	udiv	w13, w4, w11
	cmp	w13, w12
	b.hs	LBB0_10
; %bb.9:
	msub	w9, w12, w11, w10
LBB0_10:
	stp	w8, w9, [x19, #16]
	add	w8, w8, w3
	add	w9, w9, w4
	stp	w8, w9, [x19, #24]
	mov	x0, x19
	bl	_vino_update_line_size
	ldp	w1, w2, [x19, #16]
	ldp	w3, w4, [x19, #24]
	ldp	w5, w6, [x19, #8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dprintk
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_vino_data_norms,8,3            ; @vino_data_norms
	.comm	_VINO_MIN_WIDTH,4,2             ; @VINO_MIN_WIDTH
	.comm	_VINO_MIN_HEIGHT,4,2            ; @VINO_MIN_HEIGHT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clipping %d, %d, %d, %d / %d - %d\n"

	.no_dead_strip	_vino_set_clipping
.subsections_via_symbols
