	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dpu_kms_drm_obj_destroy
__dpu_kms_drm_obj_destroy:              ## @_dpu_kms_drm_obj_destroy
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_19
## %bb.6:
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movl	$0, (%r14)
	cmpl	$0, 4(%r14)
	jle	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	incq	%rbx
	movslq	4(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_12:
	movl	$0, 4(%r14)
	cmpl	$0, 8(%r14)
	jle	LBB0_15
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	incq	%rbx
	movslq	8(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_14
LBB0_15:
	movl	$0, 8(%r14)
	cmpl	$0, 12(%r14)
	jle	LBB0_18
## %bb.16:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	incq	%rbx
	movslq	12(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_17
LBB0_18:
	movl	$0, 12(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_19:
	leaq	L_.str.2(%rip), %rdi
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DPU_ERROR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid dpu_kms\n"

L_.str.1:                               ## @.str.1
	.asciz	"invalid dev\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid dev_private\n"

	.no_dead_strip	__dpu_kms_drm_obj_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _dpu_kms_drm_obj_destroy
__dpu_kms_drm_obj_destroy:              ; @_dpu_kms_drm_obj_destroy
	.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
	cbz	x0, LBB0_16
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_17
; %bb.2:
	ldr	x19, [x8]
	cbz	x19, LBB0_18
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	x0, [x8, x20, lsl #3]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_5
LBB0_6:
	str	wzr, [x19]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x20, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	x0, [x8, x20, lsl #3]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.lt	LBB0_8
LBB0_9:
	str	wzr, [x19, #4]
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x20, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x0, [x8, x20, lsl #3]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	add	x20, x20, #1
	ldrsw	x8, [x19, #8]
	cmp	x20, x8
	b.lt	LBB0_11
LBB0_12:
	str	wzr, [x19, #8]
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x20, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x20, lsl #3]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	add	x20, x20, #1
	ldrsw	x8, [x19, #12]
	cmp	x20, x8
	b.lt	LBB0_14
LBB0_15:
	str	wzr, [x19, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_19
LBB0_17:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DPU_ERROR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid dpu_kms\n"

l_.str.1:                               ; @.str.1
	.asciz	"invalid dev\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid dev_private\n"

	.no_dead_strip	__dpu_kms_drm_obj_destroy
.subsections_via_symbols
