	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h_rem                          ## -- Begin function h_rem
	.p2align	4, 0x90
_h_rem:                                 ## @h_rem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAXH@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leal	-1(%r9), %ecx
	andl	%edi, %ecx
	movq	_h_key@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movslq	%ecx, %rsi
	movl	(%rdx,%rsi,4), %r8d
	testl	%r8d, %r8d
	je	LBB0_5
## %bb.1:
	cmpl	%edi, %r8d
	je	LBB0_5
## %bb.2:
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	cmpl	%r9d, %ecx
	cmovel	%r8d, %ecx
	movslq	%ecx, %rsi
	movl	(%rdx,%rsi,4), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%edi, %eax
	jne	LBB0_3
LBB0_5:
	movq	_h_val@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax,%rsi,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXH,4,2                       ## @MAXH
	.comm	_h_key,8,3                      ## @h_key
	.comm	_h_val,8,3                      ## @h_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h_rem                          ; -- Begin function h_rem
	.p2align	2
_h_rem:                                 ; @h_rem
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAXH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAXH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w9, w8, #1
Lloh3:
	adrp	x10, _h_key@GOTPAGE
Lloh4:
	ldr	x10, [x10, _h_key@GOTPAGEOFF]
	and	w9, w9, w0
Lloh5:
	ldr	x10, [x10]
	ldr	w11, [x10, w9, sxtw #2]
	cmp	w11, #0
	ccmp	w11, w0, #4, ne
	b.eq	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w9, #1
	cmp	w11, w8
	csinc	w9, wzr, w9, eq
	ldr	w11, [x10, w9, sxtw #2]
	cmp	w11, #0
	ccmp	w11, w0, #4, ne
	b.ne	LBB0_1
; %bb.2:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
LBB0_3:
	sxtw	x8, w9
Lloh6:
	adrp	x9, _h_val@GOTPAGE
Lloh7:
	ldr	x9, [x9, _h_val@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	str	xzr, [x9, x8, lsl #3]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXH,4,2                       ; @MAXH
	.comm	_h_key,8,3                      ; @h_key
	.comm	_h_val,8,3                      ; @h_val
.subsections_via_symbols
