	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codegen_error
_codegen_error:                         ## @codegen_error
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	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	%rsi, %r14
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r15
	movl	20(%rbx), %esi
	movl	24(%rbx), %edi
	callq	_mrb_free
	movl	16(%rbx), %edi
	callq	_mrb_pool_close
	movq	32(%r15), %rax
	movq	%r15, %rbx
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_4
LBB0_9:
	retq
LBB0_2:
	movq	%rbx, %r15
LBB0_4:
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.5:
	movl	8(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_8
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_8:
	addq	$12, %r15
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MRB_THROW                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"codegen error:%s:%d: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"codegen error: %s\n"

	.no_dead_strip	_codegen_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codegen_error
_codegen_error:                         ; @codegen_error
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	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
	.cfi_remember_state
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x8
	ldp	w1, w0, [x20, #20]
	bl	_mrb_free
	ldr	w0, [x20, #16]
	bl	_mrb_pool_close
	ldr	x8, [x21, #32]
	mov	x20, x21
	cbnz	x8, LBB0_2
; %bb.3:
	ldr	x2, [x21]
	cbnz	x2, LBB0_6
	b	LBB0_8
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
LBB0_5:
	.cfi_restore_state
	mov	x21, x20
	ldr	x2, [x21]
	cbz	x2, LBB0_8
LBB0_6:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_8
; %bb.7:
Lloh0:
	adrp	x9, _stderr@GOTPAGE
Lloh1:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	stp	x8, x19, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
LBB0_9:
	bl	_fprintf
	add	x0, x21, #12
	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
	b	_MRB_THROW
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"codegen error:%s:%d: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"codegen error: %s\n"

	.no_dead_strip	_codegen_error
.subsections_via_symbols
