	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kfd_chardev_exit               ## -- Begin function kfd_chardev_exit
	.p2align	4, 0x90
_kfd_chardev_exit:                      ## @kfd_chardev_exit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_kfd_class@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	_kfd_char_dev_major@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_MKDEV
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_device_destroy
	movl	(%r14), %edi
	callq	_class_destroy
	movl	(%r15), %edi
	movq	_kfd_dev_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unregister_chrdev              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_kfd_class,4,2                  ## @kfd_class
	.comm	_kfd_char_dev_major,4,2         ## @kfd_char_dev_major
	.comm	_kfd_dev_name,4,2               ## @kfd_dev_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kfd_chardev_exit               ; -- Begin function kfd_chardev_exit
	.p2align	2
_kfd_chardev_exit:                      ; @kfd_chardev_exit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _kfd_class@GOTPAGE
Lloh1:
	ldr	x20, [x20, _kfd_class@GOTPAGEOFF]
	ldr	w19, [x20]
Lloh2:
	adrp	x21, _kfd_char_dev_major@GOTPAGE
Lloh3:
	ldr	x21, [x21, _kfd_char_dev_major@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #0
	bl	_MKDEV
	mov	x1, x0
	mov	x0, x19
	bl	_device_destroy
	ldr	w0, [x20]
	bl	_class_destroy
	ldr	w0, [x21]
Lloh4:
	adrp	x8, _kfd_dev_name@GOTPAGE
Lloh5:
	ldr	x8, [x8, _kfd_dev_name@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_unregister_chrdev
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_kfd_class,4,2                  ; @kfd_class
	.comm	_kfd_char_dev_major,4,2         ; @kfd_char_dev_major
	.comm	_kfd_dev_name,4,2               ; @kfd_dev_name
.subsections_via_symbols
