	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gru_check_chiplet_assignment
_gru_check_chiplet_assignment:          ## @gru_check_chiplet_assignment
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %ecx
	testl	%ecx, %ecx
	jns	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_uv_numa_blade_id
	movl	%eax, %ecx
LBB0_2:
	xorl	%eax, %eax
	cmpl	%ecx, (%r14)
	jne	LBB0_6
## %bb.3:
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	js	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	cmpl	4(%r14), %ecx
	sete	%al
	jmp	LBB0_6
LBB0_4:
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gru_check_chiplet_assignment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gru_check_chiplet_assignment
_gru_check_chiplet_assignment:          ; @gru_check_chiplet_assignment
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
	tbz	w0, #31, LBB0_2
; %bb.1:
	bl	_uv_numa_blade_id
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, w0
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x20, #4]
	tbnz	w8, #31, LBB0_6
; %bb.4:
	ldr	w9, [x19, #4]
	cmp	w8, w9
	cset	w0, eq
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gru_check_chiplet_assignment
.subsections_via_symbols
