	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function range_last
_range_last:                            ## @range_last
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-20(%rbp), %rdx
	callq	_mrb_get_args
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_mrb_funcall
	movl	%eax, %r14d
	movl	-20(%rbp), %esi
	movq	%rbx, %rdi
	callq	_mrb_to_int
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_mrb_funcall
	jmp	LBB0_3
LBB0_1:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_mrb_range_end
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"|o"

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

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

	.no_dead_strip	_range_last
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function range_last
_range_last:                            ; @range_last
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_mrb_get_args
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_mrb_funcall
	mov	x20, x0
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_mrb_to_int
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_mrb_funcall
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_range_end
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"|o"

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

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

	.no_dead_strip	_range_last
.subsections_via_symbols
