	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sysdev_class_register          ## -- Begin function sysdev_class_register
	.p2align	4, 0x90
_sysdev_class_register:                 ## @sysdev_class_register
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	leaq	28(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_system_kset@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	_ktype_sysdev_class@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rbx)
	movq	%rax, (%rbx)
	movl	24(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_kobject_set_name
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kset_register                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Registering sysdev class '%s'\n"

	.comm	_system_kset,8,3                ## @system_kset
	.comm	_ktype_sysdev_class,4,2         ## @ktype_sysdev_class
L_.str.1:                               ## @.str.1
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sysdev_class_register          ; -- Begin function sysdev_class_register
	.p2align	2
_sysdev_class_register:                 ; @sysdev_class_register
	.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	x19, x0
	ldr	w1, [x0, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	add	x0, x19, #28
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh2:
	adrp	x8, _system_kset@GOTPAGE
Lloh3:
	ldr	x8, [x8, _system_kset@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #16]
Lloh5:
	adrp	x9, _ktype_sysdev_class@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ktype_sysdev_class@GOTPAGEOFF]
	stp	x8, x9, [x19]
	ldr	w2, [x19, #24]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_kobject_set_name
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kset_register
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Registering sysdev class '%s'\n"

	.comm	_system_kset,8,3                ; @system_kset
	.comm	_ktype_sysdev_class,4,2         ; @ktype_sysdev_class
l_.str.1:                               ; @.str.1
	.asciz	"%s"

.subsections_via_symbols
