	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x11_has_focus                  ## -- Begin function x11_has_focus
	.p2align	4, 0x90
_x11_has_focus:                         ## @x11_has_focus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_g_x11_dpy@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-8(%rbp), %rsi
	leaq	-12(%rbp), %rdx
	callq	_XGetInputFocus
	movq	-8(%rbp), %rax
	movq	_g_x11_win@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%al
	movq	_g_x11_has_focus@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	andb	%al, %cl
	movq	_g_x11_true_full@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	setne	%al
	orb	%cl, %al
	movzbl	%al, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_x11_dpy,4,2                  ## @g_x11_dpy
	.comm	_g_x11_win,8,3                  ## @g_x11_win
	.comm	_g_x11_has_focus,8,3            ## @g_x11_has_focus
	.comm	_g_x11_true_full,8,3            ## @g_x11_true_full
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x11_has_focus                  ; -- Begin function x11_has_focus
	.p2align	2
_x11_has_focus:                         ; @x11_has_focus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _g_x11_dpy@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_x11_dpy@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_XGetInputFocus
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _g_x11_win@GOTPAGE
Lloh4:
	ldr	x9, [x9, _g_x11_win@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh6:
	adrp	x8, _g_x11_has_focus@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_x11_has_focus@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ccmp	x8, #0, #4, eq
Lloh9:
	adrp	x8, _g_x11_true_full@GOTPAGE
Lloh10:
	ldr	x8, [x8, _g_x11_true_full@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ccmp	x8, #0, #0, eq
	cset	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_g_x11_dpy,4,2                  ; @g_x11_dpy
	.comm	_g_x11_win,8,3                  ; @g_x11_win
	.comm	_g_x11_has_focus,8,3            ; @g_x11_has_focus
	.comm	_g_x11_true_full,8,3            ; @g_x11_true_full
.subsections_via_symbols
