	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrb_struct_eql
_mrb_struct_eql:                        ## @mrb_struct_eql
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	callq	_mrb_get_args
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_mrb_obj_equal
	testq	%rax, %rax
	je	LBB0_1
LBB0_9:
	xorl	%eax, %eax
	callq	_mrb_true_value
	jmp	LBB0_10
LBB0_1:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_mrb_obj_class
	movq	%rax, %r15
	movl	-44(%rbp), %esi
	movq	%r13, %rdi
	callq	_mrb_obj_class
	cmpq	%rax, %r15
	jne	LBB0_2
## %bb.3:
	movl	%r14d, %edi
	callq	_RSTRUCT_LEN
	movq	%rax, %r15
	movl	-44(%rbp), %edi
	callq	_RSTRUCT_LEN
	cmpq	%rax, %r15
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_mrb_bug
LBB0_5:
	movl	%r14d, %edi
	callq	_RSTRUCT_PTR
	movq	%rax, %r15
	movl	-44(%rbp), %edi
	callq	_RSTRUCT_PTR
	movq	%rax, %r12
	movl	%r14d, %edi
	callq	_RSTRUCT_LEN
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %esi
	movl	(%r12,%rbx,4), %edx
	movq	%r13, %rdi
	callq	_mrb_eql
	testl	%eax, %eax
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_8
	jmp	LBB0_9
LBB0_2:
	xorl	%eax, %eax
	callq	_mrb_false_value
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"o"

L_.str.1:                               ## @.str.1
	.asciz	"inconsistent struct"

	.no_dead_strip	_mrb_struct_eql
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrb_struct_eql
_mrb_struct_eql:                        ; @mrb_struct_eql
	.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
	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
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_obj_equal
	cbz	x0, LBB0_2
LBB0_1:
	bl	_mrb_true_value
	b	LBB0_10
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_obj_class
	mov	x21, x0
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_mrb_obj_class
	cmp	x21, x0
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x20
	bl	_RSTRUCT_LEN
	mov	x21, x0
	ldr	w0, [sp, #12]
	bl	_RSTRUCT_LEN
	cmp	x21, x0
	b.eq	LBB0_5
; %bb.4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mrb_bug
LBB0_5:
	mov	x0, x20
	bl	_RSTRUCT_PTR
	mov	x21, x0
	ldr	w0, [sp, #12]
	bl	_RSTRUCT_PTR
	mov	x22, x0
	mov	x0, x20
	bl	_RSTRUCT_LEN
	cbz	x0, LBB0_1
; %bb.6:
	mov	x20, x0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_mrb_eql
	cbz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #4
	add	x21, x21, #4
	subs	x20, x20, #1
	b.ne	LBB0_7
	b	LBB0_1
LBB0_9:
	bl	_mrb_false_value
LBB0_10:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"o"

l_.str.1:                               ; @.str.1
	.asciz	"inconsistent struct"

	.no_dead_strip	_mrb_struct_eql
.subsections_via_symbols
