	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mouse_activate
_mouse_activate:                        ## @mouse_activate
	.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
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_1
## %bb.5:
	movq	%rbx, %rdi
	callq	__nc_mouse_init
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movq	$0, 40(%rbx)
	movl	(%rbx), %eax
	cmpl	$131, %eax
	je	LBB0_10
## %bb.7:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
	callq	_TPUTS_TRACE
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_enable_xterm_mouse
LBB0_9:
	movq	__nc_mouse_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	__nc_mouse_inline@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	__nc_mouse_parse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	__nc_mouse_resume@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	__nc_mouse_wrap@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	jmp	LBB0_10
LBB0_1:
	cmpl	$0, 48(%rbx)
	je	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	callq	__nc_mouse_init
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	cmpl	$128, (%rbx)
	jne	LBB0_10
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_TPUTS_TRACE
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_enable_xterm_mouse             ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xterm mouse initialization"

	.comm	__nc_mouse_event,4,2            ## @_nc_mouse_event
	.comm	__nc_mouse_inline,4,2           ## @_nc_mouse_inline
	.comm	__nc_mouse_parse,4,2            ## @_nc_mouse_parse
	.comm	__nc_mouse_resume,4,2           ## @_nc_mouse_resume
	.comm	__nc_mouse_wrap,4,2             ## @_nc_mouse_wrap
L_.str.1:                               ## @.str.1
	.asciz	"xterm mouse deinitialization"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_SIGUSR2,4,2                    ## @SIGUSR2
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_handle_sysmouse,4,2            ## @handle_sysmouse
	.comm	_my_gpm_fd,8,3                  ## @my_gpm_fd
	.no_dead_strip	_mouse_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mouse_activate
_mouse_activate:                        ; @mouse_activate
	.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
	cbz	w1, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	__nc_mouse_init
	cbz	w0, LBB0_10
; %bb.2:
	str	xzr, [x19, #40]
	ldr	w8, [x19]
	cmp	w8, #131
	b.eq	LBB0_10
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TPUTS_TRACE
	mov	x0, x19
	mov	w1, #1
	bl	_enable_xterm_mouse
LBB0_5:
Lloh2:
	adrp	x8, __nc_mouse_event@GOTPAGE
Lloh3:
	ldr	x8, [x8, __nc_mouse_event@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh5:
	adrp	x8, __nc_mouse_inline@GOTPAGE
Lloh6:
	ldr	x8, [x8, __nc_mouse_inline@GOTPAGEOFF]
Lloh7:
	adrp	x9, __nc_mouse_parse@GOTPAGE
Lloh8:
	ldr	x9, [x9, __nc_mouse_parse@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh11:
	adrp	x8, __nc_mouse_resume@GOTPAGE
Lloh12:
	ldr	x8, [x8, __nc_mouse_resume@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, __nc_mouse_wrap@GOTPAGE
Lloh15:
	ldr	x9, [x9, __nc_mouse_wrap@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	b	LBB0_10
LBB0_6:
	ldr	w8, [x19, #48]
	cbz	w8, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	__nc_mouse_init
	cbz	w0, LBB0_10
; %bb.8:
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.9:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TPUTS_TRACE
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_enable_xterm_mouse
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xterm mouse initialization"

	.comm	__nc_mouse_event,4,2            ; @_nc_mouse_event
	.comm	__nc_mouse_inline,4,2           ; @_nc_mouse_inline
	.comm	__nc_mouse_parse,4,2            ; @_nc_mouse_parse
	.comm	__nc_mouse_resume,4,2           ; @_nc_mouse_resume
	.comm	__nc_mouse_wrap,4,2             ; @_nc_mouse_wrap
l_.str.1:                               ; @.str.1
	.asciz	"xterm mouse deinitialization"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_SIGUSR2,4,2                    ; @SIGUSR2
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_handle_sysmouse,4,2            ; @handle_sysmouse
	.comm	_my_gpm_fd,8,3                  ; @my_gpm_fd
	.no_dead_strip	_mouse_activate
.subsections_via_symbols
