	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_hw_params_choose       ## -- Begin function snd_pcm_hw_params_choose
	.p2align	4, 0x90
_snd_pcm_hw_params_choose:              ## @snd_pcm_hw_params_choose
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	_snd_pcm_hw_params_choose.vars(%rip), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$134, %edx
	xorl	%ecx, %ecx
	callq	_snd_pcm_hw_param_last
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r12d
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_snd_BUG_ON
	addq	$4, %rbx
	testq	%rax, %rax
	jne	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	cmpl	$134, %edx
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %edx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_snd_pcm_hw_param_first
	jmp	LBB0_6
LBB0_3:
	xorl	%r12d, %r12d
LBB0_7:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @snd_pcm_hw_params_choose.vars
_snd_pcm_hw_params_choose.vars:
	.long	135                             ## 0x87
	.long	132                             ## 0x84
	.long	129                             ## 0x81
	.long	133                             ## 0x85
	.long	130                             ## 0x82
	.long	131                             ## 0x83
	.long	134                             ## 0x86
	.long	128                             ## 0x80
	.long	4294967295                      ## 0xffffffff

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_hw_params_choose       ; -- Begin function snd_pcm_hw_params_choose
	.p2align	2
_snd_pcm_hw_params_choose:              ; @snd_pcm_hw_params_choose
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _snd_pcm_hw_params_choose.vars@PAGE
Lloh1:
	add	x22, x22, _snd_pcm_hw_params_choose.vars@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x3, #0
	bl	_snd_pcm_hw_param_last
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	lsr	w0, w0, #31
	bl	_snd_BUG_ON
	add	x22, x22, #4
	cbnz	x0, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x22]
	cmp	w2, #134
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmn	w2, #1
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x3, #0
	bl	_snd_pcm_hw_param_first
	b	LBB0_2
LBB0_6:
	mov	w21, #0
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @snd_pcm_hw_params_choose.vars
_snd_pcm_hw_params_choose.vars:
	.long	135                             ; 0x87
	.long	132                             ; 0x84
	.long	129                             ; 0x81
	.long	133                             ; 0x85
	.long	130                             ; 0x82
	.long	131                             ; 0x83
	.long	134                             ; 0x86
	.long	128                             ; 0x80
	.long	4294967295                      ; 0xffffffff

.subsections_via_symbols
