	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assert_node
_assert_node:                           ## @assert_node
	.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
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_drm_mm_node_allocated
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	cmpq	%r12, 24(%rbx)
	je	LBB0_2
LBB0_3:
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_4
LBB0_2:
	movl	$1, %r12d
LBB0_4:
	movq	(%rbx), %rsi
	cmpq	%r13, %rsi
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_misalignment
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	16(%rbx), %r13d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_misalignment
	leaq	L_.str.2(%rip), %rdi
	xorl	%r12d, %r12d
	movl	%r13d, %esi
	movq	%rax, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_8:
	movq	8(%rbx), %rsi
	cmpq	%r14, %rsi
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"node not allocated\n"

L_.str.1:                               ## @.str.1
	.asciz	"node has wrong size, found %llu, expected %llu\n"

L_.str.2:                               ## @.str.2
	.asciz	"node is misaligned, start %llx rem %llu, expected alignment %llu\n"

L_.str.3:                               ## @.str.3
	.asciz	"node has wrong color, found %lu, expected %lu\n"

	.no_dead_strip	_assert_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assert_node
_assert_node:                           ; @assert_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	bl	_drm_mm_node_allocated
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #24]
	cmp	x8, x23
	b.eq	LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w23, #0
	b	LBB0_4
LBB0_3:
	mov	w23, #1
LBB0_4:
	ldr	x8, [x20]
	cmp	x8, x22
	b.eq	LBB0_6
; %bb.5:
	stp	x8, x22, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	mov	w23, #0
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_misalignment
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w22, [x20, #16]
	mov	x0, x20
	mov	x1, x21
	bl	_misalignment
	stp	x0, x21, [sp, #8]
	str	x22, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	mov	w23, #0
LBB0_8:
	ldr	x8, [x20, #8]
	cmp	x8, x19
	b.eq	LBB0_10
; %bb.9:
	stp	x8, x19, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
	mov	w23, #0
LBB0_10:
	mov	x0, x23
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"node not allocated\n"

l_.str.1:                               ; @.str.1
	.asciz	"node has wrong size, found %llu, expected %llu\n"

l_.str.2:                               ; @.str.2
	.asciz	"node is misaligned, start %llx rem %llu, expected alignment %llu\n"

l_.str.3:                               ; @.str.3
	.asciz	"node has wrong color, found %lu, expected %lu\n"

	.no_dead_strip	_assert_node
.subsections_via_symbols
