	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_input_opts                 ## -- Begin function set_input_opts
	.p2align	4, 0x90
_set_input_opts:                        ## @set_input_opts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_initscr
	xorl	%eax, %eax
	callq	_clear
	xorl	%eax, %eax
	callq	_noecho
	movl	$10, %edi
	callq	_halfdelay
	xorl	%eax, %eax
	callq	_nonl
	movq	_stdscr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_intrflush
	movl	(%rbx), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_keypad
	xorl	%edi, %edi
	callq	_curs_set
	movq	_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movslq	%eax, %rdi
	callq	_LOG_DEBUG
LBB0_2:
	movq	_conf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_BUTTON1_CLICKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mousemask                      ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdscr,4,2                     ## @stdscr
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_ERR,8,3                        ## @ERR
	.comm	_errno,4,2                      ## @errno
	.comm	_conf,8,3                       ## @conf
	.comm	_BUTTON1_CLICKED,4,2            ## @BUTTON1_CLICKED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_input_opts                 ; -- Begin function set_input_opts
	.p2align	2
_set_input_opts:                        ; @set_input_opts
	.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
	bl	_initscr
	bl	_clear
	bl	_noecho
	mov	w0, #10
	bl	_halfdelay
	bl	_nonl
Lloh0:
	adrp	x19, _stdscr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _stdscr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_intrflush
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_keypad
	mov	w0, #0
	bl	_curs_set
Lloh8:
	adrp	x8, _ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_LOG_DEBUG
LBB0_2:
Lloh14:
	adrp	x8, _conf@GOTPAGE
Lloh15:
	ldr	x8, [x8, _conf@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh17:
	adrp	x8, _BUTTON1_CLICKED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BUTTON1_CLICKED@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mousemask
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_stdscr,4,2                     ; @stdscr
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_ERR,8,3                        ; @ERR
	.comm	_errno,4,2                      ; @errno
	.comm	_conf,8,3                       ; @conf
	.comm	_BUTTON1_CLICKED,4,2            ; @BUTTON1_CLICKED
.subsections_via_symbols
