	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sru_enum_frame_size
_sru_enum_frame_size:                   ## @sru_enum_frame_size
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_to_sru
	movq	%rax, %r15
	movl	40(%r14), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_vsp1_entity_get_pad_config
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_SRU_PAD_SINK@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_vsp1_entity_get_pad_format
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_mutex_lock
	cmpq	$0, 32(%r14)
	jne	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_4
## %bb.5:
	movq	8(%r14), %rax
	cmpq	(%r12), %rax
	jne	LBB0_7
## %bb.6:
	movq	_SRU_MIN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_SRU_MAX_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%r14)
	movl	%eax, 24(%r14)
	movl	%ecx, 28(%r14)
	jmp	LBB0_12
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movq	%r15, %rdi
	callq	_mutex_unlock
	jmp	LBB0_14
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	8(%rbx), %ecx
	movl	%ecx, 16(%r14)
	movl	12(%rbx), %eax
	movl	%eax, 24(%r14)
	movq	_SRU_MAX_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	%esi, %edx
	shrl	$31, %edx
	addl	%esi, %edx
	sarl	%edx
	cmpl	%edx, %ecx
	jg	LBB0_10
## %bb.8:
	cmpl	%edx, %eax
	jg	LBB0_10
## %bb.9:
	addl	%ecx, %ecx
	movl	%ecx, 20(%r14)
	addl	%eax, %eax
	jmp	LBB0_11
LBB0_10:
	movl	%ecx, 20(%r14)
LBB0_11:
	movl	%eax, 28(%r14)
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SRU_PAD_SINK,8,3               ## @SRU_PAD_SINK
	.comm	_SRU_MIN_SIZE,8,3               ## @SRU_MIN_SIZE
	.comm	_SRU_MAX_SIZE,4,2               ## @SRU_MAX_SIZE
	.no_dead_strip	_sru_enum_frame_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sru_enum_frame_size
_sru_enum_frame_size:                   ; @sru_enum_frame_size
	.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	x20, x2
	mov	x21, x1
	bl	_to_sru
	mov	x19, x0
	ldr	w2, [x20, #40]
	mov	x1, x21
	bl	_vsp1_entity_get_pad_config
	cbz	x0, LBB0_7
; %bb.1:
	mov	x1, x0
Lloh0:
	adrp	x22, _SRU_PAD_SINK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SRU_PAD_SINK@GOTPAGEOFF]
	ldr	x2, [x22]
	mov	x0, x19
	bl	_vsp1_entity_get_pad_format
	mov	x21, x0
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.4:
	mov	w21, #0
Lloh2:
	adrp	x8, _SRU_MIN_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SRU_MIN_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _SRU_MAX_SIZE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SRU_MAX_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	stp	w8, w9, [x20, #16]
	stp	w8, w9, [x20, #24]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_8:
	mov	x0, x21
	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
LBB0_9:
	ldp	w9, w8, [x21, #8]
	str	w9, [x20, #16]
	str	w8, [x20, #24]
Lloh14:
	adrp	x10, _SRU_MAX_SIZE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _SRU_MAX_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	cmp	w9, w10
	mov	w21, #0
	ccmp	w8, w10, #0, le
	b.le	LBB0_11
; %bb.10:
	str	w9, [x20, #20]
	b	LBB0_12
LBB0_11:
	lsl	w9, w9, #1
	str	w9, [x20, #20]
	lsl	w8, w8, #1
LBB0_12:
	str	w8, [x20, #28]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SRU_PAD_SINK,8,3               ; @SRU_PAD_SINK
	.comm	_SRU_MIN_SIZE,8,3               ; @SRU_MIN_SIZE
	.comm	_SRU_MAX_SIZE,4,2               ; @SRU_MAX_SIZE
	.no_dead_strip	_sru_enum_frame_size
.subsections_via_symbols
