	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ht_hash_func
_ht_hash_func:                          ## @ht_hash_func
	.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	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	%edx, %edi
	callq	_mrb_type
	movq	(%r15), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	(%r12), %r13
	jmp	LBB0_3
LBB0_1:
	xorl	%r13d, %r13d
LBB0_3:
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_7
## %bb.4:
	cmpl	$2, %eax
	je	LBB0_5
## %bb.6:
	movl	%ebx, %edi
	callq	_mrb_obj_id
	movslq	%eax, %rbx
LBB0_8:
	testq	%r12, %r12
	je	LBB0_12
## %bb.9:
	cmpq	(%r15), %r12
	jne	LBB0_11
## %bb.10:
	cmpq	(%r12), %r13
	je	LBB0_12
LBB0_11:
	movq	_E_RUNTIME_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_mrb_raise
LBB0_12:
	leaq	(,%rbx,4), %rax
	xorq	%rbx, %rax
	shrq	$2, %rbx
	xorq	%rax, %rbx
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_mrb_funcall
	movl	%eax, %edi
	callq	_mrb_fixnum
	movslq	%eax, %rbx
	xorq	%r15, %rbx
	jmp	LBB0_8
LBB0_5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_mrb_str_hash
	movq	%rax, %rbx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hash"

	.comm	_E_RUNTIME_ERROR,4,2            ## @E_RUNTIME_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"hash modified"

	.no_dead_strip	_ht_hash_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ht_hash_func
_ht_hash_func:                          ; @ht_hash_func
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_mrb_type
	ldr	x22, [x20]
	cbz	x22, LBB0_2
; %bb.1:
	ldr	x23, [x22]
	b	LBB0_3
LBB0_2:
	mov	x23, #0
LBB0_3:
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_11
; %bb.4:
	cmp	w8, #2
	b.eq	LBB0_12
; %bb.5:
	mov	x0, x21
	bl	_mrb_obj_id
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
LBB0_6:
	cbz	x22, LBB0_10
; %bb.7:
	ldr	x8, [x20]
	cmp	x22, x8
	b.ne	LBB0_9
; %bb.8:
	ldr	x8, [x22]
	cmp	x23, x8
	b.eq	LBB0_10
LBB0_9:
Lloh0:
	adrp	x8, _E_RUNTIME_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_RUNTIME_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mrb_raise
LBB0_10:
	eor	x8, x21, x21, lsl #2
	eor	x0, x8, x21, lsr #2
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_mrb_funcall
	bl	_mrb_fixnum
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	eor	x21, x8, x20
	b	LBB0_6
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_str_hash
	mov	x21, x0
	b	LBB0_6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hash"

	.comm	_E_RUNTIME_ERROR,4,2            ; @E_RUNTIME_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"hash modified"

	.no_dead_strip	_ht_hash_func
.subsections_via_symbols
