	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_sensor_label
_make_sensor_label:                     ## @make_sensor_label
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rcx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rsi), %edi
	leaq	L_.str(%rip), %rdx
	movl	$4, %r12d
	movl	$4, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movl	-36(%rbp), %edi
	callq	_get_logical_cpu
	subl	%ebx, %r12d
	movl	(%r14), %edi
	addl	%ebx, %edi
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rdx
	movl	%r12d, %esi
	movl	%eax, %ecx
	jmp	LBB0_4
LBB0_3:
	movl	-36(%rbp), %ecx
	leaq	L_.str.3(%rip), %rdx
	movl	%r12d, %esi
LBB0_4:
	xorl	%eax, %eax
	callq	_snprintf
	addq	%rax, %rbx
LBB0_5:
	leaq	L_.str.4(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	(%r14), %edi
	addl	%ebx, %edi
	movl	$4, %esi
	subl	%ebx, %esi
	movzwl	-36(%rbp), %ecx
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"ibm,pir"

L_.str.2:                               ## @.str.2
	.asciz	" %d"

L_.str.3:                               ## @.str.3
	.asciz	" phy%d"

L_.str.4:                               ## @.str.4
	.asciz	"ibm,chip-id"

	.no_dead_strip	_make_sensor_label
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_sensor_label
_make_sensor_label:                     ; @make_sensor_label
	.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, x1
	mov	x20, x0
	ldr	w0, [x1]
	str	x2, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w22, #4
	mov	w1, #4
	bl	_snprintf
	mov	x21, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_get_logical_cpu
	mov	x8, x0
	ldr	w9, [x19]
	add	w0, w9, w21
	sub	w1, w22, w21
	tbnz	w8, #31, LBB0_3
; %bb.2:
	str	x8, [sp]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:
	ldr	w8, [sp, #12]
	str	x8, [sp]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_4:
	bl	_snprintf
	add	x21, x0, x21
LBB0_5:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	w8, [x19]
	add	w0, w8, w21
	mov	w8, #4
	sub	w1, w8, w21
	ldrh	w8, [sp, #12]
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_snprintf
LBB0_7:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"ibm,pir"

l_.str.2:                               ; @.str.2
	.asciz	" %d"

l_.str.3:                               ; @.str.3
	.asciz	" phy%d"

l_.str.4:                               ; @.str.4
	.asciz	"ibm,chip-id"

	.no_dead_strip	_make_sensor_label
.subsections_via_symbols
