	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm2835_cpufreq_attach
_bcm2835_cpufreq_attach:                ## @bcm2835_cpufreq_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	callq	_device_get_softc
	movq	%rax, %rbx
	movl	%r14d, 56(%rax)
	pcmpeqd	%xmm0, %xmm0
	movdqu	%xmm0, (%rax)
	movq	$-1, 16(%rax)
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 40(%rax)
	movl	%r14d, %edi
	callq	_device_get_unit
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_bcm2835_sysctl_ctx@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_sysctl_ctx_init
	movq	__hw@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SYSCTL_STATIC_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rcx, %r13
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %r10
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	pushq	%r10
	callq	_SYSCTL_ADD_NODE
	addq	$16, %rsp
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	orl	(%rcx), %r8d
	movq	_sysctl_bcm2835_cpufreq_arm_freq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.4(%rip), %r11
	leaq	L_.str.3(%rip), %r13
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	pushq	%r13
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	movq	%r12, %rdi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	_sysctl_bcm2835_cpufreq_core_freq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.6(%rip), %r11
	leaq	L_.str.5(%rip), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	leaq	L_.str.3(%rip), %rax
	pushq	%rax
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	movq	%r12, %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	_sysctl_bcm2835_cpufreq_sdram_freq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.8(%rip), %r11
	leaq	L_.str.7(%rip), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	leaq	L_.str.3(%rip), %rax
	pushq	%rax
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	movq	%r12, %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	_sysctl_bcm2835_cpufreq_turbo@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.10(%rip), %r11
	leaq	L_.str.9(%rip), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	leaq	L_.str.3(%rip), %rax
	pushq	%rax
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	movq	%r12, %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	_sysctl_bcm2835_cpufreq_voltage_core@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.13(%rip), %r11
	leaq	L_.str.12(%rip), %r15
	leaq	L_.str.11(%rip), %rcx
	movq	_bcm2835_sysctl_ctx@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	pushq	%r15
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	movq	%r12, %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r13), %edx
	movq	%r13, %r15
	movq	_CTLFLAG_WR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	_sysctl_bcm2835_cpufreq_voltage_sdram@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.15(%rip), %r11
	leaq	L_.str.14(%rip), %rcx
	movq	_bcm2835_sysctl_ctx@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	leaq	L_.str.12(%rip), %r13
	pushq	%r13
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	movq	%r12, %rdi
	callq	_SYSCTL_CHILDREN
	movl	(%r15), %edx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	_sysctl_bcm2835_cpufreq_voltage_sdram_c@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.17(%rip), %r11
	leaq	L_.str.16(%rip), %rcx
	movq	_bcm2835_sysctl_ctx@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	pushq	%r13
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	movq	%r12, %rdi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r15), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	_sysctl_bcm2835_cpufreq_voltage_sdram_i@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.19(%rip), %r11
	leaq	L_.str.18(%rip), %rcx
	movq	_bcm2835_sysctl_ctx@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	pushq	%r13
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	movq	%r12, %rdi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r15), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	_sysctl_bcm2835_cpufreq_voltage_sdram_p@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.21(%rip), %r11
	leaq	L_.str.20(%rip), %rcx
	movq	_bcm2835_sysctl_ctx@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	pushq	%r13
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	movq	%r12, %rdi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	_sysctl_bcm2835_cpufreq_temperature@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.23(%rip), %r11
	leaq	L_.str.22(%rip), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	pushq	%r13
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
LBB0_2:
	movq	_vc_sema@GOTPCREL(%rip), %rdi
	leaq	L_.str.24(%rip), %rdx
	movl	$1, %esi
	callq	_sema_init
	movq	_bcm2835_cpufreq_init@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %rdi
	addq	$24, %rdi
	movl	%eax, 32(%rbx)
	movq	%rbx, 24(%rbx)
	callq	_config_intrhook_establish
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.25(%rip), %rsi
	movl	%r14d, %edi
	callq	_device_printf
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	movl	%r14d, %edi
	callq	_cpufreq_register
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bcm2835_sysctl_ctx,4,2         ## @bcm2835_sysctl_ctx
	.comm	__hw,4,2                        ## @_hw
	.comm	_OID_AUTO,4,2                   ## @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpufreq"

	.comm	_CTLFLAG_RD,4,2                 ## @CTLFLAG_RD
L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"arm_freq"

	.comm	_CTLTYPE_INT,4,2                ## @CTLTYPE_INT
	.comm	_CTLFLAG_RW,4,2                 ## @CTLFLAG_RW
	.comm	_sysctl_bcm2835_cpufreq_arm_freq,4,2 ## @sysctl_bcm2835_cpufreq_arm_freq
