	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjust_varargs
_adjust_varargs:                        ## @adjust_varargs
	.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
	movq	%rdi, %r15
	movl	(%rsi), %r13d
	movq	(%rdi), %rbx
	xorl	%eax, %eax
	testl	%r13d, %r13d
	jle	LBB0_4
## %bb.1:
	movl	%edx, %r12d
	testl	%edx, %edx
	jle	LBB0_4
## %bb.2:
	movslq	%r12d, %rax
	movq	%rbx, %r14
	subq	%rax, %r14
	leal	-1(%r13), %eax
	decl	%r12d
	cmpl	%r12d, %eax
	cmovbl	%eax, %r12d
	leal	1(%r12), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	1(%rbx), %rax
	movq	%rax, (%r15)
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_setobjs2s
	movq	%r14, %rdi
	callq	_setnilvalue
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.8:
	movq	%rbx, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	-1(%rax), %rbx
	incq	%r14
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	leaq	1(%rsi), %rax
	movq	%rax, (%r15)
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	callq	_setobjs2s
	movq	%r14, %rdi
	callq	_setnilvalue
	incq	%r14
	decq	%rbx
	jne	LBB0_9
## %bb.10:
	movq	%r12, %rbx
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_4:
	cmpl	%r13d, %eax
	jge	LBB0_7
## %bb.5:
	subl	%eax, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	leaq	1(%rdi), %rax
	movq	%rax, (%r15)
	callq	_setnilvalue
	decl	%r13d
	jne	LBB0_6
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_adjust_varargs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjust_varargs
_adjust_varargs:                        ; @adjust_varargs
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x0
	ldr	w22, [x1]
	ldr	x20, [x0]
	subs	w8, w22, #1
	ccmp	w2, #1, #8, ge
	b.ge	LBB0_2
; %bb.1:
	mov	w23, #0
	b	LBB0_5
LBB0_2:
	sxtw	x9, w2
	sub	x21, x20, x9
	sub	w9, w2, #1
	cmp	w8, w9
	csel	w24, w8, w9, lo
	add	w23, w24, #1
	add	x8, x20, #1
	str	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_setobjs2s
	mov	x0, x21
	bl	_setnilvalue
	cbz	w24, LBB0_5
; %bb.3:
	sub	x24, x23, #1
	add	x21, x21, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x19]
	add	x8, x1, #1
	str	x8, [x19]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x21
	bl	_setobjs2s
	mov	x0, x21
	bl	_setnilvalue
	add	x21, x21, #1
	subs	x24, x24, #1
	b.ne	LBB0_4
LBB0_5:
	cmp	w23, w22
	b.ge	LBB0_8
; %bb.6:
	sub	w21, w22, w23
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	add	x8, x0, #1
	str	x8, [x19]
	bl	_setnilvalue
	subs	w21, w21, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_adjust_varargs
.subsections_via_symbols
