	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdsp_clock_source
_hdsp_clock_source:                     ## @hdsp_clock_source
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HDSP_ClockModeMaster@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movl	4(%rdi), %ecx
	cmpl	$88199, %ecx                    ## imm = 0x15887
	jle	LBB0_3
## %bb.10:
	cmpl	$127999, %ecx                   ## imm = 0x1F3FF
	jle	LBB0_11
## %bb.14:
	cmpl	$128000, %ecx                   ## imm = 0x1F400
	je	LBB0_19
## %bb.15:
	cmpl	$176400, %ecx                   ## imm = 0x2B110
	je	LBB0_20
## %bb.16:
	cmpl	$192000, %ecx                   ## imm = 0x2EE00
	jne	LBB0_21
## %bb.17:
	movl	$9, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	cmpl	$47999, %ecx                    ## imm = 0xBB7F
	jg	LBB0_7
## %bb.4:
	movl	$1, %eax
	cmpl	$32000, %ecx                    ## imm = 0x7D00
	je	LBB0_22
## %bb.5:
	cmpl	$44100, %ecx                    ## imm = 0xAC44
	jne	LBB0_21
## %bb.6:
	movl	$2, %eax
	popq	%rbp
	retq
LBB0_11:
	cmpl	$88200, %ecx                    ## imm = 0x15888
	je	LBB0_18
## %bb.12:
	cmpl	$96000, %ecx                    ## imm = 0x17700
	jne	LBB0_21
## %bb.13:
	movl	$6, %eax
	popq	%rbp
	retq
LBB0_7:
	cmpl	$48000, %ecx                    ## imm = 0xBB80
	je	LBB0_21
## %bb.8:
	cmpl	$64000, %ecx                    ## imm = 0xFA00
	jne	LBB0_21
## %bb.9:
	movl	$4, %eax
	popq	%rbp
	retq
LBB0_21:
	movl	$3, %eax
LBB0_22:
	popq	%rbp
	retq
LBB0_19:
	movl	$7, %eax
	popq	%rbp
	retq
LBB0_20:
	movl	$8, %eax
	popq	%rbp
	retq
LBB0_18:
	movl	$5, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDSP_ClockModeMaster,4,2       ## @HDSP_ClockModeMaster
	.no_dead_strip	_hdsp_clock_source
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdsp_clock_source
_hdsp_clock_source:                     ; @hdsp_clock_source
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _HDSP_ClockModeMaster@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDSP_ClockModeMaster@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.1:
	ldr	w8, [x0, #4]
	mov	w9, #22663
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.le	LBB0_8
; %bb.2:
	mov	w9, #62463
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.le	LBB0_12
; %bb.3:
	mov	w9, #62464
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.eq	LBB0_19
; %bb.4:
	mov	w9, #45328
	movk	w9, #2, lsl #16
	cmp	w8, w9
	b.eq	LBB0_20
; %bb.5:
	mov	w9, #60928
	movk	w9, #2, lsl #16
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.6:
	mov	w0, #9
	ret
LBB0_7:
	mov	w0, #0
	ret
LBB0_8:
	mov	w9, #47999
	cmp	w8, w9
	b.gt	LBB0_15
; %bb.9:
	mov	w9, #32000
	cmp	w8, w9
	b.eq	LBB0_21
; %bb.10:
	mov	w9, #44100
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.11:
	mov	w0, #2
	ret
LBB0_12:
	mov	w9, #22664
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.eq	LBB0_22
; %bb.13:
	mov	w9, #30464
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.14:
	mov	w0, #6
	ret
LBB0_15:
	mov	w9, #48000
	cmp	w8, w9
	b.eq	LBB0_18
; %bb.16:
	mov	w9, #64000
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.17:
	mov	w0, #4
	ret
LBB0_18:
	mov	w0, #3
	ret
LBB0_19:
	mov	w0, #7
	ret
LBB0_20:
	mov	w0, #8
	ret
LBB0_21:
	mov	w0, #1
	ret
LBB0_22:
	mov	w0, #5
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDSP_ClockModeMaster,4,2       ; @HDSP_ClockModeMaster
	.no_dead_strip	_hdsp_clock_source
.subsections_via_symbols
