	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si4713_read_econtrol_integers
_si4713_read_econtrol_integers:         ## @si4713_read_econtrol_integers
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -40(%rbp)
	movl	$0, -28(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
	movq	$0, -64(%rbp)
	movl	$0, -44(%rbp)
	movq	(%rsi), %rsi
	subq	$8, %rsp
	leaq	-44(%rbp), %rax
	leaq	-64(%rbp), %rbx
	leaq	-48(%rbp), %r10
	leaq	-40(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	leaq	-72(%rbp), %r8
	leaq	-52(%rbp), %r9
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_si4713_choose_econtrol_action
	addq	$32, %rsp
	movq	%rax, %rbx
	testq	%rax, %rax
	js	LBB0_14
## %bb.1:
	movq	%r15, %rdi
	callq	_mutex_lock
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.3:
	movl	-52(%rbp), %esi
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	callq	_si4713_read_property
	movq	%rax, %rbx
	testq	%rax, %rax
	js	LBB0_13
## %bb.4:
	movq	(%r14), %rax
	movq	_V4L2_CID_AUDIO_COMPRESSION_THRESHOLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movl	-28(%rbp), %eax
	jmp	LBB0_11
LBB0_2:
	movq	-40(%rbp), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_6:
	movq	-72(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	movl	-28(%rbp), %edi
	movq	-80(%rbp), %rsi
	callq	_get_status_bit
	jmp	LBB0_11
LBB0_8:
	movl	-48(%rbp), %ecx
	movl	-28(%rbp), %eax
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.9:
	imull	%ecx, %eax
	jmp	LBB0_11
LBB0_10:
	movq	-64(%rbp), %rsi
	movl	-44(%rbp), %edx
	movl	%eax, %edi
	callq	_dev_to_usecs
LBB0_11:
	movq	-40(%rbp), %rcx
	movl	%eax, (%rcx)
LBB0_12:
	movl	%eax, 8(%r14)
LBB0_13:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_14:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CID_AUDIO_COMPRESSION_THRESHOLD,8,3 ## @V4L2_CID_AUDIO_COMPRESSION_THRESHOLD
	.no_dead_strip	_si4713_read_econtrol_integers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si4713_read_econtrol_integers
_si4713_read_econtrol_integers:         ; @si4713_read_econtrol_integers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x1
	mov	x19, x0
	stur	xzr, [x29, #-40]
	stur	wzr, [x29, #-44]
	stp	xzr, xzr, [sp, #32]
	stp	xzr, xzr, [sp, #16]
	str	wzr, [sp, #12]
	ldr	x1, [x1]
	add	x8, sp, #12
	str	x8, [sp]
	sub	x2, x29, #40
	add	x3, sp, #40
	add	x4, sp, #32
	add	x5, sp, #28
	add	x6, sp, #24
	add	x7, sp, #16
	bl	_si4713_choose_econtrol_action
	mov	x21, x0
	tbnz	x0, #63, LBB0_14
; %bb.1:
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	w1, [sp, #28]
	sub	x2, x29, #44
	mov	x0, x19
	bl	_si4713_read_property
	mov	x21, x0
	tbnz	x0, #63, LBB0_13
; %bb.3:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _V4L2_CID_AUDIO_COMPRESSION_THRESHOLD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_CID_AUDIO_COMPRESSION_THRESHOLD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldur	w0, [x29, #-44]
	b	LBB0_11
LBB0_5:
	ldur	x8, [x29, #-40]
	ldr	w0, [x8]
	b	LBB0_12
LBB0_6:
	ldr	x2, [sp, #32]
	cbz	x2, LBB0_8
; %bb.7:
	ldur	w0, [x29, #-44]
	ldr	x1, [sp, #40]
	bl	_get_status_bit
	b	LBB0_11
LBB0_8:
	ldr	w8, [sp, #24]
	ldur	w0, [x29, #-44]
	cbz	w8, LBB0_10
; %bb.9:
	mul	w0, w0, w8
	b	LBB0_11
LBB0_10:
	ldr	x1, [sp, #16]
	ldr	w2, [sp, #12]
	bl	_dev_to_usecs
LBB0_11:
	ldur	x8, [x29, #-40]
	str	w0, [x8]
LBB0_12:
	str	w0, [x20, #8]
LBB0_13:
	mov	x0, x19
	bl	_mutex_unlock
LBB0_14:
	mov	x0, x21
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CID_AUDIO_COMPRESSION_THRESHOLD,8,3 ; @V4L2_CID_AUDIO_COMPRESSION_THRESHOLD
	.no_dead_strip	_si4713_read_econtrol_integers
.subsections_via_symbols
