	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coretemp_get_pdev
_coretemp_get_pdev:                     ## @coretemp_get_pdev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_topology_logical_die_id
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	js	LBB0_3
## %bb.1:
	movq	_max_zones@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jge	LBB0_3
## %bb.2:
	movq	_zone_devices@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	movq	(%rax,%rcx,8), %rax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_max_zones,4,2                  ## @max_zones
	.comm	_zone_devices,8,3               ## @zone_devices
	.no_dead_strip	_coretemp_get_pdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coretemp_get_pdev
_coretemp_get_pdev:                     ; @coretemp_get_pdev
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_topology_logical_die_id
	mov	x8, x0
	mov	x0, #0
	tbnz	w8, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _max_zones@GOTPAGE
Lloh1:
	ldr	x9, [x9, _max_zones@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _zone_devices@GOTPAGE
Lloh4:
	ldr	x9, [x9, _zone_devices@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x0, [x9, w8, uxtw #3]
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_max_zones,4,2                  ; @max_zones
	.comm	_zone_devices,8,3               ; @zone_devices
	.no_dead_strip	_coretemp_get_pdev
.subsections_via_symbols
