	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_spread
_show_spread:                           ## @show_spread
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_ics932s401_update_device
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_ICS932S401_REG_CFG2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ICS932S401_CFG1_SPREAD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_4
## %bb.1:
	cmpq	_dev_attr_src_spread@GOTPCREL(%rip), %rbx
	je	LBB0_5
## %bb.2:
	cmpq	_dev_attr_cpu_spread@GOTPCREL(%rip), %rbx
	je	LBB0_6
## %bb.3:
	xorl	%eax, %eax
	callq	_BUG
	movq	(%r15), %rax
                                        ## implicit-def: $ecx
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
LBB0_5:
	movq	_ICS932S401_REG_SRC_SPREAD1@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_ICS932S401_REG_CPU_SPREAD1@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
LBB0_8:
	movslq	%ecx, %rcx
	movl	4(%rax,%rcx,4), %edx
	shll	$8, %edx
	orl	(%rax,%rcx,4), %edx
	movslq	%edx, %rax
	movq	_ICS932S401_SPREAD_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	imulq	$500000, %rax, %rdx             ## imm = 0x7A120
	shrq	$14, %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICS932S401_REG_CFG2,8,3        ## @ICS932S401_REG_CFG2
	.comm	_ICS932S401_CFG1_SPREAD,4,2     ## @ICS932S401_CFG1_SPREAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0%%\n"

	.comm	_dev_attr_src_spread,4,2        ## @dev_attr_src_spread
	.comm	_ICS932S401_REG_SRC_SPREAD1,4,2 ## @ICS932S401_REG_SRC_SPREAD1
	.comm	_dev_attr_cpu_spread,4,2        ## @dev_attr_cpu_spread
	.comm	_ICS932S401_REG_CPU_SPREAD1,4,2 ## @ICS932S401_REG_CPU_SPREAD1
	.comm	_ICS932S401_SPREAD_MASK,8,3     ## @ICS932S401_SPREAD_MASK
L_.str.1:                               ## @.str.1
	.asciz	"-0.%lu%%\n"

	.no_dead_strip	_show_spread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_spread
_show_spread:                           ; @show_spread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	bl	_ics932s401_update_device
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ICS932S401_REG_CFG2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ICS932S401_REG_CFG2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
Lloh3:
	adrp	x10, _ICS932S401_CFG1_SPREAD@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ICS932S401_CFG1_SPREAD@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.1:
Lloh6:
	adrp	x9, _dev_attr_src_spread@GOTPAGE
Lloh7:
	ldr	x9, [x9, _dev_attr_src_spread@GOTPAGEOFF]
	cmp	x21, x9
	b.eq	LBB0_5
; %bb.2:
Lloh8:
	adrp	x9, _dev_attr_cpu_spread@GOTPAGE
Lloh9:
	ldr	x9, [x9, _dev_attr_cpu_spread@GOTPAGEOFF]
	cmp	x21, x9
	b.eq	LBB0_6
; %bb.3:
	mov	x20, x0
	bl	_BUG
	ldr	x8, [x20]
                                        ; implicit-def: $w9
	b	LBB0_8
LBB0_4:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_sprintf
LBB0_5:
Lloh12:
	adrp	x9, _ICS932S401_REG_SRC_SPREAD1@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ICS932S401_REG_SRC_SPREAD1@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x9, _ICS932S401_REG_CPU_SPREAD1@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ICS932S401_REG_CPU_SPREAD1@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [x9]
LBB0_8:
	add	x8, x8, w9, sxtw #2
	ldp	w9, w8, [x8]
	orr	w8, w9, w8, lsl #8
Lloh16:
	adrp	x9, _ICS932S401_SPREAD_MASK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ICS932S401_SPREAD_MASK@GOTPAGEOFF]
	sxtw	x8, w8
Lloh18:
	ldr	x9, [x9]
	and	x8, x9, x8
	mov	w9, #41248
	movk	w9, #7, lsl #16
	mul	x8, x8, x9
	lsr	x8, x8, #14
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ICS932S401_REG_CFG2,8,3        ; @ICS932S401_REG_CFG2
	.comm	_ICS932S401_CFG1_SPREAD,4,2     ; @ICS932S401_CFG1_SPREAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0%%\n"

	.comm	_dev_attr_src_spread,4,2        ; @dev_attr_src_spread
	.comm	_ICS932S401_REG_SRC_SPREAD1,4,2 ; @ICS932S401_REG_SRC_SPREAD1
	.comm	_dev_attr_cpu_spread,4,2        ; @dev_attr_cpu_spread
	.comm	_ICS932S401_REG_CPU_SPREAD1,4,2 ; @ICS932S401_REG_CPU_SPREAD1
	.comm	_ICS932S401_SPREAD_MASK,8,3     ; @ICS932S401_SPREAD_MASK
l_.str.1:                               ; @.str.1
	.asciz	"-0.%lu%%\n"

	.no_dead_strip	_show_spread
.subsections_via_symbols
