	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfi_varsize_frob               ## -- Begin function cfi_varsize_frob
	.p2align	4, 0x90
_cfi_varsize_frob:                      ## @cfi_varsize_frob
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	8(%rdi), %r11
	movslq	(%rdi), %r10
	testq	%r10, %r10
	jle	LBB0_1
## %bb.2:
	movl	%r10d, %edx
	xorl	%ebx, %ebx
	movq	%r11, %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rax)
	jg	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	addq	$12, %rax
	cmpq	%rbx, %rdx
	jne	LBB0_3
## %bb.5:
	movl	%edx, %ebx
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
LBB0_6:
	leal	-1(%rbx), %r15d
	movslq	%r15d, %rax
	leaq	(%rax,%rax,2), %rax
	movl	4(%r11,%rax,4), %r13d
	leal	-1(%r13), %eax
	testl	%r12d, %eax
	jne	LBB0_15
## %bb.7:
	movslq	%r12d, %r9
	addq	%rcx, %r9
	movl	%r15d, %eax
	cmpl	%r10d, %ebx
	jg	LBB0_14
## %bb.8:
	movq	%r11, %rdx
	movslq	%ebx, %r11
	leaq	(%r11,%r11,2), %rax
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rax,4), %rax
	addq	$-12, %rax
	subq	%r10, %r11
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rax), %rdx
	cmpq	%rdx, %r9
	jb	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	decq	%r14
	addq	$12, %rax
	cmpq	%r14, %r11
	jne	LBB0_9
## %bb.11:
	movl	%r10d, %eax
	jmp	LBB0_13
LBB0_12:
	subl	%r14d, %ebx
	movl	%ebx, %eax
LBB0_13:
	movq	-56(%rbp), %r11                 ## 8-byte Reload
LBB0_14:
	decl	%eax
	cltq
	leaq	(%rax,%rax,2), %rax
	movslq	4(%r11,%rax,4), %rax
	decq	%rax
	testq	%rax, %r9
	je	LBB0_16
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_25:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	testq	%rcx, %rcx
	je	LBB0_24
## %bb.17:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rdi
	movq	(%rdi), %rbx
	movb	(%rbx), %cl
	movl	%r12d, %edx
	sarl	%cl, %edx
	movl	%edx, %eax
	shll	%cl, %eax
	movl	%r12d, %ecx
	subl	%eax, %ecx
	movq	%rsi, %rax
	movq	%r13, %r14
	movslq	%ecx, %r13
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rsi
	shlq	$2, %rsi
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	addq	8(%rbx), %rsi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	movl	%r14d, %ecx
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r11, %rbx
	callq	*%rax
	testl	%eax, %eax
	jne	LBB0_25
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %rcx
	movslq	%r14d, %rax
	addq	%rax, %r13
	addl	%eax, %r12d
	leaq	(%rcx,%rcx,2), %rcx
	movl	8(%rbx,%rcx,4), %esi
	imull	%eax, %esi
	addl	(%rbx,%rcx,4), %esi
	xorl	%edx, %edx
	cmpl	%esi, %r12d
	sete	%r10b
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movzbl	(%rsi), %ecx
	movq	%r13, %rdi
	shrq	%cl, %rdi
	testq	%rdi, %rdi
	movq	%rsi, %r9
	je	LBB0_20
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	incl	%edi
	xorl	%r13d, %r13d
	cmpl	4(%r9), %edi
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jge	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	subq	%rax, %rcx
	jne	LBB0_22
	jmp	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	subq	%rax, %rcx
	je	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movb	%r10b, %dl
	addl	%edx, %r15d
	movslq	%r15d, %rax
	leaq	(%rax,%rax,2), %rax
	movl	4(%rbx,%rax,4), %r14d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movslq	%edi, %rsi
	shlq	$2, %rsi
	addq	8(%r9), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_19
	jmp	LBB0_25
LBB0_24:
	xorl	%eax, %eax
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfi_varsize_frob               ; -- Begin function cfi_varsize_frob
	.p2align	2
_cfi_varsize_frob:                      ; @cfi_varsize_frob
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	ldr	x26, [x0, #8]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x11, #0
	mov	x9, x26
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cmp	w10, w21
	b.gt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x11, #1
	add	x9, x9, #12
	cmp	x8, x11
	b.ne	LBB0_2
; %bb.4:
	mov	x11, x8
	b	LBB0_7
LBB0_5:
	mov	w11, #0
	b	LBB0_7
LBB0_6:
                                        ; kill: def $w11 killed $w11 killed $x11 def $x11
LBB0_7:
	sxtw	x9, w11
	sub	x27, x9, #1
	mov	w9, #12
	madd	x9, x27, x9, x26
	ldr	w23, [x9, #4]
	sub	w9, w23, #1
	tst	w9, w21
	b.ne	LBB0_14
; %bb.8:
	add	x9, x20, w21, sxtw
	mov	x10, x27
	cmp	w11, w8
	b.gt	LBB0_13
; %bb.9:
	mov	x10, x8
	sxtw	x13, w10
	sub	w10, w11, #1
	mov	w12, #12
	smaddl	x12, w11, w12, x26
	sub	x12, x12, #12
	sub	x11, x13, w11, sxtw
	add	x11, x11, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x13, [x12]
	cmp	x9, x13
	b.lo	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w10, w10, #1
	add	x12, x12, #12
	subs	x11, x11, #1
	b.ne	LBB0_10
; %bb.12:
	mov	x10, x8
LBB0_13:
	mov	w8, #12
	smaddl	x8, w10, w8, x26
	ldursw	x8, [x8, #-8]
	sub	x8, x8, #1
	tst	x9, x8
	b.eq	LBB0_16
LBB0_14:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
	cbz	x20, LBB0_24
; %bb.17:
	ldr	x0, [x0, #16]
	ldr	x28, [x0]
	ldr	w8, [x28]
	asr	w24, w21, w8
	lsl	w8, w24, w8
	sub	w8, w21, w8
	sxtw	x25, w8
	ldr	x8, [x28, #8]
	add	x1, x8, w24, sxtw #2
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x2, x25
	mov	x3, x23
	mov	x4, x19
	blr	x22
	cbnz	w0, LBB0_15
; %bb.18:
	mov	w11, #12
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x8, w23
	add	x25, x25, x8
	smaddl	x9, w27, w11, x26
	ldr	w10, [x9]
	ldr	w9, [x9, #8]
	madd	w9, w9, w23, w10
	add	w21, w23, w21
	cmp	w21, w9
	cinc	w27, w27, eq
	ldr	w9, [x28]
	lsr	x9, x25, x9
	cbz	x9, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	add	w24, w24, #1
	ldr	w9, [x28, #4]
	cmp	w24, w9
	b.ge	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x25, #0
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=1
	sub	x20, x20, x8
	cbz	x20, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	smaddl	x8, w27, w11, x26
	ldr	w23, [x8, #4]
	ldr	x8, [x28, #8]
	add	x1, x8, w24, sxtw #2
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x25
	mov	x3, x23
	mov	x4, x19
	blr	x22
	mov	w11, #12
	cbz	w0, LBB0_19
	b	LBB0_15
LBB0_24:
	mov	w0, #0
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
