	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udev_mouse_set_y
_udev_mouse_set_y:                      ## @udev_mouse_set_y
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movl	(%r14), %eax
	movl	%ebx, %ecx
	subl	%eax, %ecx
	addl	%ecx, 8(%r14)
	movq	%rbx, (%r14)
	jmp	LBB0_7
LBB0_2:
	addl	%ebx, 8(%r14)
	leaq	-32(%rbp), %rdi
	callq	_video_driver_get_viewport_info
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	addq	(%r14), %rbx
	movq	%rbx, (%r14)
	movq	-32(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
## %bb.4:
	addq	-24(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
## %bb.5:
	decq	%rax
LBB0_6:
	movq	%rax, (%r14)
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_udev_mouse_set_y
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udev_mouse_set_y
_udev_mouse_set_y:                      ; @udev_mouse_set_y
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	cbz	w2, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	ldr	w9, [x19, #8]
	sub	w8, w20, w8
	add	w8, w9, w8
	str	w8, [x19, #8]
	str	x20, [x19]
	b	LBB0_7
LBB0_2:
	ldr	w8, [x19, #8]
	add	w8, w8, w20
	str	w8, [x19, #8]
	mov	x0, sp
	bl	_video_driver_get_viewport_info
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x9, [x19]
	ldr	x8, [sp]
	add	x9, x9, x20
	cmp	x9, x8
	str	x9, [x19]
	b.lt	LBB0_6
; %bb.4:
	ldr	x10, [sp, #8]
	add	x8, x10, x8
	cmp	x9, x8
	b.lt	LBB0_7
; %bb.5:
	sub	x8, x8, #1
LBB0_6:
	str	x8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_udev_mouse_set_y
.subsections_via_symbols
