	.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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_3
LBB0_2:
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_parse_args
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movq	_mrb_default_allocf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_mrb_open_core
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
	leaq	-24(%rbp), %rsi
	movq	%rax, %rdi
	callq	_strip
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mrb_close
	jmp	LBB0_8
LBB0_3:
	movq	(%rbx), %rdi
	callq	_print_usage
LBB0_4:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_fputs
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_mrb_default_allocf,4,2         ## @mrb_default_allocf
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Invalid mrb_state, exiting mruby-strip\n"

	.comm	_stderr,4,2                     ## @stderr
L_str:                                  ## @str
	.asciz	"no files to strip"

.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
	mov	x19, x1
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_5
LBB0_2:
	add	x2, sp, #8
	mov	x1, x19
	bl	_parse_args
	tbnz	w0, #31, LBB0_5
; %bb.3:
Lloh2:
	adrp	x8, _mrb_default_allocf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mrb_default_allocf@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_mrb_open_core
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, x0
	add	x1, sp, #8
	bl	_strip
	mov	x19, x0
	mov	x0, x20
	bl	_mrb_close
	b	LBB0_7
LBB0_5:
	ldr	x0, [x19]
	bl	_print_usage
LBB0_6:
Lloh5:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fputs
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_mrb_default_allocf,4,2         ; @mrb_default_allocf
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Invalid mrb_state, exiting mruby-strip\n"

	.comm	_stderr,4,2                     ; @stderr
l_str:                                  ; @str
	.asciz	"no files to strip"

.subsections_via_symbols
