	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_maxrhs
_set_maxrhs:                            ## @set_maxrhs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_nitems@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	testq	%rax, %rax
	jle	LBB0_1
## %bb.2:
	movq	_ritem@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rax,8), %rdx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rdi), %esi
	cmpl	%eax, %edi
	cmovlel	%eax, %edi
	cmpq	$0, (%rcx)
	cmovsl	%r8d, %esi
	cmovsl	%edi, %eax
	addq	$8, %rcx
	movl	%esi, %edi
	cmpq	%rdx, %rcx
	jb	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_4:
	movq	_maxrhs@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ritem,8,3                      ## @ritem
	.comm	_nitems,4,2                     ## @nitems
	.comm	_maxrhs,4,2                     ## @maxrhs
	.no_dead_strip	_set_maxrhs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_maxrhs
_set_maxrhs:                            ; @set_maxrhs
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _nitems@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nitems@GOTPAGEOFF]
Lloh2:
	ldrsw	x11, [x8]
	cmp	w11, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, #0
	mov	w10, #0
Lloh3:
	adrp	x9, _ritem@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ritem@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x11, x9, x11, lsl #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9], #8
	add	w13, w10, #1
	cmp	w10, w8
	csel	w14, w10, w8, gt
	asr	x10, x12, #63
	bic	w10, w13, w10
	cmp	x12, #0
	csel	w8, w8, w14, ge
	cmp	x9, x11
	b.lo	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
Lloh6:
	adrp	x9, _maxrhs@GOTPAGE
Lloh7:
	ldr	x9, [x9, _maxrhs@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ritem,8,3                      ; @ritem
	.comm	_nitems,4,2                     ; @nitems
	.comm	_maxrhs,4,2                     ; @maxrhs
	.no_dead_strip	_set_maxrhs
.subsections_via_symbols
