	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x11_install_quit_atom          ## -- Begin function x11_install_quit_atom
	.p2align	4, 0x90
_x11_install_quit_atom:                 ## @x11_install_quit_atom
	.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	_g_x11_dpy@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_False@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_XInternAtom
	movq	_g_x11_quit_atom@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	movq	_g_x11_win@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_g_x11_quit_atom@GOTPCREL(%rip), %rdx
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_XSetWMProtocols                ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_x11_dpy,4,2                  ## @g_x11_dpy
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WM_DELETE_WINDOW"

	.comm	_False,4,2                      ## @False
	.comm	_g_x11_quit_atom,8,3            ## @g_x11_quit_atom
	.comm	_g_x11_win,4,2                  ## @g_x11_win
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x11_install_quit_atom          ; -- Begin function x11_install_quit_atom
	.p2align	2
_x11_install_quit_atom:                 ; @x11_install_quit_atom
	.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
Lloh0:
	adrp	x19, _g_x11_dpy@GOTPAGE
Lloh1:
	ldr	x19, [x19, _g_x11_dpy@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _False@GOTPAGE
Lloh3:
	ldr	x8, [x8, _False@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_XInternAtom
Lloh7:
	adrp	x8, _g_x11_quit_atom@GOTPAGE
Lloh8:
	ldr	x8, [x8, _g_x11_quit_atom@GOTPAGEOFF]
Lloh9:
	str	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh10:
	adrp	x8, _g_x11_win@GOTPAGE
Lloh11:
	ldr	x8, [x8, _g_x11_win@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, _g_x11_quit_atom@GOTPAGE
Lloh14:
	ldr	x2, [x2, _g_x11_quit_atom@GOTPAGEOFF]
	mov	w3, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_XSetWMProtocols
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_g_x11_dpy,4,2                  ; @g_x11_dpy
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WM_DELETE_WINDOW"

	.comm	_False,4,2                      ; @False
	.comm	_g_x11_quit_atom,8,3            ; @g_x11_quit_atom
	.comm	_g_x11_win,4,2                  ; @g_x11_win
.subsections_via_symbols
