	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ofw_pcibus_get_cpus            ## -- Begin function ofw_pcibus_get_cpus
	.p2align	4, 0x90
_ofw_pcibus_get_cpus:                   ## @ofw_pcibus_get_cpus
	.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	%r8, %r14
	movq	%rcx, %r15
	movl	%edx, %r12d
	movl	%esi, %ebx
	movl	%edi, %r13d
	leaq	-44(%rbp), %rsi
	movl	%ebx, %edi
	callq	_ofw_pcibus_parse_associativity
	testl	%eax, %eax
	je	LBB0_1
LBB0_9:
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_bus_generic_get_cpus
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpl	$129, %r12d
	je	LBB0_6
## %bb.2:
	cmpl	$128, %r12d
	jne	LBB0_9
## %bb.3:
	cmpq	$4, %r15
	jne	LBB0_4
## %bb.5:
	movq	_cpuset_domain@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	-44(%rbp), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_6:
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	$129, %edx
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_bus_generic_get_cpus
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	cmpq	$4, %r15
	jne	LBB0_4
## %bb.8:
	movq	_cpuset_domain@GOTPCREL(%rip), %rax
	movslq	-44(%rbp), %rsi
	shlq	$2, %rsi
	addq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_CPU_AND
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_cpuset_domain,8,3              ## @cpuset_domain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ofw_pcibus_get_cpus            ; -- Begin function ofw_pcibus_get_cpus
	.p2align	2
_ofw_pcibus_get_cpus:                   ; @ofw_pcibus_get_cpus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	add	x1, sp, #12
	mov	x0, x21
	bl	_ofw_pcibus_parse_associativity
	cbz	w0, LBB0_3
LBB0_1:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	mov	x4, x19
	bl	_bus_generic_get_cpus
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_3:
	cmp	w22, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w22, #128
	b.ne	LBB0_1
; %bb.5:
	cmp	x20, #4
	b.ne	LBB0_10
; %bb.6:
	mov	w0, #0
Lloh0:
	adrp	x8, _cpuset_domain@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpuset_domain@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrsw	x9, [sp, #12]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x19]
	b	LBB0_2
LBB0_7:
	mov	x0, x23
	mov	x1, x21
	mov	w2, #129
	mov	x3, x20
	mov	x4, x19
	bl	_bus_generic_get_cpus
	cbnz	w0, LBB0_2
; %bb.8:
	cmp	x20, #4
	b.ne	LBB0_10
; %bb.9:
Lloh3:
	adrp	x8, _cpuset_domain@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cpuset_domain@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldrsw	x9, [sp, #12]
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	bl	_CPU_AND
	mov	w0, #0
	b	LBB0_2
LBB0_10:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_cpuset_domain,8,3              ; @cpuset_domain
.subsections_via_symbols
