	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __intel_shared_reg_get_constraints
___intel_shared_reg_get_constraints:    ## @__intel_shared_reg_get_constraints
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 4(%rdx)
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_2:
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movslq	%eax, %rcx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movq	%rdx, %r12
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rcx,2), %rbx
	leaq	(%r15,%rbx,8), %r14
	leaq	(%r15,%rbx,8), %r13
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	leaq	(%r15,%rbx,8), %rdi
	addq	$12, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_atomic_read
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_11
## %bb.5:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_intel_try_alt_er
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_11 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %r13
	movl	(%r12), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movslq	%eax, %r15
	leaq	(%r15,%r15,2), %rbx
	leaq	(,%rbx,8), %r14
	addq	%r13, %r14
	leaq	8(,%rbx,8), %rdi
	addq	%r13, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leaq	12(,%rbx,8), %rdi
	addq	%r13, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_atomic_read
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r14), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_11
LBB0_8:
	movslq	-52(%rbp), %r15                 ## 4-byte Folded Reload
LBB0_9:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_3:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_10:
	movq	8(%r12), %rax
	movq	%rax, (%r14)
	movl	16(%r12), %eax
	leaq	(%r15,%r15,2), %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 16(%rdx,%rcx,8)
	callq	_atomic_inc
	movl	$1, 4(%r12)
	xorl	%ebx, %ebx
LBB0_13:
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
LBB0_14:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	_emptyconstraint@GOTPCREL(%rip), %rbx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_emptyconstraint,4,2            ## @emptyconstraint
	.no_dead_strip	___intel_shared_reg_get_constraints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __intel_shared_reg_get_constraints
___intel_shared_reg_get_constraints:    ; @__intel_shared_reg_get_constraints
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x2, #4]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x25, #0
	b	LBB0_13
LBB0_2:
	mov	x19, x2
	mov	x23, x1
	mov	x24, x0
	ldr	w28, [x2]
	sxtw	x25, w28
	ldr	x8, [x0]
	ldr	x26, [x8]
	mov	w8, #24
	madd	x27, x25, x8, x26
	add	x20, x27, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x22, x27, #12
	mov	x0, x22
	bl	_atomic_read
	cbz	w0, LBB0_11
; %bb.3:
	ldr	x8, [x27]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.4:
Lloh0:
	adrp	x25, _emptyconstraint@GOTPAGE
Lloh1:
	ldr	x25, [x25, _emptyconstraint@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x28
	bl	_intel_try_alt_er
	cbz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	x8, [x24]
	ldr	x26, [x8]
	ldr	w21, [x19]
	mov	w8, #24
	smaddl	x27, w21, w8, x26
	add	x20, x27, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x22, x27, #12
	mov	x0, x22
	bl	_atomic_read
	cbz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.8:
	mov	x28, x21
LBB0_9:
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	sxtw	x25, w28
	b	LBB0_11
LBB0_10:
	sxtw	x25, w21
LBB0_11:
	ldr	x8, [x19, #8]
	str	x8, [x27]
	ldr	w8, [x19, #16]
	mov	w9, #24
	madd	x9, x25, x9, x26
	str	w8, [x9, #16]
	mov	x0, x22
	bl	_atomic_inc
	mov	x25, #0
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_12:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_13:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_emptyconstraint,4,2            ; @emptyconstraint
	.no_dead_strip	___intel_shared_reg_get_constraints
.subsections_via_symbols
