	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidc_audio_open
_vidc_audio_open:                       ## @vidc_audio_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_OPEN_READ@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movq	_vidc_busy@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	movl	$1, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPEN_READ,4,2                  ## @OPEN_READ
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_vidc_busy,4,2                  ## @vidc_busy
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_vidc_audio_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidc_audio_open
_vidc_audio_open:                       ; @vidc_audio_open
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _OPEN_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPEN_READ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EPERM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x8, _vidc_busy@GOTPAGE
Lloh6:
	ldr	x8, [x8, _vidc_busy@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_5
; %bb.3:
Lloh7:
	adrp	x8, _EBUSY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
	mov	w0, #0
	mov	w9, #1
	str	w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OPEN_READ,4,2                  ; @OPEN_READ
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_vidc_busy,4,2                  ; @vidc_busy
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_vidc_audio_open
.subsections_via_symbols
