	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_take_focus                ## -- Begin function send_take_focus
	.p2align	4, 0x90
_send_take_focus:                       ## @send_take_focus
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %r14d
	movl	$32, %edi
	movl	$1, %esi
	callq	_scalloc
	movq	%rax, %rbx
	movq	_XCB_CLIENT_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	%r14d, 20(%rbx)
	movq	_A_WM_PROTOCOLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	$32, (%rbx)
	movq	_A_WM_TAKE_FOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	%r15d, 4(%rcx)
	leaq	L_.str(%rip), %rdi
	callq	_DLOG
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_XCB_EVENT_MASK_NO_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	movl	%r14d, %edx
	movq	%rbx, %r8
	callq	_xcb_send_event
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XCB_CLIENT_MESSAGE,4,2         ## @XCB_CLIENT_MESSAGE
	.comm	_A_WM_PROTOCOLS,4,2             ## @A_WM_PROTOCOLS
	.comm	_A_WM_TAKE_FOCUS,4,2            ## @A_WM_TAKE_FOCUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sending WM_TAKE_FOCUS to the client\n"

	.comm	_conn,4,2                       ## @conn
	.comm	_XCB_EVENT_MASK_NO_EVENT,4,2    ## @XCB_EVENT_MASK_NO_EVENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_take_focus                ; -- Begin function send_take_focus
	.p2align	2
_send_take_focus:                       ; @send_take_focus
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	mov	w22, #32
	mov	w0, #32
	mov	w1, #1
	bl	_scalloc
	mov	x21, x0
Lloh0:
	adrp	x8, _XCB_CLIENT_MESSAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XCB_CLIENT_MESSAGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #24]
Lloh3:
	adrp	x8, _A_WM_PROTOCOLS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _A_WM_PROTOCOLS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w20, [x0, #16]
	str	w22, [x0]
Lloh6:
	adrp	x8, _A_WM_TAKE_FOCUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _A_WM_TAKE_FOCUS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x0, #8]
	stp	w8, w19, [x9]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLOG
Lloh11:
	adrp	x8, _conn@GOTPAGE
Lloh12:
	ldr	x8, [x8, _conn@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _XCB_EVENT_MASK_NO_EVENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XCB_EVENT_MASK_NO_EVENT@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	w1, #0
	mov	x2, x20
	mov	x4, x21
	bl	_xcb_send_event
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XCB_CLIENT_MESSAGE,4,2         ; @XCB_CLIENT_MESSAGE
	.comm	_A_WM_PROTOCOLS,4,2             ; @A_WM_PROTOCOLS
	.comm	_A_WM_TAKE_FOCUS,4,2            ; @A_WM_TAKE_FOCUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sending WM_TAKE_FOCUS to the client\n"

	.comm	_conn,4,2                       ; @conn
	.comm	_XCB_EVENT_MASK_NO_EVENT,4,2    ; @XCB_EVENT_MASK_NO_EVENT
.subsections_via_symbols
