	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smist_attach
_smist_attach:                          ## @smist_attach
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_device_get_softc
	movq	%rax, %r14
	movq	%rbx, 8(%rax)
	movq	%rbx, %rdi
	callq	_set_ownership
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_CPUFREQ_VAL_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movq	%rax, 32(%rcx)
	movq	%rax, 24(%rcx)
	movq	%rax, 16(%rcx)
	movl	$1000, (%rcx)                   ## imm = 0x3E8
	movq	%rbx, 8(%rcx)
	movq	%rax, 72(%rcx)
	movl	(%rcx), %eax
	movl	%eax, 40(%rcx)
	movl	4(%rcx), %eax
	movl	%eax, 44(%rcx)
	movq	8(%rcx), %rax
	movq	%rax, 48(%rcx)
	movq	16(%rcx), %rax
	movq	%rax, 56(%rcx)
	movq	24(%rcx), %rax
	movq	%rax, 64(%rcx)
	movq	%rbx, %rdi
	callq	_cpufreq_register
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_CPUFREQ_VAL_UNKNOWN,8,3        ## @CPUFREQ_VAL_UNKNOWN
	.no_dead_strip	_smist_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smist_attach
_smist_attach:                          ; @smist_attach
	.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, x0
	bl	_device_get_softc
	mov	x20, x0
	str	x19, [x0, #8]
	mov	x0, x19
	bl	_set_ownership
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _CPUFREQ_VAL_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CPUFREQ_VAL_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x20]
	stp	x8, x8, [x9, #24]
	mov	w10, #1000
	str	w10, [x9]
	stp	x19, x8, [x9, #8]
	str	x8, [x9, #72]
	ldp	q0, q1, [x9]
	stur	q0, [x9, #40]
	stur	q1, [x9, #56]
	mov	x0, x19
	bl	_cpufreq_register
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_CPUFREQ_VAL_UNKNOWN,8,3        ; @CPUFREQ_VAL_UNKNOWN
	.no_dead_strip	_smist_attach
.subsections_via_symbols
