	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function comp
_comp:                                  ## @comp
	.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
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdx), %r13
	testq	%r13, %r13
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_4
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	decq	%r13
	jne	LBB0_1
LBB0_4:
	xorl	%r13d, %r13d
LBB0_5:
	leaq	1(%r13), %r14
	movq	%r14, %rdi
	callq	_malloc
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_err
LBB0_7:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	movb	$0, (%r12,%r13)
	cmpb	$0, (%r12)
	je	LBB0_8
## %bb.9:
	movq	%r12, %r14
	testq	%r13, %r13
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.11:
	movq	%r14, %r12
	xorl	%r14d, %r14d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	movzbl	%al, %edi
	callq	_isalnum
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movzbl	(%rbx,%r14), %eax
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	movb	%al, (%r12)
	incq	%r12
	incq	%r15
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r14
	cmpq	%r14, %r13
	je	LBB0_23
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%r14), %eax
	testb	%al, %al
	je	LBB0_23
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$32, %al
	testq	%r15, %r15
	je	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movzbl	-1(%r12), %edi
	callq	_isspace
	testq	%rax, %rax
	movb	$32, %al
	jne	LBB0_22
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	movzbl	(%rbx,%r14), %eax
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$35, %al
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movb	$35, %al
	jmp	LBB0_21
LBB0_23:
	testq	%r15, %r15
	je	LBB0_24
## %bb.25:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%r12), %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	decq	%r12
	decq	%r15
	jne	LBB0_26
	jmp	LBB0_28
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_30
LBB0_10:
	xorl	%ebx, %ebx
	movq	%r14, %r12
LBB0_28:
	xorl	%r15d, %r15d
	jmp	LBB0_29
LBB0_24:
	xorl	%r15d, %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_29:
	movb	$0, (%r12)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
LBB0_30:
	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	"Cannot allocate %zu bytes"

	.no_dead_strip	_comp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function comp
_comp:                                  ; @comp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	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
	.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	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x23, [x2]
	cbz	x23, LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22]
	cbz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_isspace
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x22, x22, #1
	subs	x23, x23, #1
	b.ne	LBB0_1
LBB0_4:
	add	x24, x23, #1
	mov	x0, x24
	bl	_malloc
	mov	x21, x0
	cbnz	x0, LBB0_6
; %bb.5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x24
	bl	_err
LBB0_6:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	strb	wzr, [x21, x23]
	ldrb	w8, [x21]
	cbz	w8, LBB0_26
; %bb.7:
	cbz	x23, LBB0_27
; %bb.8:
	mov	w27, #0
	mov	w24, #0
	mov	x25, #0
	mov	x26, x21
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	mov	w8, #32
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	strb	w8, [x26], #1
	add	x25, x25, #1
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	subs	x23, x23, #1
	b.eq	LBB0_21
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22]
	cbz	w0, LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_isspace
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	cbz	x25, LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldurb	w0, [x26, #-1]
	bl	_isspace
	cbnz	x0, LBB0_11
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w0, [x22]
	cbnz	w27, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w0, #35
	b.ne	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	cbnz	w24, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w27, #1
	mov	w8, #35
	b	LBB0_10
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=1
	bl	_isalnum
	orr	w24, w0, w24
	ldrb	w8, [x22]
	b	LBB0_10
LBB0_21:
	cbz	x25, LBB0_28
; %bb.22:
	mov	x22, x26
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22, #-1]!
	bl	_isspace
	cbz	x0, LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x26, x22
	subs	x25, x25, #1
	b.ne	LBB0_23
; %bb.25:
	mov	x26, x22
	b	LBB0_28
LBB0_26:
	mov	w24, #0
	b	LBB0_29
LBB0_27:
	mov	w24, #0
	mov	x25, #0
	mov	x26, x21
LBB0_28:
	strb	wzr, [x26]
	str	x21, [x20]
	str	x25, [x19]
LBB0_29:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot allocate %zu bytes"

	.no_dead_strip	_comp
.subsections_via_symbols
