	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_hdsp_get_autosync_sample_rate
_snd_hdsp_get_autosync_sample_rate:     ## @snd_hdsp_get_autosync_sample_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %rdi
	callq	_hdsp_external_sample_rate
	cmpl	$88199, %eax                    ## imm = 0x15887
	jle	LBB0_1
## %bb.8:
	cmpl	$127999, %eax                   ## imm = 0x1F3FF
	jle	LBB0_9
## %bb.12:
	cmpl	$128000, %eax                   ## imm = 0x1F400
	je	LBB0_18
## %bb.13:
	cmpl	$176400, %eax                   ## imm = 0x2B110
	je	LBB0_19
## %bb.14:
	cmpl	$192000, %eax                   ## imm = 0x2EE00
	jne	LBB0_20
## %bb.15:
	movl	$9, %ecx
	jmp	LBB0_21
LBB0_1:
	cmpl	$47999, %eax                    ## imm = 0xBB7F
	jg	LBB0_5
## %bb.2:
	xorl	%ecx, %ecx
	cmpl	$32000, %eax                    ## imm = 0x7D00
	je	LBB0_21
## %bb.3:
	cmpl	$44100, %eax                    ## imm = 0xAC44
	jne	LBB0_20
## %bb.4:
	movl	$1, %ecx
	jmp	LBB0_21
LBB0_9:
	cmpl	$88200, %eax                    ## imm = 0x15888
	je	LBB0_17
## %bb.10:
	cmpl	$96000, %eax                    ## imm = 0x17700
	jne	LBB0_20
## %bb.11:
	movl	$5, %ecx
	jmp	LBB0_21
LBB0_5:
	cmpl	$48000, %eax                    ## imm = 0xBB80
	je	LBB0_16
## %bb.6:
	cmpl	$64000, %eax                    ## imm = 0xFA00
	jne	LBB0_20
## %bb.7:
	movl	$3, %ecx
	jmp	LBB0_21
LBB0_18:
	movl	$7, %ecx
	jmp	LBB0_21
LBB0_19:
	movl	$8, %ecx
	jmp	LBB0_21
LBB0_17:
	movl	$4, %ecx
	jmp	LBB0_21
LBB0_16:
	movl	$2, %ecx
	jmp	LBB0_21
LBB0_20:
	movl	$6, %ecx
LBB0_21:
	movq	(%rbx), %rax
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_hdsp_get_autosync_sample_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_hdsp_get_autosync_sample_rate
_snd_hdsp_get_autosync_sample_rate:     ; @snd_hdsp_get_autosync_sample_rate
	.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
	mov	x19, x1
	bl	_snd_kcontrol_chip
	bl	_hdsp_external_sample_rate
	mov	w8, #22663
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.le	LBB0_6
; %bb.1:
	mov	w8, #62463
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.le	LBB0_10
; %bb.2:
	mov	w8, #62464
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.eq	LBB0_16
; %bb.3:
	mov	w8, #45328
	movk	w8, #2, lsl #16
	cmp	w0, w8
	b.eq	LBB0_17
; %bb.4:
	mov	w8, #60928
	movk	w8, #2, lsl #16
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.5:
	mov	w8, #9
	b	LBB0_22
LBB0_6:
	mov	w8, #47999
	cmp	w0, w8
	b.gt	LBB0_13
; %bb.7:
	mov	w8, #32000
	cmp	w0, w8
	b.eq	LBB0_18
; %bb.8:
	mov	w8, #44100
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.9:
	mov	w8, #1
	b	LBB0_22
LBB0_10:
	mov	w8, #22664
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.eq	LBB0_19
; %bb.11:
	mov	w8, #30464
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.12:
	mov	w8, #5
	b	LBB0_22
LBB0_13:
	mov	w8, #48000
	cmp	w0, w8
	b.eq	LBB0_20
; %bb.14:
	mov	w8, #64000
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.15:
	mov	w8, #3
	b	LBB0_22
LBB0_16:
	mov	w8, #7
	b	LBB0_22
LBB0_17:
	mov	w8, #8
	b	LBB0_22
LBB0_18:
	mov	w8, #0
	b	LBB0_22
LBB0_19:
	mov	w8, #4
	b	LBB0_22
LBB0_20:
	mov	w8, #2
	b	LBB0_22
LBB0_21:
	mov	w8, #6
LBB0_22:
	ldr	x9, [x19]
	str	w8, [x9]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_hdsp_get_autosync_sample_rate
.subsections_via_symbols
