	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uncore_get_constraint
_uncore_get_constraint:                 ## @uncore_get_constraint
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rsi), %rax
	movq	_EXTRA_REG_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_uncore_box_is_fake
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	(%r14), %r13
	movq	24(%rbx), %rax
	leaq	(%rax,%rax,2), %r15
	leaq	(,%r15,8), %rax
	addq	%r13, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	16(,%r15,8), %rdi
	addq	%r13, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	leaq	20(,%r15,8), %r12
	addq	%r13, %r12
	movq	%r12, %rdi
	callq	_atomic_read
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpq	40(%rbx), %rax
	jne	LBB0_10
## %bb.5:
	movq	8(%r13,%r15,8), %rax
	cmpq	16(%rbx), %rax
	jne	LBB0_10
LBB0_6:
	movq	%r12, %rdi
	callq	_atomic_inc
	movq	40(%rbx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	16(%rbx), %rax
	movq	%rax, 8(%r13,%r15,8)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movq	%r14, %rdi
	callq	_uncore_box_is_fake
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	$1, 32(%rbx)
	jmp	LBB0_8
LBB0_2:
	cmpl	$0, 32(%rbx)
	je	LBB0_3
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movq	_constraint_empty@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EXTRA_REG_NONE,8,3             ## @EXTRA_REG_NONE
	.comm	_constraint_empty,4,2           ## @constraint_empty
	.no_dead_strip	_uncore_get_constraint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uncore_get_constraint
_uncore_get_constraint:                 ; @uncore_get_constraint
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x1, #24]
Lloh0:
	adrp	x9, _EXTRA_REG_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXTRA_REG_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_uncore_box_is_fake
	cbz	w0, LBB0_7
LBB0_2:
	ldr	x23, [x20]
	ldr	x24, [x19, #24]
	mov	w8, #24
	madd	x25, x24, x8, x23
	add	x21, x25, #16
	mov	x0, x21
	bl	_spin_lock_irqsave
	add	x22, x25, #20
	mov	x0, x22
	bl	_atomic_read
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x25]
	ldr	x9, [x19, #40]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.4:
	mov	w8, #24
	madd	x8, x24, x8, x23
	ldr	x8, [x8, #8]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_10
LBB0_5:
	mov	x0, x22
	bl	_atomic_inc
	ldr	x8, [x19, #40]
	str	x8, [x25]
	ldr	x8, [x19, #16]
	mov	w9, #24
	madd	x9, x24, x9, x23
	str	x8, [x9, #8]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_uncore_box_is_fake
	cbnz	w0, LBB0_8
; %bb.6:
	mov	x0, #0
	mov	w8, #1
	str	w8, [x19, #32]
	b	LBB0_9
LBB0_7:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_2
LBB0_8:
	mov	x0, #0
LBB0_9:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh3:
	adrp	x0, _constraint_empty@GOTPAGE
Lloh4:
	ldr	x0, [x0, _constraint_empty@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EXTRA_REG_NONE,8,3             ; @EXTRA_REG_NONE
	.comm	_constraint_empty,4,2           ; @constraint_empty
	.no_dead_strip	_uncore_get_constraint
.subsections_via_symbols
