	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sync_respond                   ## -- Begin function sync_respond
	.p2align	4, 0x90
_sync_respond:                          ## @sync_respond
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_DLOG
	movl	$32, %edi
	movl	$1, %esi
	callq	_scalloc
	movq	%rax, %rbx
	movq	_XCB_CLIENT_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r14, 24(%rbx)
	movq	_A_I3_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	$32, (%rbx)
	movq	8(%rbx), %rax
	movq	%r14, (%rax)
	movq	8(%rbx), %rax
	movq	%r15, 8(%rax)
	movq	_conn@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_XCB_EVENT_MASK_NO_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	movq	%r14, %rdx
	movq	%rbx, %r8
	callq	_xcb_send_event
	movl	(%r15), %edi
	callq	_xcb_flush
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[i3 sync protocol] Sending random value %d back to X11 window 0x%08x\n"

	.comm	_XCB_CLIENT_MESSAGE,4,2         ## @XCB_CLIENT_MESSAGE
	.comm	_A_I3_SYNC,4,2                  ## @A_I3_SYNC
	.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	_sync_respond                   ; -- Begin function sync_respond
	.p2align	2
_sync_respond:                          ; @sync_respond
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DLOG
	mov	w22, #32
	mov	w0, #32
	mov	w1, #1
	bl	_scalloc
	mov	x21, x0
Lloh2:
	adrp	x8, _XCB_CLIENT_MESSAGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XCB_CLIENT_MESSAGE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x0, #32]
	str	x20, [x0, #24]
Lloh5:
	adrp	x8, _A_I3_SYNC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _A_I3_SYNC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	str	w22, [x0]
	ldr	x8, [x0, #8]
	str	x20, [x8]
	ldr	x8, [x0, #8]
	str	x19, [x8, #8]
Lloh8:
	adrp	x19, _conn@GOTPAGE
Lloh9:
	ldr	x19, [x19, _conn@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh10:
	adrp	x8, _XCB_EVENT_MASK_NO_EVENT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XCB_EVENT_MASK_NO_EVENT@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	w1, #0
	mov	x2, x20
	mov	x4, x21
	bl	_xcb_send_event
	ldr	w0, [x19]
	bl	_xcb_flush
	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	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[i3 sync protocol] Sending random value %d back to X11 window 0x%08x\n"

	.comm	_XCB_CLIENT_MESSAGE,4,2         ; @XCB_CLIENT_MESSAGE
	.comm	_A_I3_SYNC,4,2                  ; @A_I3_SYNC
	.comm	_conn,4,2                       ; @conn
	.comm	_XCB_EVENT_MASK_NO_EVENT,4,2    ; @XCB_EVENT_MASK_NO_EVENT
.subsections_via_symbols
