	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pmac_rate_index            ## -- Begin function snd_pmac_rate_index
	.p2align	4, 0x90
_snd_pmac_rate_index:                   ## @snd_pmac_rate_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r8
	xorl	%eax, %eax
	cmpl	%edx, (%r8)
	jb	LBB0_8
## %bb.1:
	movl	8(%rdi), %edi
	testl	%edi, %edi
	jle	LBB0_8
## %bb.2:
	movl	(%rsi), %ecx
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rsi
	sarl	%ecx
	cmpq	%rsi, %rdi
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testb	$1, %cl
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%edx, (%r8,%rsi,4)
	jbe	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %eax
	jmp	LBB0_6
LBB0_7:
	movl	%esi, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pmac_rate_index            ; -- Begin function snd_pmac_rate_index
	.p2align	2
_snd_pmac_rate_index:                   ; @snd_pmac_rate_index
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, w2
	b.lo	LBB0_7
; %bb.1:
	ldr	w9, [x0, #8]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x10, #0
	mov	w0, #0
	ldr	w11, [x1]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	asr	w11, w11, #1
	cmp	x9, x10
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	tbz	w11, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x8, x10, lsl #2]
	cmp	w12, w2
	b.ls	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x10
	b	LBB0_3
LBB0_7:
	mov	w0, #0
	ret
LBB0_8:
	mov	x0, x10
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
