	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_emacsclient_version
_check_emacsclient_version:             ## @check_emacsclient_version
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	l___const.check_emacsclient_version.argv_ec+16(%rip), %rax
	movq	%rax, -48(%rbp)
	movaps	l___const.check_emacsclient_version.argv_ec(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, -88(%rbp)
	movabsq	$8589934591, %rax               ## imm = 0x1FFFFFFFF
	movq	%rax, -80(%rbp)
	leaq	-88(%rbp), %rdi
	callq	_start_command
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
LBB0_2:
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_error
LBB0_7:
	movl	%eax, %ebx
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	-80(%rbp), %esi
	leaq	-72(%rbp), %rdi
	movl	$20, %edx
	callq	_strbuf_read
	movl	-80(%rbp), %edi
	callq	_close
	leaq	-88(%rbp), %rdi
	callq	_finish_command
	movl	-72(%rbp), %edi
	leaq	L_.str(%rip), %rsi
	callq	_starts_with
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_strlen
	leaq	-72(%rbp), %r15
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_strbuf_remove
	movl	-72(%rbp), %edi
	callq	_atoi
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_strbuf_release
	cmpl	$21, %r14d
	jg	LBB0_8
## %bb.6:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_7
LBB0_4:
	leaq	-72(%rbp), %rdi
	callq	_strbuf_release
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_2
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_CHILD_PROCESS_INIT,16,3        ## @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"emacsclient"

L_.str.1:                               ## @.str.1
	.asciz	"--version"

	.section	__DATA,__const
	.p2align	4                               ## @__const.check_emacsclient_version.argv_ec
l___const.check_emacsclient_version.argv_ec:
	.quad	L_.str
	.quad	L_.str.1
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"Failed to start emacsclient."

L_.str.3:                               ## @.str.3
	.asciz	"Failed to parse emacsclient version."

L_.str.4:                               ## @.str.4
	.asciz	"emacsclient version '%d' too old (< 22)."

	.no_dead_strip	_check_emacsclient_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function check_emacsclient_version
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_check_emacsclient_version:             ; @check_emacsclient_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh6:
	adrp	x8, l___const.check_emacsclient_version.argv_ec@PAGE
Lloh7:
	add	x8, x8, l___const.check_emacsclient_version.argv_ec@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #32]
	ldr	x8, [x8, #16]
	str	x8, [sp, #48]
	add	x8, sp, #32
	str	x8, [sp, #8]
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
	add	x0, sp, #8
	bl	_start_command
	cbz	x0, LBB0_6
; %bb.1:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_2:
	bl	__
LBB0_3:
	bl	_error
LBB0_4:
	ldur	x8, [x29, #-24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	ldr	w1, [sp, #16]
	add	x0, sp, #24
	mov	w2, #20
	bl	_strbuf_read
	ldr	w0, [sp, #16]
	bl	_close
	add	x0, sp, #8
	bl	_finish_command
	ldr	w0, [sp, #24]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_starts_with
	cbz	w0, LBB0_9
; %bb.7:
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strlen
	mov	x2, x0
	add	x0, sp, #24
	mov	w1, #0
	bl	_strbuf_remove
	ldr	w0, [sp, #24]
	bl	_atoi
	mov	x19, x0
	add	x0, sp, #24
	bl	_strbuf_release
	mov	w0, #0
	cmp	w19, #21
	b.gt	LBB0_4
; %bb.8:
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	str	x19, [sp]
	b	LBB0_3
LBB0_9:
	add	x0, sp, #24
	bl	_strbuf_release
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_CHILD_PROCESS_INIT,16,3        ; @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"emacsclient"

l_.str.1:                               ; @.str.1
	.asciz	"--version"

	.section	__DATA,__const
	.p2align	3                               ; @__const.check_emacsclient_version.argv_ec
l___const.check_emacsclient_version.argv_ec:
	.quad	l_.str
	.quad	l_.str.1
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"Failed to start emacsclient."

l_.str.3:                               ; @.str.3
	.asciz	"Failed to parse emacsclient version."

l_.str.4:                               ; @.str.4
	.asciz	"emacsclient version '%d' too old (< 22)."

	.no_dead_strip	_check_emacsclient_version
.subsections_via_symbols
