	.file	"extr_pcm_native.c_snd_pcm_file_fd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_pcm_file_fd, @function
snd_pcm_file_fd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	fget@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR [rax]
	mov	rbp, QWORD PTR [rax]
	mov	edi, DWORD PTR 0[rbp]
	call	S_ISCHR@PLT
	test	eax, eax
	je	.L9
	mov	rdi, rbp
	call	imajor@PLT
	cmp	rax, QWORD PTR snd_major[rip]
	jne	.L9
	mov	rdi, rbp
	call	iminor@PLT
	mov	esi, DWORD PTR SNDRV_DEVICE_TYPE_PCM_PLAYBACK[rip]
	mov	edi, eax
	mov	ebp, eax
	call	snd_lookup_minor_data@PLT
	test	eax, eax
	je	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR SNDRV_DEVICE_TYPE_PCM_CAPTURE[rip]
	mov	edi, ebp
	call	snd_lookup_minor_data@PLT
	test	eax, eax
	jne	.L1
.L9:
	mov	rdi, r12
	xor	r12d, r12d
	call	fput@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	snd_pcm_file_fd, .-snd_pcm_file_fd
	.comm	snd_major,8,8
	.comm	SNDRV_DEVICE_TYPE_PCM_PLAYBACK,4,4
	.comm	SNDRV_DEVICE_TYPE_PCM_CAPTURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pcm_native.c_snd_pcm_file_fd.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_pcm_file_fd, %function
snd_pcm_file_fd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	fget
	subs	r4, r0, #0
	beq	.L1
	ldr	r3, [r4]
	ldr	r5, [r3]
	ldr	r0, [r5]
	bl	S_ISCHR
	cmp	r0, #0
	beq	.L4
	mov	r0, r5
	bl	imajor
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L4
	mov	r0, r5
	bl	iminor
	ldr	r3, .L11+4
	mov	r5, r0
	ldr	r1, [r3]
	bl	snd_lookup_minor_data
	cmp	r0, #0
	beq	.L10
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L4:
	mov	r0, r4
	mov	r4, #0
	bl	fput
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r3, .L11+8
	mov	r0, r5
	ldr	r1, [r3]
	bl	snd_lookup_minor_data
	subs	r5, r0, #0
	bne	.L1
	mov	r0, r4
	bl	fput
	mov	r4, r5
	b	.L1
.L12:
	.align	2
.L11:
	.word	snd_major
	.word	SNDRV_DEVICE_TYPE_PCM_PLAYBACK
	.word	SNDRV_DEVICE_TYPE_PCM_CAPTURE
	.size	snd_pcm_file_fd, .-snd_pcm_file_fd
	.comm	snd_major,4,4
	.comm	SNDRV_DEVICE_TYPE_PCM_PLAYBACK,4,4
	.comm	SNDRV_DEVICE_TYPE_PCM_CAPTURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
