	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function as102_start_stream
_as102_start_stream:                    ## @as102_start_stream
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_EFAULT@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	subl	(%r14), %eax
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	*%rcx
LBB0_3:
	movq	_ts_auto_disable@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	callq	_mutex_lock_interruptible
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	subl	(%r14), %eax
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_as10x_cmd_start_streaming
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_ts_auto_disable,8,3            ## @ts_auto_disable
	.no_dead_strip	_as102_start_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function as102_start_stream
_as102_start_stream:                    ; @as102_start_stream
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _EFAULT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EFAULT@GOTPAGEOFF]
	ldr	w8, [x20]
	neg	w0, w8
	cbz	x19, LBB0_7
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	blr	x8
LBB0_3:
Lloh2:
	adrp	x8, _ts_auto_disable@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ts_auto_disable@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_mutex_lock_interruptible
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x20]
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_as10x_cmd_start_streaming
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_ts_auto_disable,8,3            ; @ts_auto_disable
	.no_dead_strip	_as102_start_stream
.subsections_via_symbols
