	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delta_setup_frame
_delta_setup_frame:                     ## @delta_setup_frame
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rdx
	movq	(%rsi), %rax
	movq	_DELTA_MAX_FRAMES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	cmpq	%r8, %rax
	jae	LBB0_1
## %bb.2:
	movq	(%rbx), %rcx
	cmpq	%r8, %rcx
	jae	LBB0_3
## %bb.5:
	movq	%rsi, %r14
	movq	24(%rbx), %r15
	cmpq	%rcx, %rax
	je	LBB0_7
## %bb.6:
	movl	(%rdx), %edi
	movl	16(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %r8
	callq	_dev_warn
	movq	(%rbx), %rax
LBB0_7:
	movq	_DELTA_FRAME_FREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	movq	8(%rbx), %rcx
	movq	%r14, (%rcx,%rax,8)
	incq	%rax
	movq	%rax, (%rbx)
	movq	_setup_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_call_dec_op                    ## TAILCALL
LBB0_1:
	movl	(%rdx), %edi
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rcx
	jmp	LBB0_4
LBB0_3:
	movl	(%rdx), %edi
	movl	16(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DELTA_MAX_FRAMES,8,3           ## @DELTA_MAX_FRAMES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s frame index=%d exceeds output frame count (%d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"%s number of frames exceeds output frame count (%d > %d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s frame index discontinuity detected, expected %d, got %d\n"

	.comm	_DELTA_FRAME_FREE,4,2           ## @DELTA_FRAME_FREE
	.comm	_setup_frame,4,2                ## @setup_frame
	.no_dead_strip	_delta_setup_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delta_setup_frame
_delta_setup_frame:                     ; @delta_setup_frame
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x9, [x0, #32]
	ldr	x8, [x1]
Lloh0:
	adrp	x10, _DELTA_MAX_FRAMES@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DELTA_MAX_FRAMES@GOTPAGEOFF]
Lloh2:
	ldr	x4, [x10]
	cmp	x8, x4
	b.hs	LBB0_5
; %bb.1:
	ldr	x3, [x19]
	cmp	x3, x4
	b.hs	LBB0_6
; %bb.2:
	mov	x20, x1
	ldr	x21, [x19, #24]
	cmp	x8, x3
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x9]
	ldr	w2, [x19, #16]
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x4, x8
	bl	_dev_warn
	ldr	x8, [x19]
LBB0_4:
Lloh5:
	adrp	x9, _DELTA_FRAME_FREE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DELTA_FRAME_FREE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x20, #8]
	ldr	x9, [x19, #8]
	str	x20, [x9, x8, lsl #3]
	add	x8, x8, #1
Lloh8:
	adrp	x9, _setup_frame@GOTPAGE
Lloh9:
	ldr	x9, [x9, _setup_frame@GOTPAGEOFF]
	str	x8, [x19]
Lloh10:
	ldr	w1, [x9]
	mov	x0, x21
	mov	x2, x19
	mov	x3, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_call_dec_op
LBB0_5:
	ldr	w0, [x9]
	ldr	w2, [x19, #16]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x8
	b	LBB0_7
LBB0_6:
	ldr	w0, [x9]
	ldr	w2, [x19, #16]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	bl	_dev_err
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_DELTA_MAX_FRAMES,8,3           ; @DELTA_MAX_FRAMES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s frame index=%d exceeds output frame count (%d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"%s number of frames exceeds output frame count (%d > %d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s frame index discontinuity detected, expected %d, got %d\n"

	.comm	_DELTA_FRAME_FREE,4,2           ; @DELTA_FRAME_FREE
	.comm	_setup_frame,4,2                ; @setup_frame
	.no_dead_strip	_delta_setup_frame
.subsections_via_symbols
