	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_add_host_debugfs           ## -- Begin function mmc_add_host_debugfs
	.p2align	4, 0x90
_mmc_add_host_debugfs:                  ## @mmc_add_host_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_mmc_hostname
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_debugfs_create_dir
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	movq	%rbx, 8(%r14)
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movq	_mmc_ios_fops@GOTPCREL(%rip), %r8
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_debugfs_create_file
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_debugfs_remove_recursive
	movq	$0, 8(%r14)
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ios"

	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_mmc_ios_fops,4,2               ## @mmc_ios_fops
L_.str.1:                               ## @.str.1
	.asciz	"failed to initialize debugfs\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_add_host_debugfs           ; -- Begin function mmc_add_host_debugfs
	.p2align	2
_mmc_add_host_debugfs:                  ; @mmc_add_host_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, x0
	bl	_mmc_hostname
	mov	x1, #0
	bl	_debugfs_create_dir
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	cbz	x20, LBB0_5
; %bb.3:
	str	x20, [x19, #8]
Lloh0:
	adrp	x8, _S_IRUSR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_IRUSR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x4, _mmc_ios_fops@GOTPAGE
Lloh6:
	ldr	x4, [x4, _mmc_ios_fops@GOTPAGEOFF]
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
	cbnz	w0, LBB0_1
; %bb.4:
	mov	x0, x20
	bl	_debugfs_remove_recursive
	str	xzr, [x19, #8]
LBB0_5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ios"

	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_mmc_ios_fops,4,2               ; @mmc_ios_fops
l_.str.1:                               ; @.str.1
	.asciz	"failed to initialize debugfs\n"

.subsections_via_symbols
