	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function repeated_press
_repeated_press:                        ## @repeated_press
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_dpy@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	setne	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_X11_PendingInput
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	(%r15), %rdi
	leaq	-48(%rbp), %rsi
	callq	_XPeekEvent
	movq	-48(%rbp), %rax
	movq	_KeyPress@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	-40(%rbp), %rax
	cmpq	8(%r14), %rax
	jne	LBB0_5
## %bb.3:
	movq	-32(%rbp), %rax
	cmpq	16(%r14), %rax
	jne	LBB0_5
## %bb.4:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r15), %rdi
	leaq	-48(%rbp), %rsi
	callq	_XNextEvent
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_dpy,8,3                        ## @dpy
	.comm	_KeyPress,8,3                   ## @KeyPress
	.comm	_qtrue,4,2                      ## @qtrue
	.no_dead_strip	_repeated_press
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function repeated_press
_repeated_press:                        ; @repeated_press
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x21, _dpy@GOTPAGE
Lloh4:
	ldr	x21, [x21, _dpy@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	bl	_X11_PendingInput
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x0, [x21]
	add	x1, sp, #8
	bl	_XPeekEvent
	ldr	x8, [sp, #8]
Lloh5:
	adrp	x9, _KeyPress@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KeyPress@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [sp, #16]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [sp, #24]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _qtrue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	ldr	x0, [x21]
	add	x1, sp, #8
	bl	_XNextEvent
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_dpy,8,3                        ; @dpy
	.comm	_KeyPress,8,3                   ; @KeyPress
	.comm	_qtrue,4,2                      ; @qtrue
	.no_dead_strip	_repeated_press
.subsections_via_symbols
