	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_file_fd
_snd_pcm_file_fd:                       ## @snd_pcm_file_fd
	.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
	callq	_fget
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	(%rax), %r14
	movl	(%r14), %edi
	callq	_S_ISCHR
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_imajor
	movq	_snd_major@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_iminor
	movl	%eax, %r14d
	movq	_SNDRV_DEVICE_TYPE_PCM_PLAYBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_snd_lookup_minor_data
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	_SNDRV_DEVICE_TYPE_PCM_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_snd_lookup_minor_data
	testl	%eax, %eax
	jne	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	callq	_fput
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_major,8,3                  ## @snd_major
	.comm	_SNDRV_DEVICE_TYPE_PCM_PLAYBACK,4,2 ## @SNDRV_DEVICE_TYPE_PCM_PLAYBACK
	.comm	_SNDRV_DEVICE_TYPE_PCM_CAPTURE,4,2 ## @SNDRV_DEVICE_TYPE_PCM_CAPTURE
	.no_dead_strip	_snd_pcm_file_fd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pcm_file_fd
_snd_pcm_file_fd:                       ; @snd_pcm_file_fd
	.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
	bl	_fget
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19]
	ldr	x20, [x8]
	ldr	w0, [x20]
	bl	_S_ISCHR
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_imajor
Lloh0:
	adrp	x8, _snd_major@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snd_major@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_iminor
	mov	x20, x0
Lloh3:
	adrp	x8, _SNDRV_DEVICE_TYPE_PCM_PLAYBACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_DEVICE_TYPE_PCM_PLAYBACK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_snd_lookup_minor_data
	cbnz	w0, LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _SNDRV_DEVICE_TYPE_PCM_CAPTURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_DEVICE_TYPE_PCM_CAPTURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_snd_lookup_minor_data
	cbnz	w0, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_fput
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_major,8,3                  ; @snd_major
	.comm	_SNDRV_DEVICE_TYPE_PCM_PLAYBACK,4,2 ; @SNDRV_DEVICE_TYPE_PCM_PLAYBACK
	.comm	_SNDRV_DEVICE_TYPE_PCM_CAPTURE,4,2 ; @SNDRV_DEVICE_TYPE_PCM_CAPTURE
	.no_dead_strip	_snd_pcm_file_fd
.subsections_via_symbols
