	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mbox_test_add_debugfs
_mbox_test_add_debugfs:                 ## @mbox_test_add_debugfs
	.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	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_debugfs_initialized
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	callq	_dev_name
	xorl	%ebx, %ebx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_debugfs_create_dir
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	_mbox_test_message_ops@GOTPCREL(%rip), %r8
	movl	$384, %esi                      ## imm = 0x180
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_debugfs_create_file
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rdi
	movq	_mbox_test_signal_ops@GOTPCREL(%rip), %r8
	movl	$128, %esi
	movq	%r14, %rcx
	callq	_debugfs_create_file
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to create Mailbox debugfs\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"message"

	.comm	_mbox_test_message_ops,4,2      ## @mbox_test_message_ops
L_.str.2:                               ## @.str.2
	.asciz	"signal"

	.comm	_mbox_test_signal_ops,4,2       ## @mbox_test_signal_ops
	.no_dead_strip	_mbox_test_add_debugfs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mbox_test_add_debugfs
_mbox_test_add_debugfs:                 ; @mbox_test_add_debugfs
	.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, x1
	mov	x20, x0
	bl	_debugfs_initialized
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_dev_name
	mov	x1, #0
	bl	_debugfs_create_dir
	str	w0, [x19]
	cbz	w0, LBB0_3
; %bb.2:
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh2:
	adrp	x4, _mbox_test_message_ops@GOTPAGE
Lloh3:
	ldr	x4, [x4, _mbox_test_message_ops@GOTPAGEOFF]
	mov	w1, #384
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	w2, [x19]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh6:
	adrp	x4, _mbox_test_signal_ops@GOTPAGE
Lloh7:
	ldr	x4, [x4, _mbox_test_signal_ops@GOTPAGEOFF]
	mov	w1, #128
	mov	x3, x19
	bl	_debugfs_create_file
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to create Mailbox debugfs\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"message"

	.comm	_mbox_test_message_ops,4,2      ; @mbox_test_message_ops
l_.str.2:                               ; @.str.2
	.asciz	"signal"

	.comm	_mbox_test_signal_ops,4,2       ; @mbox_test_signal_ops
	.no_dead_strip	_mbox_test_add_debugfs
.subsections_via_symbols
