	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmu_parse_irq_affinity
_pmu_parse_irq_affinity:                ## @pmu_parse_irq_affinity
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_pmu_has_irq_affinity
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_of_parse_phandle
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_of_cpu_node_to_id
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_pr_warn
	movq	_nr_cpu_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_5:
	movq	%r14, %rdi
	callq	_of_node_put
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%r15d, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_pr_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movl	%r14d, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"interrupt-affinity"

L_.str.1:                               ## @.str.1
	.asciz	"failed to parse interrupt-affinity[%d] for %pOFn\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"failed to find logical CPU for %pOFn\n"

	.comm	_nr_cpu_ids,4,2                 ## @nr_cpu_ids
	.no_dead_strip	_pmu_parse_irq_affinity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmu_parse_irq_affinity
_pmu_parse_irq_affinity:                ; @pmu_parse_irq_affinity
	.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	x21, x0
	bl	_pmu_has_irq_affinity
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_of_parse_phandle
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	bl	_of_cpu_node_to_id
	mov	x19, x0
	tbz	w0, #31, LBB0_4
; %bb.3:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_pr_warn
Lloh4:
	adrp	x8, _nr_cpu_ids@GOTPAGE
Lloh5:
	ldr	x8, [x8, _nr_cpu_ids@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
LBB0_4:
	mov	x0, x20
	bl	_of_node_put
	b	LBB0_6
LBB0_5:
	str	x21, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_pr_warn
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_6:
	mov	x0, x19
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"interrupt-affinity"

l_.str.1:                               ; @.str.1
	.asciz	"failed to parse interrupt-affinity[%d] for %pOFn\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"failed to find logical CPU for %pOFn\n"

	.comm	_nr_cpu_ids,4,2                 ; @nr_cpu_ids
	.no_dead_strip	_pmu_parse_irq_affinity
.subsections_via_symbols