L_.str.3:                               ## @.str.3
	.asciz	"IU"

L_.str.4:                               ## @.str.4
	.asciz	"ARM frequency (Hz)"

L_.str.5:                               ## @.str.5
	.asciz	"core_freq"

	.comm	_sysctl_bcm2835_cpufreq_core_freq,4,2 ## @sysctl_bcm2835_cpufreq_core_freq
L_.str.6:                               ## @.str.6
	.asciz	"Core frequency (Hz)"

L_.str.7:                               ## @.str.7
	.asciz	"sdram_freq"

	.comm	_sysctl_bcm2835_cpufreq_sdram_freq,4,2 ## @sysctl_bcm2835_cpufreq_sdram_freq
L_.str.8:                               ## @.str.8
	.asciz	"SDRAM frequency (Hz)"

L_.str.9:                               ## @.str.9
	.asciz	"turbo"

	.comm	_sysctl_bcm2835_cpufreq_turbo,4,2 ## @sysctl_bcm2835_cpufreq_turbo
L_.str.10:                              ## @.str.10
	.asciz	"Disables dynamic clocking"

L_.str.11:                              ## @.str.11
	.asciz	"voltage_core"

	.comm	_sysctl_bcm2835_cpufreq_voltage_core,4,2 ## @sysctl_bcm2835_cpufreq_voltage_core
L_.str.12:                              ## @.str.12
	.asciz	"I"

L_.str.13:                              ## @.str.13
	.asciz	"ARM/GPU core voltage(offset from 1.2V in units of 0.025V)"

L_.str.14:                              ## @.str.14
	.asciz	"voltage_sdram"

	.comm	_CTLFLAG_WR,4,2                 ## @CTLFLAG_WR
	.comm	_sysctl_bcm2835_cpufreq_voltage_sdram,4,2 ## @sysctl_bcm2835_cpufreq_voltage_sdram
L_.str.15:                              ## @.str.15
	.asciz	"SDRAM voltage (offset from 1.2V in units of 0.025V)"

L_.str.16:                              ## @.str.16
	.asciz	"voltage_sdram_c"

	.comm	_sysctl_bcm2835_cpufreq_voltage_sdram_c,4,2 ## @sysctl_bcm2835_cpufreq_voltage_sdram_c
L_.str.17:                              ## @.str.17
	.asciz	"SDRAM controller voltage(offset from 1.2V in units of 0.025V)"

L_.str.18:                              ## @.str.18
	.asciz	"voltage_sdram_i"

	.comm	_sysctl_bcm2835_cpufreq_voltage_sdram_i,4,2 ## @sysctl_bcm2835_cpufreq_voltage_sdram_i
L_.str.19:                              ## @.str.19
	.asciz	"SDRAM I/O voltage (offset from 1.2V in units of 0.025V)"

L_.str.20:                              ## @.str.20
	.asciz	"voltage_sdram_p"

	.comm	_sysctl_bcm2835_cpufreq_voltage_sdram_p,4,2 ## @sysctl_bcm2835_cpufreq_voltage_sdram_p
L_.str.21:                              ## @.str.21
	.asciz	"SDRAM phy voltage (offset from 1.2V in units of 0.025V)"

L_.str.22:                              ## @.str.22
	.asciz	"temperature"

	.comm	_sysctl_bcm2835_cpufreq_temperature,4,2 ## @sysctl_bcm2835_cpufreq_temperature
L_.str.23:                              ## @.str.23
	.asciz	"SoC temperature (thousandths of a degree C)"

	.comm	_vc_sema,4,2                    ## @vc_sema
L_.str.24:                              ## @.str.24
	.asciz	"vcsema"

	.comm	_bcm2835_cpufreq_init,4,2       ## @bcm2835_cpufreq_init
L_.str.25:                              ## @.str.25
	.asciz	"config_intrhook_establish failed\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_bcm2835_cpufreq_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm2835_cpufreq_attach
