	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_ts_arged_command
_handle_ts_arged_command:               ## @handle_ts_arged_command
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %edi
	xorl	%esi, %esi
	callq	_ts_node_named_child
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ts_node_start_byte
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_ts_node_end_byte
	movl	%eax, %r14d
	movl	%eax, %r12d
	subl	%ebx, %r12d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %rdx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addq	%r13, %rdx
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	callq	_R_LOG_DEBUG
	movl	%r15d, %edi
	callq	_ts_node_child_count
	cmpl	$2, %eax
	jl	LBB0_4
## %bb.1:
	movl	$1, %r12d
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_ts_node_named_child
	movl	%r15d, %r13d
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ts_node_start_byte
	movl	%eax, %ebx
	movl	%r15d, %edi
	movl	%r13d, %r15d
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	callq	_ts_node_end_byte
	cmpl	%eax, %r14d
	cmovlel	%eax, %r14d
	subl	%ebx, %eax
	movslq	%ebx, %rdx
	addq	%r13, %rdx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_R_LOG_DEBUG
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	incl	%r12d
	cmpl	%r12d, %eax
	jne	LBB0_2
## %bb.3:
	subl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movl	%r14d, %r12d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_r_str_newf
	movq	%rax, %r14
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_r_cmd_call
	xorl	%ebx, %ebx
	cmpl	$-1, %eax
	setne	%bl
	movq	%r14, %rdi
	callq	_free
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"command: '%.*s'\n"

L_.str.1:                               ## @.str.1
	.asciz	"arg: '%.*s'\n"

L_.str.2:                               ## @.str.2
	.asciz	"%.*s"

	.no_dead_strip	_handle_ts_arged_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_ts_arged_command
_handle_ts_arged_command:               ; @handle_ts_arged_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x27, x0
	mov	x0, x2
	mov	w1, #0
	bl	_ts_node_named_child
	mov	x22, x0
	bl	_ts_node_start_byte
	mov	x23, x0
	mov	x0, x22
	bl	_ts_node_end_byte
	mov	x24, x0
	sub	w26, w0, w23
	add	x22, x21, w23, sxtw
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x26
	mov	x2, x22
	bl	_R_LOG_DEBUG
	mov	x0, x20
	bl	_ts_node_child_count
	cmp	w0, #2
	b.lt	LBB0_4
; %bb.1:
	mov	x25, x0
	str	x27, [sp, #8]                   ; 8-byte Folded Spill
	mov	w26, #1
Lloh2:
	adrp	x27, l_.str.1@PAGE
Lloh3:
	add	x27, x27, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_ts_node_named_child
	mov	x28, x0
	bl	_ts_node_start_byte
	mov	x19, x0
	mov	x0, x28
	bl	_ts_node_end_byte
	cmp	w24, w0
	csel	w24, w24, w0, gt
	sub	w1, w0, w19
	add	x2, x21, w19, sxtw
	mov	x0, x27
	bl	_R_LOG_DEBUG
	add	w26, w26, #1
	cmp	w25, w26
	b.ne	LBB0_2
; %bb.3:
	sub	w26, w24, w23
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
LBB0_4:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x26
	mov	x2, x22
	bl	_r_str_newf
	mov	x19, x0
	ldr	w0, [x27]
	mov	x1, x19
	bl	_r_cmd_call
	cmn	w0, #1
	cset	w20, ne
	mov	x0, x19
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"command: '%.*s'\n"

l_.str.1:                               ; @.str.1
	.asciz	"arg: '%.*s'\n"

l_.str.2:                               ; @.str.2
	.asciz	"%.*s"

	.no_dead_strip	_handle_ts_arged_command
.subsections_via_symbols
