	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmci_init_debugfs
_atmci_init_debugfs:                    ## @atmci_init_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %r14
	movq	8(%r14), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r13
	movq	16(%rdi), %r15
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movq	_atmci_regs_fops@GOTPCREL(%rip), %r8
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_debugfs_create_file
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	_atmci_req_fops@GOTPCREL(%rip), %r8
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_debugfs_create_file
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%r15), %rcx
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rdx
	callq	_debugfs_create_u32
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	4(%r15), %rcx
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rdx
	callq	_debugfs_create_x32
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_debugfs_create_x32
	testq	%rax, %rax
	jne	LBB0_7
LBB0_8:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"regs"

	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_atmci_regs_fops,4,2            ## @atmci_regs_fops
L_.str.1:                               ## @.str.1
	.asciz	"req"

	.comm	_atmci_req_fops,4,2             ## @atmci_req_fops
L_.str.2:                               ## @.str.2
	.asciz	"state"

L_.str.3:                               ## @.str.3
	.asciz	"pending_events"

L_.str.4:                               ## @.str.4
	.asciz	"completed_events"

L_.str.5:                               ## @.str.5
	.asciz	"failed to initialize debugfs for slot\n"

	.no_dead_strip	_atmci_init_debugfs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmci_init_debugfs
_atmci_init_debugfs:                    ; @atmci_init_debugfs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x19, [x0, #24]
	ldr	x20, [x19, #8]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x22, x0
	ldr	x21, [x0, #16]
Lloh0:
	adrp	x24, _S_IRUSR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _S_IRUSR@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x4, _atmci_regs_fops@GOTPAGE
Lloh5:
	ldr	x4, [x4, _atmci_regs_fops@GOTPAGEOFF]
	mov	x2, x20
	mov	x3, x21
	bl	_debugfs_create_file
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	cbz	x23, LBB0_8
; %bb.4:
	ldr	w1, [x24]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh8:
	adrp	x4, _atmci_req_fops@GOTPAGE
Lloh9:
	ldr	x4, [x4, _atmci_req_fops@GOTPAGEOFF]
	mov	x2, x20
	mov	x3, x22
	bl	_debugfs_create_file
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w1, [x24]
	add	x3, x21, #8
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_debugfs_create_u32
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w1, [x24]
	add	x3, x21, #4
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_debugfs_create_x32
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w1, [x24]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x20
	mov	x3, x21
	bl	_debugfs_create_x32
	cbnz	x0, LBB0_2
LBB0_8:
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dev_err
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"regs"

	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_atmci_regs_fops,4,2            ; @atmci_regs_fops
l_.str.1:                               ; @.str.1
	.asciz	"req"

	.comm	_atmci_req_fops,4,2             ; @atmci_req_fops
l_.str.2:                               ; @.str.2
	.asciz	"state"

l_.str.3:                               ; @.str.3
	.asciz	"pending_events"

l_.str.4:                               ; @.str.4
	.asciz	"completed_events"

l_.str.5:                               ; @.str.5
	.asciz	"failed to initialize debugfs for slot\n"

	.no_dead_strip	_atmci_init_debugfs
.subsections_via_symbols
