	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compile_pattern_atom
_compile_pattern_atom:                  ## @compile_pattern_atom
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_5
## %bb.2:
	movl	$1, %edi
	movl	$16, %esi
	callq	_xcalloc
	movq	%rax, %r15
	movq	_GREP_NODE_ATOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%rbx, (%r15)
LBB0_3:
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	jmp	LBB0_10
LBB0_5:
	cmpl	$131, %eax
	jne	LBB0_9
## %bb.6:
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	callq	_compile_pattern_or
	movq	%rax, %r15
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movl	(%rbx), %eax
	movq	_GREP_CLOSE_PAREN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_die
	movq	(%r14), %rbx
	jmp	LBB0_3
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GREP_NODE_ATOM,4,2             ## @GREP_NODE_ATOM
	.comm	_GREP_CLOSE_PAREN,4,2           ## @GREP_CLOSE_PAREN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unmatched parenthesis"

	.no_dead_strip	_compile_pattern_atom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compile_pattern_atom
_compile_pattern_atom:                  ; @compile_pattern_atom
	.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
	ldr	x21, [x0]
	cbz	x21, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w8, [x21]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hs	LBB0_4
; %bb.2:
	mov	w0, #1
	mov	w1, #16
	bl	_xcalloc
	mov	x20, x0
Lloh0:
	adrp	x8, _GREP_NODE_ATOM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GREP_NODE_ATOM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	str	x21, [x0]
LBB0_3:
	ldr	x8, [x21, #8]
	str	x8, [x19]
	b	LBB0_9
LBB0_4:
	cmp	w8, #131
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x21, #8]
	str	x8, [x19]
	mov	x0, x19
	bl	_compile_pattern_or
	mov	x20, x0
	ldr	x21, [x19]
	cbz	x21, LBB0_7
; %bb.6:
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _GREP_CLOSE_PAREN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GREP_CLOSE_PAREN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_3
LBB0_7:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
	ldr	x21, [x19]
	b	LBB0_3
LBB0_8:
	mov	x20, #0
LBB0_9:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GREP_NODE_ATOM,4,2             ; @GREP_NODE_ATOM
	.comm	_GREP_CLOSE_PAREN,4,2           ; @GREP_CLOSE_PAREN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unmatched parenthesis"

	.no_dead_strip	_compile_pattern_atom
.subsections_via_symbols
