	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function capture_pcm_trigger
_capture_pcm_trigger:                   ## @capture_pcm_trigger
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_6
## %bb.2:
	movq	_USB_CAPTURE_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_ALSA_CAPTURE_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
	movq	_ALSA_CAPTURE_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_7:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_CAPTURE_RUNNING,4,2        ## @USB_CAPTURE_RUNNING
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ALSA_CAPTURE_RUNNING,4,2       ## @ALSA_CAPTURE_RUNNING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_capture_pcm_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function capture_pcm_trigger
_capture_pcm_trigger:                   ; @capture_pcm_trigger
	.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
	ldr	x19, [x0]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _USB_CAPTURE_RUNNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_CAPTURE_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _ALSA_CAPTURE_RUNNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALSA_CAPTURE_RUNNING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	mov	w0, #0
	b	LBB0_8
LBB0_4:
Lloh6:
	adrp	x8, _ALSA_CAPTURE_RUNNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALSA_CAPTURE_RUNNING@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_CAPTURE_RUNNING,4,2        ; @USB_CAPTURE_RUNNING
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ALSA_CAPTURE_RUNNING,4,2       ; @ALSA_CAPTURE_RUNNING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_capture_pcm_trigger
.subsections_via_symbols
