	.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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$4, %edi
	jl	LBB0_2
## %bb.1:
	movq	8(%rsi), %rdi
	movq	16(%rsi), %r15
	movq	24(%rsi), %r14
	jmp	LBB0_3
LBB0_2:
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %r15
	leaq	L_.str.2(%rip), %r14
LBB0_3:
	leaq	L_.str.4(%rip), %rsi
	callq	_r_regex_new
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_r_regex_exec
	leaq	L_.str.5(%rip), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_r_regex_exec
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_r_regex_free
	jmp	LBB0_6
LBB0_5:
	leaq	L_str.7(%rip), %rdi
	callq	_puts
LBB0_6:
	xorl	%eax, %eax
	callq	_test_or
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"^hi"

L_.str.1:                               ## @.str.1
	.asciz	"patata"

L_.str.2:                               ## @.str.2
	.asciz	"hillow"

L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	"result (%s) = %d\n"

L_str:                                  ## @str
	.asciz	"Using default values"

L_str.7:                                ## @str.7
	.asciz	"oops, cannot compile regexp"

.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, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cmp	w0, #4
	b.lt	LBB0_2
; %bb.1:
	ldp	x0, x20, [x1, #8]
	ldr	x19, [x1, #24]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh6:
	adrp	x19, l_.str.2@PAGE
Lloh7:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_3:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_r_regex_new
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_r_regex_exec
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh10:
	adrp	x20, l_.str.5@PAGE
Lloh11:
	add	x20, x20, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_printf
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_r_regex_exec
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
	mov	x0, x20
	bl	_printf
	mov	x0, x21
	bl	_r_regex_free
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x0, l_str.7@PAGE
Lloh13:
	add	x0, x0, l_str.7@PAGEOFF
	bl	_puts
LBB0_6:
	bl	_test_or
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"^hi"

l_.str.1:                               ; @.str.1
	.asciz	"patata"

l_.str.2:                               ; @.str.2
	.asciz	"hillow"

l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	"result (%s) = %d\n"

l_str:                                  ; @str
	.asciz	"Using default values"

l_str.7:                                ; @str.7
	.asciz	"oops, cannot compile regexp"

.subsections_via_symbols
