	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_driver
_create_driver:                         ## @create_driver
	.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	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	20(%rbx), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strlcpy
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_lockdep_set_class
	movq	_DRIVER_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	leaq	8(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movl	$1, (%rbx)
	movq	_ops_mutex@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	addq	$4, %rdi
	movq	_opslist@GOTPCREL(%rip), %rsi
	callq	_list_add_tail
	movq	_num_ops@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%r14, %rdi
	callq	_mutex_unlock
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_DRIVER_EMPTY,4,2               ## @DRIVER_EMPTY
	.comm	_ops_mutex,4,2                  ## @ops_mutex
	.comm	_opslist,4,2                    ## @opslist
	.comm	_num_ops,4,2                    ## @num_ops
	.no_dead_strip	_create_driver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_driver
_create_driver:                         ; @create_driver
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #20]
	mov	x1, x20
	mov	w2, #4
	bl	_strlcpy
	add	x21, x19, #16
	mov	x0, x21
	bl	_mutex_init
	mov	x0, x21
	mov	x1, x20
	bl	_lockdep_set_class
Lloh3:
	adrp	x8, _DRIVER_EMPTY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRIVER_EMPTY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	add	x0, x19, #8
	bl	_INIT_LIST_HEAD
	mov	w8, #1
	str	w8, [x19]
Lloh6:
	adrp	x20, _ops_mutex@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ops_mutex@GOTPAGEOFF]
	mov	x0, x20
	bl	_mutex_lock
	add	x0, x19, #4
Lloh8:
	adrp	x1, _opslist@GOTPAGE
Lloh9:
	ldr	x1, [x1, _opslist@GOTPAGEOFF]
	bl	_list_add_tail
Lloh10:
	adrp	x8, _num_ops@GOTPAGE
Lloh11:
	ldr	x8, [x8, _num_ops@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x20
	bl	_mutex_unlock
LBB0_2:
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_DRIVER_EMPTY,4,2               ; @DRIVER_EMPTY
	.comm	_ops_mutex,4,2                  ; @ops_mutex
	.comm	_opslist,4,2                    ; @opslist
	.comm	_num_ops,4,2                    ; @num_ops
	.no_dead_strip	_create_driver
.subsections_via_symbols
