	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_src_clock_sel
_show_src_clock_sel:                    ## @show_src_clock_sel
	.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	%rdx, %rbx
	callq	_ics932s401_update_device
	movq	(%rax), %rcx
	movq	_ICS932S401_REG_CTRL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %ecx
	movq	_ICS932S401_MN_ENABLED@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_calculate_src_freq
	movl	%eax, %edx
	jmp	LBB0_5
LBB0_2:
	movq	_ICS932S401_CPU_ALT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_ICS932S401_SRC_ALT@GOTPCREL(%rip), %rax
	movl	$96000, %edx                    ## imm = 0x17700
	testl	%ecx, (%rax)
	jne	LBB0_5
LBB0_4:
	movl	$100000, %edx                   ## imm = 0x186A0
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICS932S401_REG_CTRL,8,3        ## @ICS932S401_REG_CTRL
	.comm	_ICS932S401_MN_ENABLED,4,2      ## @ICS932S401_MN_ENABLED
	.comm	_ICS932S401_CPU_ALT,4,2         ## @ICS932S401_CPU_ALT
	.comm	_ICS932S401_SRC_ALT,4,2         ## @ICS932S401_SRC_ALT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_src_clock_sel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_src_clock_sel
_show_src_clock_sel:                    ; @show_src_clock_sel
	.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, x2
	bl	_ics932s401_update_device
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ICS932S401_REG_CTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ICS932S401_REG_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
Lloh3:
	adrp	x9, _ICS932S401_MN_ENABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ICS932S401_MN_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	bl	_calculate_src_freq
	mov	x2, x0
	b	LBB0_5
LBB0_2:
	mov	w2, #30464
	movk	w2, #1, lsl #16
Lloh6:
	adrp	x9, _ICS932S401_CPU_ALT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ICS932S401_CPU_ALT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x9, _ICS932S401_SRC_ALT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ICS932S401_SRC_ALT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
LBB0_4:
	add	w2, w2, #4000
LBB0_5:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sprintf
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ICS932S401_REG_CTRL,8,3        ; @ICS932S401_REG_CTRL
	.comm	_ICS932S401_MN_ENABLED,4,2      ; @ICS932S401_MN_ENABLED
	.comm	_ICS932S401_CPU_ALT,4,2         ; @ICS932S401_CPU_ALT
	.comm	_ICS932S401_SRC_ALT,4,2         ; @ICS932S401_SRC_ALT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_src_clock_sel
.subsections_via_symbols