_bcm2835_cpufreq_attach:                ; @bcm2835_cpufreq_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_device_get_softc
	mov	x20, x0
	str	w19, [x0, #56]
	mov	x8, #-1
	stp	x8, x8, [x0]
	str	x8, [x0, #16]
	stp	xzr, xzr, [x0, #40]
	mov	x0, x19
	bl	_device_get_unit
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x21, _bcm2835_sysctl_ctx@GOTPAGE
Lloh1:
	ldr	x21, [x21, _bcm2835_sysctl_ctx@GOTPAGEOFF]
	mov	x0, x21
	bl	_sysctl_ctx_init
Lloh2:
	adrp	x8, __hw@GOTPAGE
Lloh3:
	ldr	x8, [x8, __hw@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_SYSCTL_STATIC_CHILDREN
	mov	x1, x0
Lloh5:
	adrp	x23, _OID_AUTO@GOTPAGE
Lloh6:
	ldr	x23, [x23, _OID_AUTO@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh7:
	adrp	x24, _CTLFLAG_RD@GOTPAGE
Lloh8:
	ldr	x24, [x24, _CTLFLAG_RD@GOTPAGEOFF]
	ldr	w4, [x24]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
Lloh11:
	adrp	x6, l_.str.1@PAGE
Lloh12:
	add	x6, x6, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x5, #0
	bl	_SYSCTL_ADD_NODE
	mov	x22, x0
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
Lloh13:
	adrp	x25, _CTLTYPE_INT@GOTPAGE
Lloh14:
	ldr	x25, [x25, _CTLTYPE_INT@GOTPAGEOFF]
Lloh15:
	adrp	x26, _CTLFLAG_RW@GOTPAGE
Lloh16:
	ldr	x26, [x26, _CTLFLAG_RW@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w4, w9, w8
Lloh17:
	adrp	x8, _sysctl_bcm2835_cpufreq_arm_freq@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sysctl_bcm2835_cpufreq_arm_freq@GOTPAGEOFF]
Lloh19:
	ldr	w7, [x8]
Lloh20:
	adrp	x8, l_.str.4@PAGE
Lloh21:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh22:
	adrp	x27, l_.str.3@PAGE
Lloh23:
	add	x27, x27, l_.str.3@PAGEOFF
	stp	x27, x8, [sp]
Lloh24:
	adrp	x3, l_.str.2@PAGE
Lloh25:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	mov	x0, x22
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w4, w9, w8
Lloh26:
	adrp	x8, _sysctl_bcm2835_cpufreq_core_freq@GOTPAGE
Lloh27:
	ldr	x8, [x8, _sysctl_bcm2835_cpufreq_core_freq@GOTPAGEOFF]
Lloh28:
	ldr	w7, [x8]
Lloh29:
	adrp	x8, l_.str.6@PAGE
Lloh30:
	add	x8, x8, l_.str.6@PAGEOFF
	stp	x27, x8, [sp]
Lloh31:
	adrp	x3, l_.str.5@PAGE
Lloh32:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	mov	x0, x22
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w4, w9, w8
Lloh33:
	adrp	x8, _sysctl_bcm2835_cpufreq_sdram_freq@GOTPAGE
Lloh34:
	ldr	x8, [x8, _sysctl_bcm2835_cpufreq_sdram_freq@GOTPAGEOFF]
Lloh35:
	ldr	w7, [x8]
Lloh36:
	adrp	x8, l_.str.8@PAGE
Lloh37:
	add	x8, x8, l_.str.8@PAGEOFF
	stp	x27, x8, [sp]
Lloh38:
	adrp	x3, l_.str.7@PAGE
Lloh39:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	mov	x0, x22
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w4, w9, w8
Lloh40:
	adrp	x8, _sysctl_bcm2835_cpufreq_turbo@GOTPAGE
Lloh41:
	ldr	x8, [x8, _sysctl_bcm2835_cpufreq_turbo@GOTPAGEOFF]
Lloh42:
	ldr	w7, [x8]
Lloh43:
	adrp	x8, l_.str.10@PAGE
Lloh44:
	add	x8, x8, l_.str.10@PAGEOFF
	stp	x27, x8, [sp]
Lloh45:
	adrp	x3, l_.str.9@PAGE
Lloh46:
	add	x3, x3, l_.str.9@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	mov	x0, x22
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w4, w9, w8
Lloh47:
	adrp	x8, _sysctl_bcm2835_cpufreq_voltage_core@GOTPAGE
Lloh48:
	ldr	x8, [x8, _sysctl_bcm2835_cpufreq_voltage_core@GOTPAGEOFF]
Lloh49:
	ldr	w7, [x8]
Lloh50:
	adrp	x8, l_.str.13@PAGE
Lloh51:
	add	x8, x8, l_.str.13@PAGEOFF
Lloh52:
	adrp	x27, l_.str.12@PAGE
Lloh53:
	add	x27, x27, l_.str.12@PAGEOFF
	stp	x27, x8, [sp]
Lloh54:
	adrp	x3, l_.str.11@PAGE
Lloh55:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	mov	x0, x22
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
Lloh56:
	adrp	x8, _CTLFLAG_WR@GOTPAGE
Lloh57:
	ldr	x8, [x8, _CTLFLAG_WR@GOTPAGEOFF]
	ldr	w9, [x25]
Lloh58:
	ldr	w8, [x8]
	orr	w4, w8, w9
Lloh59:
	adrp	x8, _sysctl_bcm2835_cpufreq_voltage_sdram@GOTPAGE
Lloh60:
	ldr	x8, [x8, _sysctl_bcm2835_cpufreq_voltage_sdram@GOTPAGEOFF]
Lloh61:
	ldr	w7, [x8]
Lloh62:
	adrp	x8, l_.str.15@PAGE
Lloh63:
	add	x8, x8, l_.str.15@PAGEOFF
	stp	x27, x8, [sp]
Lloh64:
	adrp	x3, l_.str.14@PAGE
Lloh65:
	add	x3, x3, l_.str.14@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	mov	x0, x22
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w4, w9, w8
Lloh66:
	adrp	x8, _sysctl_bcm2835_cpufreq_voltage_sdram_c@GOTPAGE
Lloh67:
	ldr	x8, [x8, _sysctl_bcm2835_cpufreq_voltage_sdram_c@GOTPAGEOFF]
Lloh68:
	ldr	w7, [x8]
Lloh69:
	adrp	x8, l_.str.17@PAGE
Lloh70:
	add	x8, x8, l_.str.17@PAGEOFF
	stp	x27, x8, [sp]
Lloh71:
	adrp	x3, l_.str.16@PAGE
Lloh72:
	add	x3, x3, l_.str.16@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	mov	x0, x22
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w4, w9, w8
Lloh73:
	adrp	x8, _sysctl_bcm2835_cpufreq_voltage_sdram_i@GOTPAGE
Lloh74:
	ldr	x8, [x8, _sysctl_bcm2835_cpufreq_voltage_sdram_i@GOTPAGEOFF]
Lloh75:
	ldr	w7, [x8]
Lloh76:
	adrp	x8, l_.str.19@PAGE
Lloh77:
	add	x8, x8, l_.str.19@PAGEOFF
	stp	x27, x8, [sp]
Lloh78:
	adrp	x3, l_.str.18@PAGE
Lloh79:
	add	x3, x3, l_.str.18@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	mov	x0, x22
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w4, w9, w8
Lloh80:
	adrp	x8, _sysctl_bcm2835_cpufreq_voltage_sdram_p@GOTPAGE
Lloh81:
	ldr	x8, [x8, _sysctl_bcm2835_cpufreq_voltage_sdram_p@GOTPAGEOFF]
Lloh82:
	ldr	w7, [x8]
Lloh83:
	adrp	x8, l_.str.21@PAGE
Lloh84:
	add	x8, x8, l_.str.21@PAGEOFF
	stp	x27, x8, [sp]
Lloh85:
	adrp	x3, l_.str.20@PAGE
Lloh86:
	add	x3, x3, l_.str.20@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	mov	x0, x22
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
	ldr	w8, [x25]
	ldr	w9, [x24]
	orr	w4, w9, w8
Lloh87:
	adrp	x8, _sysctl_bcm2835_cpufreq_temperature@GOTPAGE
Lloh88:
	ldr	x8, [x8, _sysctl_bcm2835_cpufreq_temperature@GOTPAGEOFF]
Lloh89:
	ldr	w7, [x8]
Lloh90:
	adrp	x8, l_.str.23@PAGE
Lloh91:
	add	x8, x8, l_.str.23@PAGEOFF
	stp	x27, x8, [sp]
Lloh92:
	adrp	x3, l_.str.22@PAGE
Lloh93:
	add	x3, x3, l_.str.22@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
LBB0_2:
Lloh94:
	adrp	x0, _vc_sema@GOTPAGE
Lloh95:
	ldr	x0, [x0, _vc_sema@GOTPAGEOFF]
Lloh96:
	adrp	x2, l_.str.24@PAGE
Lloh97:
	add	x2, x2, l_.str.24@PAGEOFF
	mov	w1, #1
	bl	_sema_init
Lloh98:
	adrp	x8, _bcm2835_cpufreq_init@GOTPAGE
Lloh99:
	ldr	x8, [x8, _bcm2835_cpufreq_init@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
	add	x0, x20, #24
	str	w8, [x20, #32]
	str	x20, [x20, #24]
	bl	_config_intrhook_establish
	cbz	x0, LBB0_4
; %bb.3:
Lloh101:
	adrp	x1, l_.str.25@PAGE
Lloh102:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x19
	bl	_device_printf
Lloh103:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh104:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh105:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_cpufreq_register
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpAdd	Lloh101, Lloh102
	.cfi_endproc
                                        ; -- End function
	.comm	_bcm2835_sysctl_ctx,4,2         ; @bcm2835_sysctl_ctx
	.comm	__hw,4,2                        ; @_hw
	.comm	_OID_AUTO,4,2                   ; @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpufreq"

	.comm	_CTLFLAG_RD,4,2                 ; @CTLFLAG_RD
l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"arm_freq"

	.comm	_CTLTYPE_INT,4,2                ; @CTLTYPE_INT
	.comm	_CTLFLAG_RW,4,2                 ; @CTLFLAG_RW
	.comm	_sysctl_bcm2835_cpufreq_arm_freq,4,2 ; @sysctl_bcm2835_cpufreq_arm_freq
l_.str.3:                               ; @.str.3
	.asciz	"IU"

l_.str.4:                               ; @.str.4
	.asciz	"ARM frequency (Hz)"

l_.str.5:                               ; @.str.5
	.asciz	"core_freq"

	.comm	_sysctl_bcm2835_cpufreq_core_freq,4,2 ; @sysctl_bcm2835_cpufreq_core_freq
l_.str.6:                               ; @.str.6
	.asciz	"Core frequency (Hz)"

l_.str.7:                               ; @.str.7
	.asciz	"sdram_freq"

	.comm	_sysctl_bcm2835_cpufreq_sdram_freq,4,2 ; @sysctl_bcm2835_cpufreq_sdram_freq
l_.str.8:                               ; @.str.8
	.asciz	"SDRAM frequency (Hz)"

l_.str.9:                               ; @.str.9
	.asciz	"turbo"

	.comm	_sysctl_bcm2835_cpufreq_turbo,4,2 ; @sysctl_bcm2835_cpufreq_turbo
l_.str.10:                              ; @.str.10
	.asciz	"Disables dynamic clocking"

l_.str.11:                              ; @.str.11
	.asciz	"voltage_core"

	.comm	_sysctl_bcm2835_cpufreq_voltage_core,4,2 ; @sysctl_bcm2835_cpufreq_voltage_core
l_.str.12:                              ; @.str.12
	.asciz	"I"

l_.str.13:                              ; @.str.13
	.asciz	"ARM/GPU core voltage(offset from 1.2V in units of 0.025V)"

l_.str.14:                              ; @.str.14
	.asciz	"voltage_sdram"

	.comm	_CTLFLAG_WR,4,2                 ; @CTLFLAG_WR
	.comm	_sysctl_bcm2835_cpufreq_voltage_sdram,4,2 ; @sysctl_bcm2835_cpufreq_voltage_sdram
l_.str.15:                              ; @.str.15
	.asciz	"SDRAM voltage (offset from 1.2V in units of 0.025V)"

l_.str.16:                              ; @.str.16
	.asciz	"voltage_sdram_c"

	.comm	_sysctl_bcm2835_cpufreq_voltage_sdram_c,4,2 ; @sysctl_bcm2835_cpufreq_voltage_sdram_c
l_.str.17:                              ; @.str.17
	.asciz	"SDRAM controller voltage(offset from 1.2V in units of 0.025V)"

l_.str.18:                              ; @.str.18
	.asciz	"voltage_sdram_i"

	.comm	_sysctl_bcm2835_cpufreq_voltage_sdram_i,4,2 ; @sysctl_bcm2835_cpufreq_voltage_sdram_i
l_.str.19:                              ; @.str.19
	.asciz	"SDRAM I/O voltage (offset from 1.2V in units of 0.025V)"

l_.str.20:                              ; @.str.20
	.asciz	"voltage_sdram_p"

	.comm	_sysctl_bcm2835_cpufreq_voltage_sdram_p,4,2 ; @sysctl_bcm2835_cpufreq_voltage_sdram_p
l_.str.21:                              ; @.str.21
	.asciz	"SDRAM phy voltage (offset from 1.2V in units of 0.025V)"

l_.str.22:                              ; @.str.22
	.asciz	"temperature"

	.comm	_sysctl_bcm2835_cpufreq_temperature,4,2 ; @sysctl_bcm2835_cpufreq_temperature
l_.str.23:                              ; @.str.23
	.asciz	"SoC temperature (thousandths of a degree C)"

	.comm	_vc_sema,4,2                    ; @vc_sema
l_.str.24:                              ; @.str.24
	.asciz	"vcsema"

	.comm	_bcm2835_cpufreq_init,4,2       ; @bcm2835_cpufreq_init
l_.str.25:                              ; @.str.25
	.asciz	"config_intrhook_establish failed\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_bcm2835_cpufreq_attach
.subsections_via_symbols
