	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2x00debug_create_file_driver
_rt2x00debug_create_file_driver:        ## @rt2x00debug_create_file_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_MAX_LINE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, (%r12)
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	movslq	%eax, %rdi
	addq	%rbx, %rdi
	movq	_DRV_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_sprintf
	movq	(%r12), %rdi
	callq	_strlen
	movl	%eax, 8(%r12)
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r12, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debugfs_create_blob            ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LINE_LENGTH,4,2            ## @MAX_LINE_LENGTH
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"driver:\t%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"version:\t%s\n"

	.comm	_DRV_VERSION,8,3                ## @DRV_VERSION
	.no_dead_strip	_rt2x00debug_create_file_driver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2x00debug_create_file_driver
_rt2x00debug_create_file_driver:        ; @rt2x00debug_create_file_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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MAX_LINE_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_LINE_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w0, w8, w8, lsl #1
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	str	x0, [x19]
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	x2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	add	x0, x22, w0, sxtw
Lloh8:
	adrp	x8, _DRV_VERSION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRV_VERSION@GOTPAGEOFF]
Lloh10:
	ldr	x2, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	ldr	x0, [x19]
	bl	_strlen
	str	w0, [x19, #8]
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #256
	mov	x3, 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
	b	_debugfs_create_blob
LBB0_2:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LINE_LENGTH,4,2            ; @MAX_LINE_LENGTH
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"driver:\t%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"version:\t%s\n"

	.comm	_DRV_VERSION,8,3                ; @DRV_VERSION
	.no_dead_strip	_rt2x00debug_create_file_driver
.subsections_via_symbols
