	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_REG_EXTENDED@GOTPCREL(%rip), %rax
	movq	_REG_NOSUB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-12(%rbp), %rdi
	callq	_regcomp
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-12(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	movq	%rax, %rcx
	movl	$2, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	leaq	-12(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	movq	%rax, %rcx
	movl	$3, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	leaq	-12(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	movq	%rax, %rcx
	movl	$4, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	leaq	-12(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	movq	%rax, %rcx
	movl	$5, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	leaq	-12(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	movq	%rax, %rcx
	movq	_REG_NOMATCH@GOTPCREL(%rip), %rbx
	movl	$6, %eax
	cmpq	(%rbx), %rcx
	jne	LBB0_8
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
	leaq	-12(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	movq	%rax, %rcx
	movl	$7, %eax
	cmpq	(%rbx), %rcx
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.7(%rip), %rsi
	leaq	-12(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	(%rbx), %rcx
	setne	%al
	shll	$3, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\<word\\>"

	.comm	_REG_EXTENDED,4,2               ## @REG_EXTENDED
	.comm	_REG_NOSUB,4,2                  ## @REG_NOSUB
L_.str.1:                               ## @.str.1
	.asciz	"the word is here"

L_.str.2:                               ## @.str.2
	.asciz	"same word"

L_.str.3:                               ## @.str.3
	.asciz	"word again"

L_.str.4:                               ## @.str.4
	.asciz	"word"

L_.str.5:                               ## @.str.5
	.asciz	"wordy"

	.comm	_REG_NOMATCH,8,3                ## @REG_NOMATCH
L_.str.6:                               ## @.str.6
	.asciz	"sword"

L_.str.7:                               ## @.str.7
	.asciz	"reworded"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _REG_EXTENDED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_EXTENDED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _REG_NOSUB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_NOSUB@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #12
	bl	_regcomp
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_15
LBB0_2:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #12
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #2
	b	LBB0_15
LBB0_4:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #12
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	cbz	x0, LBB0_6
; %bb.5:
	mov	w0, #3
	b	LBB0_15
LBB0_6:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #12
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	cbz	x0, LBB0_8
; %bb.7:
	mov	w0, #4
	b	LBB0_15
LBB0_8:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #12
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	cbz	x0, LBB0_10
; %bb.9:
	mov	w0, #5
	b	LBB0_15
LBB0_10:
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #12
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
Lloh18:
	adrp	x19, _REG_NOMATCH@GOTPAGE
Lloh19:
	ldr	x19, [x19, _REG_NOMATCH@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.11:
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #12
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.12:
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #12
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w8, ne
	lsl	w0, w8, #3
	b	LBB0_15
LBB0_13:
	mov	w0, #6
	b	LBB0_15
LBB0_14:
	mov	w0, #7
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\<word\\>"

	.comm	_REG_EXTENDED,4,2               ; @REG_EXTENDED
	.comm	_REG_NOSUB,4,2                  ; @REG_NOSUB
l_.str.1:                               ; @.str.1
	.asciz	"the word is here"

l_.str.2:                               ; @.str.2
	.asciz	"same word"

l_.str.3:                               ; @.str.3
	.asciz	"word again"

l_.str.4:                               ; @.str.4
	.asciz	"word"

l_.str.5:                               ; @.str.5
	.asciz	"wordy"

	.comm	_REG_NOMATCH,8,3                ; @REG_NOMATCH
l_.str.6:                               ; @.str.6
	.asciz	"sword"

l_.str.7:                               ; @.str.7
	.asciz	"reworded"

.subsections_via_symbols
