	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extract                        ## -- Begin function extract
	.p2align	4, 0x90
_extract:                               ## @extract
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_yankword
	testq	%rax, %rax
	movq	%r14, %rdi
	je	LBB0_11
## %bb.5:
	movq	%rax, %r13
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, (%rbx)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rax, %r14
	callq	_yankword
	movq	%rax, %r13
	movq	%r14, %rax
	movq	%rbx, %r14
	movq	%r15, %rdi
	movq	%rax, %r12
	testq	%r13, %r13
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %r15
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_nalloc
	movq	%rax, %rbx
	testq	%r12, %r12
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, 8(%r14)
	movq	%r12, %rax
	jmp	LBB0_6
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	movq	%rax, %rbx
	callq	_free
	movq	%rbx, %rax
LBB0_13:
	addq	$8, %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	"Out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extract                        ; -- Begin function extract
	.p2align	2
_extract:                               ; @extract
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_9
; %bb.2:
	mov	x19, x1
	mov	x0, x21
	bl	_strlen
	add	x0, x0, #1
	bl	_malloc
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	bl	_yankword
	cbz	x0, LBB0_10
; %bb.5:
	mov	x21, x0
	mov	x24, #0
	mov	x25, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	x24, [x23]
	mov	x0, x21
	mov	x1, x20
	bl	_yankword
	mov	x21, x0
	mov	x24, x23
	mov	x25, x22
	cbz	x0, LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_nalloc
	mov	x23, x0
	mov	x22, x0
	cbz	x25, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	str	x23, [x24, #8]
	mov	x22, x25
	b	LBB0_6
LBB0_9:
	mov	x22, #0
	b	LBB0_12
LBB0_10:
	mov	x22, #0
LBB0_11:
	mov	x0, x20
	bl	_free
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Out of memory"

.subsections_via_symbols
