	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compile_pattern_or
_compile_pattern_or:                    ## @compile_pattern_or
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_compile_pattern_and
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_6
## %bb.2:
	movq	(%r12), %rax
	movq	_GREP_CLOSE_PAREN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_compile_pattern_or
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	8(%r12), %esi
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_5:
	movl	$1, %edi
	movl	$24, %esi
	callq	_xcalloc
	movq	_GREP_NODE_OR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	%r15, 8(%rax)
	movq	%r14, (%rax)
	movq	%rax, %r15
LBB0_6:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GREP_CLOSE_PAREN,8,3           ## @GREP_CLOSE_PAREN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not a pattern expression %s"

	.comm	_GREP_NODE_OR,4,2               ## @GREP_NODE_OR
	.no_dead_strip	_compile_pattern_or
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compile_pattern_or
_compile_pattern_or:                    ; @compile_pattern_or
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	bl	_compile_pattern_and
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x21, [x20]
	cbz	x21, LBB0_6
; %bb.2:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _GREP_CLOSE_PAREN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GREP_CLOSE_PAREN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_compile_pattern_or
	mov	x20, x0
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x21, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_5:
	mov	w0, #1
	mov	w1, #24
	bl	_xcalloc
Lloh5:
	adrp	x8, _GREP_NODE_OR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GREP_NODE_OR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	stp	x20, x19, [x0]
	mov	x19, x0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GREP_CLOSE_PAREN,8,3           ; @GREP_CLOSE_PAREN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not a pattern expression %s"

	.comm	_GREP_NODE_OR,4,2               ; @GREP_NODE_OR
	.no_dead_strip	_compile_pattern_or
.subsections_via_symbols
