	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ca0106_pcm_trigger_capture
_snd_ca0106_pcm_trigger_capture:        ## @snd_ca0106_pcm_trigger_capture
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	%rax, %r12
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %r15d
	cmpl	$128, %r14d
	je	LBB0_3
## %bb.1:
	cmpl	$129, %r14d
	jne	LBB0_4
## %bb.2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_EXTENDED_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_snd_ca0106_ptr_read
	movl	$1114112, %ebx                  ## imm = 0x110000
	movl	%r15d, %ecx
	shll	%cl, %ebx
	orl	%eax, %ebx
	movq	%r12, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_snd_ca0106_ptr_write
	movq	_BASIC_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_snd_ca0106_ptr_read
	movl	$256, %ebx                      ## imm = 0x100
	movl	%r15d, %ecx
	shll	%cl, %ebx
	orl	%eax, %ebx
	movq	%r12, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_snd_ca0106_ptr_write
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 4(%rax)
	jmp	LBB0_5
LBB0_3:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_BASIC_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_snd_ca0106_ptr_read
	movl	$256, %ebx                      ## imm = 0x100
	movl	%r15d, %ecx
	shll	%cl, %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	%r12, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_snd_ca0106_ptr_write
	movq	_EXTENDED_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_snd_ca0106_ptr_read
	movl	$1114112, %ebx                  ## imm = 0x110000
	movl	%r15d, %ecx
	shll	%cl, %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	%r12, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_snd_ca0106_ptr_write
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, 4(%rax)
	jmp	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXTENDED_INT_MASK,4,2          ## @EXTENDED_INT_MASK
	.comm	_BASIC_INTERRUPT,4,2            ## @BASIC_INTERRUPT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_snd_ca0106_pcm_trigger_capture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ca0106_pcm_trigger_capture
_snd_ca0106_pcm_trigger_capture:        ; @snd_ca0106_pcm_trigger_capture
	.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, x1
	mov	x21, x0
	bl	_snd_pcm_substream_chip
	mov	x19, x0
	ldr	x8, [x21]
	ldr	x21, [x8]
	ldr	w22, [x21]
	cmp	w20, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #129
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _EXTENDED_INT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXTENDED_INT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_snd_ca0106_ptr_read
	mov	w8, #1114112
	lsl	w8, w8, w22
	orr	w3, w0, w8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_snd_ca0106_ptr_write
Lloh3:
	adrp	x8, _BASIC_INTERRUPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BASIC_INTERRUPT@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_snd_ca0106_ptr_read
	mov	w8, #256
	lsl	w8, w8, w22
	orr	w3, w0, w8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_snd_ca0106_ptr_write
	mov	w0, #0
	mov	w8, #1
	str	w8, [x21, #4]
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _BASIC_INTERRUPT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BASIC_INTERRUPT@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_snd_ca0106_ptr_read
	mov	w8, #256
	lsl	w8, w8, w22
	bic	w3, w0, w8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_snd_ca0106_ptr_write
Lloh9:
	adrp	x8, _EXTENDED_INT_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EXTENDED_INT_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_snd_ca0106_ptr_read
	mov	w8, #1114112
	lsl	w8, w8, w22
	bic	w3, w0, w8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_snd_ca0106_ptr_write
	mov	w0, #0
	str	wzr, [x21, #4]
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EXTENDED_INT_MASK,4,2          ; @EXTENDED_INT_MASK
	.comm	_BASIC_INTERRUPT,4,2            ; @BASIC_INTERRUPT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_snd_ca0106_pcm_trigger_capture
.subsections_via_symbols
