	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cmd_apply
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cmd_apply:                             ## @cmd_apply
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -44(%rbp)
	movl	$1, %r14d
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.1:
	movq	%rsi, %r12
	cmpb	$0, (%rsi)
	je	LBB0_12
## %bb.2:
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.3:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.4:
	movq	%rdx, %r13
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_split_arg
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	%rax, %rbx
	cmpq	$0, (%r15)
	je	LBB0_11
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%r15), %xmm0
	movups	16(%r15), %xmm1
	movaps	%xmm0, -96(%rbp)
	movq	32(%r15), %rax
	movq	%rax, -64(%rbp)
	movaps	%xmm1, -80(%rbp)
	movq	-88(%rbp), %r14
	leaq	-72(%rbp), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	leaq	-80(%rbp), %rdi
	movl	$4, %esi
	callq	_bzero
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rdx
	callq	_ND
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rcx
	callq	*-96(%rbp)
	cmpl	$2, %eax
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, 40(%r15)
	leaq	40(%r15), %r15
	jne	LBB0_6
	jmp	LBB0_11
LBB0_7:
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_ED
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_ED
	movq	%rbx, %rdi
	callq	_free
	movl	$1, %r14d
	jmp	LBB0_12
LBB0_8:
	movq	%r12, -88(%rbp)
	movq	-64(%rbp), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, 32(%rcx)
	movaps	-80(%rbp), %xmm0
	movups	%xmm0, 16(%rcx)
	movq	-96(%rbp), %rax
	movq	%rax, (%rcx)
	movq	-88(%rbp), %rax
	movq	%rax, 8(%rcx)
	xorl	%r14d, %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_ED
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"program error - invalid arguments"

L_.str.1:                               ## @.str.1
	.asciz	"apply %s to %s"

L_.str.2:                               ## @.str.2
	.asciz	"invalid arguments: need '%s' have '%s'"

L_.str.3:                               ## @.str.3
	.asciz	"arguments %s not recognised"

	.no_dead_strip	_cmd_apply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_apply
_cmd_apply:                             ; @cmd_apply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	wzr, [sp, #60]
	cbz	x1, LBB0_12
; %bb.1:
	mov	x19, x1
	ldrb	w8, [x1]
	cbz	w8, LBB0_12
; %bb.2:
	mov	x23, x0
	cbz	x0, LBB0_15
; %bb.3:
	mov	x20, x3
	cbz	x3, LBB0_15
; %bb.4:
	mov	x22, x2
	add	x1, sp, #60
	mov	x0, x19
	bl	_split_arg
	cbz	x0, LBB0_12
; %bb.5:
	mov	x21, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_11
; %bb.6:
	add	x8, sp, #16
	add	x27, x8, #24
	add	x24, x8, #16
Lloh0:
	adrp	x25, l_.str.1@PAGE
Lloh1:
	add	x25, x25, l_.str.1@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #32]
	str	x8, [sp, #48]
	ldp	q0, q1, [x23]
	stp	q0, q1, [sp, #16]
	ldr	x26, [sp, #24]
	stp	xzr, xzr, [x27]
	mov	x0, x24
	mov	w1, #4
	bl	_bzero
	ldr	x1, [x21]
	mov	x0, x25
	mov	x2, x26
	bl	_ND
	ldr	x8, [sp, #16]
	ldr	w2, [sp, #60]
	add	x1, sp, #16
	mov	x0, x22
	mov	x3, x21
	blr	x8
	cmp	w0, #2
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x23, #40]!
	cbnz	x8, LBB0_7
	b	LBB0_11
LBB0_9:
	cmp	w0, #1
	b.ne	LBB0_14
; %bb.10:
	stp	x26, x19, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ED
LBB0_11:
	str	x19, [sp]
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_ED
	mov	x0, x21
	bl	_free
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_14:
	mov	w0, #0
	str	x19, [sp, #24]
	ldr	x8, [sp, #48]
	str	x8, [x20, #32]
	ldp	q1, q0, [sp, #16]
	stp	q1, q0, [x20]
	b	LBB0_13
LBB0_15:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ED
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"program error - invalid arguments"

l_.str.1:                               ; @.str.1
	.asciz	"apply %s to %s"

l_.str.2:                               ; @.str.2
	.asciz	"invalid arguments: need '%s' have '%s'"

l_.str.3:                               ; @.str.3
	.asciz	"arguments %s not recognised"

	.no_dead_strip	_cmd_apply
.subsections_via_symbols
