	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function soctherm_init_sysctl
_soctherm_init_sysctl:                  ## @soctherm_init_sysctl
	.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
	movq	%rdi, %r13
	movq	_soctherm_sysctl_ctx@GOTPCREL(%rip), %r14
	movq	%r14, %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	_CTLFLAG_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %r10
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	pushq	%r10
	callq	_SYSCTL_ADD_NODE
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r14
	movl	(%r13), %r12d
	movq	_soctherm_sysctl_ctx@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r12d, %r12d
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%r12
	movq	%r14, %rdi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	8(%r13), %rcx
	movl	%r12d, %esi
	movl	(%rcx,%rsi,4), %ecx
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rsi
	orl	(%rsi), %r8d
	movq	_soctherm_sysctl_temperature@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r13, %r9
	leaq	L_.str.3(%rip), %rax
	pushq	%rax
	leaq	L_.str.2(%rip), %rax
	pushq	%rax
	pushq	%rbx
	pushq	%r12
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	testq	%rax, %rax
	jne	LBB0_2
LBB0_5:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_soctherm_sysctl_ctx,4,2        ## @soctherm_sysctl_ctx
	.comm	__hw,4,2                        ## @_hw
	.comm	_OID_AUTO,4,2                   ## @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"temperature"

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

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_CTLTYPE_INT,4,2                ## @CTLTYPE_INT
	.comm	_soctherm_sysctl_temperature,4,2 ## @soctherm_sysctl_temperature
L_.str.2:                               ## @.str.2
	.asciz	"IK"

L_.str.3:                               ## @.str.3
	.asciz	"SoC Temperature"

	.no_dead_strip	_soctherm_init_sysctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function soctherm_init_sysctl
_soctherm_init_sysctl:                  ; @soctherm_init_sysctl
	.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
Lloh0:
	adrp	x20, _soctherm_sysctl_ctx@GOTPAGE
Lloh1:
	ldr	x20, [x20, _soctherm_sysctl_ctx@GOTPAGEOFF]
	mov	x0, x20
	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, x20
	mov	x5, #0
	bl	_SYSCTL_ADD_NODE
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w21, [x19]
Lloh13:
	adrp	x25, _CTLTYPE_INT@GOTPAGE
Lloh14:
	ldr	x25, [x25, _CTLTYPE_INT@GOTPAGEOFF]
Lloh15:
	adrp	x26, l_.str.3@PAGE
Lloh16:
	add	x26, x26, l_.str.3@PAGEOFF
Lloh17:
	adrp	x27, _soctherm_sysctl_temperature@GOTPAGE
Lloh18:
	ldr	x27, [x27, _soctherm_sysctl_temperature@GOTPAGEOFF]
Lloh19:
	adrp	x28, l_.str.2@PAGE
Lloh20:
	add	x28, x28, l_.str.2@PAGEOFF
Lloh21:
	adrp	x22, _soctherm_sysctl_ctx@GOTPAGE
Lloh22:
	ldr	x22, [x22, _soctherm_sysctl_ctx@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w21, #1
	b.lt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x21, x21, #1
	mov	x0, x20
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
	ldr	x8, [x19, #8]
	ldr	w3, [x8, w21, uxtw #2]
	ldr	w8, [x25]
	ldr	w9, [x24]
	orr	w4, w9, w8
	ldr	w7, [x27]
	stp	x28, x26, [sp]
	mov	x0, x22
	mov	x5, x19
	mov	x6, x21
	bl	_SYSCTL_ADD_PROC
	cbnz	x0, LBB0_2
LBB0_4:
Lloh23:
	adrp	x8, _ENXIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	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	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_soctherm_sysctl_ctx,4,2        ; @soctherm_sysctl_ctx
	.comm	__hw,4,2                        ; @_hw
	.comm	_OID_AUTO,4,2                   ; @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"temperature"

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

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_CTLTYPE_INT,4,2                ; @CTLTYPE_INT
	.comm	_soctherm_sysctl_temperature,4,2 ; @soctherm_sysctl_temperature
l_.str.2:                               ; @.str.2
	.asciz	"IK"

l_.str.3:                               ; @.str.3
	.asciz	"SoC Temperature"

	.no_dead_strip	_soctherm_init_sysctl
.subsections_via_symbols
