	.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
	movq	(%rdi), %rax
	cmpq	%rdx, %rax
	jb	LBB0_16
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %rbx
	leaq	(%rcx,%rdx), %r9
	cmpq	%rax, %r9
	ja	LBB0_16
## %bb.2:
	movq	%rsi, %r11
	movq	16(%rdi), %r14
	movslq	8(%rdi), %r10
	testq	%r10, %r10
	jle	LBB0_7
## %bb.3:
	movl	%r10d, %esi
	xorl	%edx, %edx
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rax)
	ja	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	addq	$16, %rax
	cmpq	%rdx, %rsi
	jne	LBB0_4
## %bb.6:
	movl	%esi, %edx
	jmp	LBB0_8
LBB0_7:
	xorl	%edx, %edx
LBB0_8:
	movslq	%edx, %rsi
	movq	%rsi, %rax
	shlq	$4, %rax
	movslq	-8(%rax,%r14), %r12
	leaq	-1(%r12), %rcx
	testq	%rbx, %rcx
	jne	LBB0_16
## %bb.9:
	leal	-1(%rdx), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpl	%r10d, %edx
	jg	LBB0_15
## %bb.10:
	addq	%r14, %rax
	addq	$-16, %rax
	subq	%r10, %rsi
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	(%rax), %r9
	jb	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	decq	%rcx
	addq	$16, %rax
	cmpq	%rcx, %rsi
	jne	LBB0_11
## %bb.13:
	movl	%r10d, %ecx
	jmp	LBB0_15
LBB0_14:
	subl	%ecx, %edx
	movl	%edx, %ecx
LBB0_15:
	movslq	%ecx, %rax
	shlq	$4, %rax
	movslq	-8(%rax,%r14), %rax
	decq	%rax
	testq	%rax, %r9
	je	LBB0_18
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_17:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	testq	%r15, %r15
	je	LBB0_25
## %bb.19:
	movq	24(%rdi), %rdi
	movq	(%rdi), %r9
	movb	(%r9), %cl
	movq	%rbx, %rdx
	shrq	%cl, %rdx
	movl	%edx, %eax
	shll	%cl, %eax
	cltq
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r13
	subq	%rax, %r13
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movslq	%edx, %rsi
	shlq	$2, %rsi
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	addq	16(%r9), %rsi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	movl	%r12d, %ecx
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%r11, -64(%rbp)                 ## 8-byte Spill
	callq	*%r11
	testl	%eax, %eax
	movl	-52(%rbp), %r10d                ## 4-byte Reload
	jne	LBB0_17
	jmp	LBB0_20
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subq	%rax, %r15
	je	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=1
	movb	%r11b, %dl
	addl	%edx, %r10d
	movslq	%r10d, %rax
	shlq	$4, %rax
	movl	8(%r12,%rax), %r12d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %rsi
	shlq	$2, %rsi
	addq	16(%rdi), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%r12d, %ecx
	movl	%r10d, %r14d
	callq	*%r9
	movl	%r14d, %r10d
	testl	%eax, %eax
	jne	LBB0_17
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r10d, %rcx
	movslq	%r12d, %rax
	addq	%rax, %r13
	addq	%rax, %rbx
	shlq	$4, %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movslq	12(%rdx,%rcx), %rsi
	imulq	%rax, %rsi
	movq	%rdx, %r12
	addq	(%rdx,%rcx), %rsi
	xorl	%edx, %edx
	cmpq	%rsi, %rbx
	sete	%r11b
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movzbl	(%rsi), %ecx
	movq	%r13, %rdi
	shrq	%cl, %rdi
	testq	%rdi, %rdi
	movq	%rsi, %rdi
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incl	%ecx
	xorl	%r13d, %r13d
	cmpl	8(%rdi), %ecx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	jge	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	subq	%rax, %r15
	jne	LBB0_24
LBB0_25:
	xorl	%eax, %eax
	jmp	LBB0_17
	.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
	ldr	x9, [x0]
	cmp	x9, x2
	b.lo	LBB0_16
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	add	x8, x3, x2
	cmp	x8, x9
	b.hi	LBB0_16
; %bb.2:
	mov	x19, x4
	mov	x22, x1
	ldr	x26, [x0, #16]
	ldr	w9, [x0, #8]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x11, #0
	mov	x10, x26
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	cmp	x12, x21
	b.hi	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x11, #1
	add	x10, x10, #16
	cmp	x9, x11
	b.ne	LBB0_4
; %bb.6:
	mov	x11, x9
	b	LBB0_9
LBB0_7:
	mov	w11, #0
	b	LBB0_9
LBB0_8:
                                        ; kill: def $w11 killed $w11 killed $x11 def $x11
LBB0_9:
	sxtw	x10, w11
	sub	x27, x10, #1
	add	x10, x26, x27, lsl #4
	ldrsw	x24, [x10, #8]
	sub	x10, x24, #1
	tst	x10, x21
	b.ne	LBB0_16
; %bb.10:
	mov	x10, x27
	cmp	w11, w9
	b.gt	LBB0_15
; %bb.11:
	mov	x10, x9
	sxtw	x13, w10
	sub	w10, w11, #1
	add	x12, x26, w11, sxtw #4
	sub	x12, x12, #16
	sub	x11, x13, w11, sxtw
	add	x11, x11, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12]
	cmp	x8, x13
	b.lo	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	w10, w10, #1
	add	x12, x12, #16
	subs	x11, x11, #1
	b.ne	LBB0_12
; %bb.14:
	mov	x10, x9
LBB0_15:
	add	x9, x26, w10, sxtw #4
	ldursw	x9, [x9, #-8]
	sub	x9, x9, #1
	tst	x8, x9
	b.eq	LBB0_18
LBB0_16:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	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_18:
	cbz	x20, LBB0_26
; %bb.19:
	ldr	x0, [x0, #24]
	ldr	x28, [x0]
	ldr	x8, [x28]
	lsr	x23, x21, x8
	lsl	w8, w23, w8
	sub	x25, x21, w8, sxtw
	ldr	x8, [x28, #16]
	lsl	x9, x23, #32
	add	x1, x8, x9, asr #30
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x2, x25
	mov	x3, x24
	mov	x4, x19
	blr	x22
	cbnz	w0, LBB0_17
; %bb.20:
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x8, w24
	add	x25, x25, x8
	add	x9, x26, w27, sxtw #4
	ldr	x10, [x9]
	ldrsw	x9, [x9, #12]
	madd	x9, x9, x8, x10
	add	x21, x21, x8
	cmp	x21, x9
	cinc	w27, w27, eq
	ldr	x9, [x28]
	lsr	x9, x25, x9
	cbz	x9, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	w23, w23, #1
	ldr	w9, [x28, #8]
	cmp	w23, w9
	b.ge	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x25, #0
LBB0_24:                                ;   in Loop: Header=BB0_21 Depth=1
	sub	x20, x20, x8
	cbz	x20, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x8, x26, w27, sxtw #4
	ldr	w24, [x8, #8]
	ldr	x8, [x28, #16]
	add	x1, x8, w23, sxtw #2
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x25
	mov	x3, x24
	mov	x4, x19
	blr	x22
	cbz	w0, LBB0_21
	b	LBB0_17
LBB0_26:
	mov	w0, #0
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
