	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nhmex_mbox_get_constraint
_nhmex_mbox_get_constraint:             ## @nhmex_mbox_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	%rsi, %r14
	movq	%rdi, %r15
	movl	12(%rsi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	16(%rsi), %edi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	___BITS_VALUE
	movl	%eax, %ebx
	movl	16(%r14), %edi
	movl	$1, %esi
	movl	$8, %edx
	callq	___BITS_VALUE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_EXTRA_REG_NHMEX_M_ZDP_CTL_FVC@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_uncore_box_is_fake
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$255, %ebx
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$255, %ebx
	movb	$1, %al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, 20(%r14)
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$255, %ebx
	je	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	movl	$32, %edx
	callq	___BITS_VALUE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_nhmex_mbox_get_shared_reg
	testl	%eax, %eax
	je	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	orl	$1, %r13d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$1, %al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$255, %ebx
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_uncore_box_is_fake
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	$2, 20(%r14)
	jne	LBB0_25
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	cmpl	$255, %r12d
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %esi
	movl	$32, %edx
	callq	___BITS_VALUE
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_nhmex_mbox_get_shared_reg
	testl	%eax, %eax
	je	LBB0_24
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	orl	$2, %r13d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$255, -44(%rbp)                 ## 4-byte Folded Spill
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_EXTRA_REG_NHMEX_M_ZDP_CTL_FVC@GOTPCREL(%rip), %r12
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_uncore_box_is_fake
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 8(%r14)
	jne	LBB0_30
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	%r15, %rdi
	callq	_nhmex_mbox_get_shared_reg
	testl	%eax, %eax
	jne	LBB0_30
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$255, %ebx
	je	LBB0_26
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %eax
	andl	$1, %eax
	jne	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%r12), %ebx
	jl	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%r14), %edi
	movl	$1, %esi
	movl	$8, %edx
	callq	___BITS_VALUE
	xorl	%edi, %edi
	cmpl	$255, %eax
	setne	%dil
	callq	_BUG_ON
	movl	(%r12), %eax
	subl	%eax, %ebx
	leal	1(%rbx), %ecx
	leal	4(%rbx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	andl	$-4, %edx
	negl	%edx
	addl	%edx, %ebx
	incl	%ebx
	addl	%eax, %ebx
	movl	16(%r14), %edi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	___BITS_VALUE
	cmpl	%eax, %ebx
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_nhmex_mbox_alter_er
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_EXTRA_REG_NHMEX_M_ZDP_CTL_FVC@GOTPCREL(%rip), %r12
	cmpl	$255, %ebx
	jne	LBB0_20
	jmp	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$255, -44(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_16
LBB0_26:
	testb	$1, %r13b
	je	LBB0_28
## %bb.27:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_nhmex_mbox_put_shared_reg
LBB0_28:
	movq	_constraint_empty@GOTPCREL(%rip), %rbx
	testb	$2, %r13b
	je	LBB0_37
## %bb.29:
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_nhmex_mbox_put_shared_reg
	jmp	LBB0_37
LBB0_30:
	movq	%r15, %rdi
	callq	_uncore_box_is_fake
	testq	%rax, %rax
	jne	LBB0_36
## %bb.32:
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_35
## %bb.33:
	movl	16(%r14), %edi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	___BITS_VALUE
	cmpl	%eax, %ebx
	je	LBB0_35
## %bb.34:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_nhmex_mbox_alter_er
LBB0_35:
	orl	%r13d, 20(%r14)
	movl	$1, 8(%r14)
LBB0_36:
	xorl	%ebx, %ebx
LBB0_37:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXTRA_REG_NHMEX_M_ZDP_CTL_FVC,4,2 ## @EXTRA_REG_NHMEX_M_ZDP_CTL_FVC
	.comm	_constraint_empty,4,2           ## @constraint_empty
	.no_dead_strip	_nhmex_mbox_get_constraint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nhmex_mbox_get_constraint
_nhmex_mbox_get_constraint:             ; @nhmex_mbox_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
	mov	x19, x1
	mov	x20, x0
	ldp	w23, w0, [x1, #12]
	mov	w1, #0
	mov	w2, #8
	bl	___BITS_VALUE
	mov	x21, x0
	ldr	w0, [x19, #16]
	mov	w1, #1
	mov	w2, #8
	bl	___BITS_VALUE
	mov	x22, x0
	mov	w24, #0
Lloh0:
	adrp	x25, _EXTRA_REG_NHMEX_M_ZDP_CTL_FVC@GOTPAGE
Lloh1:
	ldr	x25, [x25, _EXTRA_REG_NHMEX_M_ZDP_CTL_FVC@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_uncore_box_is_fake
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w21, #255
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w26, #1
	b	LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w26, #1
	ldrb	w8, [x19, #20]
	tbnz	w8, #0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w21, #255
	b.eq	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	mov	w1, #0
	mov	w2, #32
	bl	___BITS_VALUE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_nhmex_mbox_get_shared_reg
	cbz	w0, LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w26, #0
	orr	w24, w24, #0x1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w21, #255
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_uncore_box_is_fake
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x19, #20]
	tbnz	w8, #1, LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w22, #255
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	mov	w1, #1
	mov	w2, #32
	bl	___BITS_VALUE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_nhmex_mbox_get_shared_reg
	cbz	w0, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
	orr	w24, w24, #0x2
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w22, #255
LBB0_15:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_uncore_box_is_fake
	cbnz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_28
LBB0_17:                                ;   in Loop: Header=BB0_1 Depth=1
	ldp	w2, w1, [x19]
	mov	x0, x20
	bl	_nhmex_mbox_get_shared_reg
	cbnz	w0, LBB0_28
LBB0_18:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w21, #255
	b.eq	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_1 Depth=1
	tbnz	w24, #0, LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x25]
	cmp	w21, w8
	b.lt	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x19, #16]
	mov	w1, #1
	mov	w2, #8
	bl	___BITS_VALUE
	cmp	w0, #255
	cset	w0, ne
	bl	_BUG_ON
	ldr	w8, [x25]
	sub	w9, w21, w8
	add	w9, w9, #1
	and	w10, w9, #0x3
	negs	w9, w9
	and	w9, w9, #0x3
	csneg	w9, w10, w9, mi
	add	w21, w9, w8
	ldr	w0, [x19, #16]
	mov	w1, #0
	mov	w2, #8
	bl	___BITS_VALUE
	cmp	w21, w0
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_nhmex_mbox_alter_er
	mov	x23, x0
	b	LBB0_1
LBB0_23:
	tbz	w24, #0, LBB0_25
; %bb.24:
	mov	x0, x20
	mov	x1, x21
	bl	_nhmex_mbox_put_shared_reg
LBB0_25:
	tbz	w24, #1, LBB0_27
; %bb.26:
	mov	x0, x20
	mov	x1, x22
	bl	_nhmex_mbox_put_shared_reg
LBB0_27:
Lloh2:
	adrp	x0, _constraint_empty@GOTPAGE
Lloh3:
	ldr	x0, [x0, _constraint_empty@GOTPAGEOFF]
	b	LBB0_34
LBB0_28:
	mov	x0, x20
	bl	_uncore_box_is_fake
	cbz	x0, LBB0_30
; %bb.29:
	mov	x0, #0
	b	LBB0_34
LBB0_30:
	tbnz	w26, #0, LBB0_33
; %bb.31:
	ldr	w0, [x19, #16]
	mov	w1, #0
	mov	w2, #8
	bl	___BITS_VALUE
	cmp	w21, w0
	b.eq	LBB0_33
; %bb.32:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_nhmex_mbox_alter_er
LBB0_33:
	mov	x0, #0
	ldr	w8, [x19, #20]
	orr	w8, w8, w24
	str	w8, [x19, #20]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_34:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EXTRA_REG_NHMEX_M_ZDP_CTL_FVC,4,2 ; @EXTRA_REG_NHMEX_M_ZDP_CTL_FVC
	.comm	_constraint_empty,4,2           ; @constraint_empty
	.no_dead_strip	_nhmex_mbox_get_constraint
.subsections_via_symbols
