	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_mockup_debugfs_setup
_gpio_mockup_debugfs_setup:             ## @gpio_mockup_debugfs_setup
	.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	%rsi, %r13
	movq	%rdi, %r14
	movq	16(%rsi), %rdi
	addq	$8, %rdi
	callq	_dev_name
	movq	_gpio_mockup_dbg_dir@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_debugfs_create_dir
	movl	%eax, (%r13)
	cmpl	$0, 8(%r13)
	jle	LBB0_5
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	callq	_devm_kasprintf
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, 16(%rax)
	movl	%ebx, (%rax)
	movq	16(%r13), %rcx
	movq	(%rcx), %rcx
	addq	%r15, %rcx
	movq	%rcx, 8(%rax)
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	$128, %esi
	movq	%rax, %rcx
	movq	_gpio_mockup_debugfs_ops@GOTPCREL(%rip), %r8
	callq	_debugfs_create_file
	incq	%rbx
	movslq	8(%r13), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gpio_mockup_dbg_dir,4,2        ## @gpio_mockup_dbg_dir
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_gpio_mockup_debugfs_ops,4,2    ## @gpio_mockup_debugfs_ops
	.no_dead_strip	_gpio_mockup_debugfs_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_mockup_debugfs_setup
_gpio_mockup_debugfs_setup:             ; @gpio_mockup_debugfs_setup
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #16]
	add	x0, x8, #8
	bl	_dev_name
Lloh0:
	adrp	x8, _gpio_mockup_dbg_dir@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gpio_mockup_dbg_dir@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_debugfs_create_dir
	str	w0, [x19]
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x25, #0
	mov	x21, #0
Lloh3:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	adrp	x22, _gpio_mockup_debugfs_ops@GOTPAGE
Lloh6:
	ldr	x22, [x22, _gpio_mockup_debugfs_ops@GOTPAGEOFF]
Lloh7:
	adrp	x23, l_.str@PAGE
Lloh8:
	add	x23, x23, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	x0, x20
	mov	x2, x23
	mov	x3, x21
	bl	_devm_kasprintf
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, x0
	ldr	w2, [x26]
	mov	x0, x20
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x3, x0
	str	w21, [x0]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	add	x8, x8, x25
	stp	x8, x19, [x0, #8]
	ldr	w2, [x19]
	mov	x0, x24
	mov	w1, #128
	mov	x4, x22
	bl	_debugfs_create_file
	add	x21, x21, #1
	ldrsw	x8, [x19, #8]
	add	x25, x25, #4
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_gpio_mockup_dbg_dir,4,2        ; @gpio_mockup_dbg_dir
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_gpio_mockup_debugfs_ops,4,2    ; @gpio_mockup_debugfs_ops
	.no_dead_strip	_gpio_mockup_debugfs_setup
.subsections_via_symbols
