	.file	"extr_pcm_native.c_snd_pcm_hw_rule_format.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_pcm_hw_rule_format, @function
snd_pcm_hw_rule_format:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rsi]
	lea	r13, 4[rsp]
	mov	esi, DWORD PTR [rax]
	call	hw_param_interval@PLT
	mov	esi, DWORD PTR SNDRV_PCM_HW_PARAM_FORMAT[rip]
	mov	rdi, rbp
	mov	r12, rax
	call	hw_param_mask@PLT
	mov	rdi, r13
	mov	rbp, rax
	call	snd_mask_any@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, ebx
	mov	rdi, rbp
	call	snd_mask_test@PLT
	test	eax, eax
	je	.L3
	mov	edi, ebx
	call	snd_pcm_format_physical_width@PLT
	test	eax, eax
	jle	.L3
	cmp	DWORD PTR [r12], eax
	ja	.L5
	cmp	eax, DWORD PTR 4[r12]
	jbe	.L3
.L5:
	mov	esi, ebx
	mov	rdi, r13
	call	snd_mask_reset@PLT
.L3:
	add	ebx, 1
	cmp	DWORD PTR SNDRV_PCM_FORMAT_LAST[rip], ebx
	jnb	.L6
	mov	rsi, r13
	mov	rdi, rbp
	call	snd_mask_refine@PLT
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	snd_pcm_hw_rule_format, .-snd_pcm_hw_rule_format
	.comm	SNDRV_PCM_HW_PARAM_FORMAT,4,4
	.comm	SNDRV_PCM_FORMAT_LAST,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_hw_rule_format.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_pcm_hw_rule_format, %function
snd_pcm_hw_rule_format:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, [r1]
	sub	sp, sp, #12
	ldr	r1, [r3]
	ldr	r3, .L12
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	hw_param_interval
	ldr	r3, .L12+4
	mov	r7, r0
	ldr	r1, [r3]
	mov	r0, r4
	bl	hw_param_mask
	mov	r5, r0
	mov	r0, sp
	mov	r4, #0
	bl	snd_mask_any
	ldr	r6, .L12+8
.L6:
	mov	r1, r4
	mov	r0, r5
	bl	snd_mask_test
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	bl	snd_pcm_format_physical_width
	cmp	r0, #0
	ble	.L3
	ldr	r3, [r7]
	cmp	r3, r0
	bhi	.L5
	ldr	r3, [r7, #4]
	cmp	r0, r3
	bls	.L3
.L5:
	mov	r1, r4
	mov	r0, sp
	bl	snd_mask_reset
.L3:
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bcs	.L6
	mov	r1, sp
	mov	r0, r5
	bl	snd_mask_refine
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	SNDRV_PCM_HW_PARAM_FORMAT
	.word	SNDRV_PCM_FORMAT_LAST
	.size	snd_pcm_hw_rule_format, .-snd_pcm_hw_rule_format
	.comm	SNDRV_PCM_HW_PARAM_FORMAT,4,4
	.comm	SNDRV_PCM_FORMAT_LAST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
