	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvr2_sysfs_class_create        ## -- Begin function pvr2_sysfs_class_create
	.p2align	4, 0x90
_pvr2_sysfs_class_create:               ## @pvr2_sysfs_class_create
	.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	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_pvr2_sysfs_trace
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%rbx)
	movq	_pvr2_sysfs_class_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_pvr2_sysfs_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_class_register
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pvr2_sysfs_trace
	movq	%rbx, %rdi
	callq	_kfree
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Creating and registering pvr2_sysfs_class id=%p"

L_.str.1:                               ## @.str.1
	.asciz	"pvrusb2"

	.comm	_pvr2_sysfs_class_release,4,2   ## @pvr2_sysfs_class_release
	.comm	_pvr2_sysfs_release,4,2         ## @pvr2_sysfs_release
L_.str.2:                               ## @.str.2
	.asciz	"Registration failed for pvr2_sysfs_class id=%p"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvr2_sysfs_class_create        ; -- Begin function pvr2_sysfs_class_create
	.p2align	2
_pvr2_sysfs_class_create:               ; @pvr2_sysfs_class_create
	.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
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pvr2_sysfs_trace
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x19]
Lloh7:
	adrp	x8, _pvr2_sysfs_class_release@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pvr2_sysfs_class_release@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _pvr2_sysfs_release@GOTPAGE
Lloh11:
	ldr	x9, [x9, _pvr2_sysfs_release@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	mov	x0, x19
	bl	_class_register
	cbz	x0, LBB0_3
; %bb.2:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_pvr2_sysfs_trace
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Creating and registering pvr2_sysfs_class id=%p"

l_.str.1:                               ; @.str.1
	.asciz	"pvrusb2"

	.comm	_pvr2_sysfs_class_release,4,2   ; @pvr2_sysfs_class_release
	.comm	_pvr2_sysfs_release,4,2         ; @pvr2_sysfs_release
l_.str.2:                               ; @.str.2
	.asciz	"Registration failed for pvr2_sysfs_class id=%p"

.subsections_via_symbols
