	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hl_debugfs_add_device          ## -- Begin function hl_debugfs_add_device
	.p2align	4, 0x90
_hl_debugfs_add_device:                 ## @hl_debugfs_add_device
	.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	%rdi, %r12
	movq	_hl_debugfs_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r14d
	movq	%r12, 112(%r12)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	$112, %esi
	callq	_kmalloc_array
	movq	%rax, 40(%r12)
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	leaq	8(%r12), %rbx
	leaq	108(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	104(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	100(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	96(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	92(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	88(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	84(%r12), %rdi
	callq	_mutex_init
	leaq	80(%r12), %rdi
	callq	_spin_lock_init
	leaq	76(%r12), %rdi
	callq	_spin_lock_init
	leaq	72(%r12), %rdi
	callq	_spin_lock_init
	leaq	68(%r12), %rdi
	callq	_spin_lock_init
	leaq	64(%r12), %rdi
	callq	_spin_lock_init
	movl	(%r12), %edi
	callq	_dev_name
	movq	_hl_debug_root@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_debugfs_create_dir
	movl	%eax, 32(%r12)
	leaq	60(%r12), %rcx
	leaq	L_.str(%rip), %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	movl	%eax, %edx
	callq	_debugfs_create_x64
	movl	32(%r12), %edx
	leaq	L_.str.1(%rip), %rdi
	movq	_hl_data32b_fops@GOTPCREL(%rip), %r8
	movl	$420, %esi                      ## imm = 0x1A4
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	32(%r12), %edx
	leaq	L_.str.2(%rip), %rdi
	movq	_hl_power_fops@GOTPCREL(%rip), %r8
	movl	$128, %esi
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	32(%r12), %edx
	leaq	56(%r12), %rcx
	leaq	L_.str.3(%rip), %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_debugfs_create_u8
	movl	32(%r12), %edx
	leaq	52(%r12), %rcx
	leaq	L_.str.4(%rip), %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_debugfs_create_u8
	movl	32(%r12), %edx
	leaq	48(%r12), %rcx
	leaq	L_.str.5(%rip), %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_debugfs_create_u8
	movl	32(%r12), %edx
	leaq	L_.str.6(%rip), %rdi
	movq	_hl_i2c_data_fops@GOTPCREL(%rip), %r8
	movl	$420, %esi                      ## imm = 0x1A4
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	32(%r12), %edx
	leaq	L_.str.7(%rip), %rdi
	movq	_hl_led0_fops@GOTPCREL(%rip), %r8
	movl	$128, %esi
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	32(%r12), %edx
	leaq	L_.str.8(%rip), %rdi
	movq	_hl_led1_fops@GOTPCREL(%rip), %r8
	movl	$128, %esi
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	32(%r12), %edx
	leaq	L_.str.9(%rip), %rdi
	movq	_hl_led2_fops@GOTPCREL(%rip), %r8
	movl	$128, %esi
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	32(%r12), %edx
	leaq	L_.str.10(%rip), %rdi
	movq	_hl_device_fops@GOTPCREL(%rip), %r8
	movl	$128, %esi
	movq	%rbx, %r15
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movq	_hl_debugfs_list@GOTPCREL(%rip), %rcx
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.2:
	movq	40(%r12), %rbx
	movl	%r14d, %r13d
	shlq	$3, %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rax
	movq	(%rax,%r14), %rdi
	movl	32(%r12), %edx
	movl	$292, %esi                      ## imm = 0x124
	movq	%rbx, %rcx
	movq	_hl_debugfs_fops@GOTPCREL(%rip), %r8
	callq	_debugfs_create_file
	movq	_hl_debugfs_list@GOTPCREL(%rip), %rcx
	movq	%rax, 16(%rbx)
	movq	(%rcx), %rax
	addq	%r14, %rax
	movq	%rax, 8(%rbx)
	movq	%r15, (%rbx)
	addq	$8, %r14
	addq	$112, %rbx
	cmpq	%r14, %r13
	jne	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hl_debugfs_list,8,3            ## @hl_debugfs_list
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_hl_debug_root,4,2              ## @hl_debug_root
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"addr"

L_.str.1:                               ## @.str.1
	.asciz	"data32"

	.comm	_hl_data32b_fops,4,2            ## @hl_data32b_fops
L_.str.2:                               ## @.str.2
	.asciz	"set_power_state"

	.comm	_hl_power_fops,4,2              ## @hl_power_fops
L_.str.3:                               ## @.str.3
	.asciz	"i2c_bus"

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

L_.str.5:                               ## @.str.5
	.asciz	"i2c_reg"

L_.str.6:                               ## @.str.6
	.asciz	"i2c_data"

	.comm	_hl_i2c_data_fops,4,2           ## @hl_i2c_data_fops
L_.str.7:                               ## @.str.7
	.asciz	"led0"

	.comm	_hl_led0_fops,4,2               ## @hl_led0_fops
L_.str.8:                               ## @.str.8
	.asciz	"led1"

	.comm	_hl_led1_fops,4,2               ## @hl_led1_fops
L_.str.9:                               ## @.str.9
	.asciz	"led2"

	.comm	_hl_led2_fops,4,2               ## @hl_led2_fops
L_.str.10:                              ## @.str.10
	.asciz	"device"

	.comm	_hl_device_fops,4,2             ## @hl_device_fops
	.comm	_hl_debugfs_fops,4,2            ## @hl_debugfs_fops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hl_debugfs_add_device          ; -- Begin function hl_debugfs_add_device
	.p2align	2
_hl_debugfs_add_device:                 ; @hl_debugfs_add_device
	.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, x0
Lloh0:
	adrp	x23, _hl_debugfs_list@GOTPAGE
Lloh1:
	ldr	x23, [x23, _hl_debugfs_list@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	mov	x21, x0
	str	x19, [x19, #112]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #112
	bl	_kmalloc_array
	str	x0, [x19, #40]
	cbz	x0, LBB0_4
; %bb.1:
	add	x20, x19, #8
	add	x0, x19, #108
	bl	_INIT_LIST_HEAD
	add	x0, x19, #104
	bl	_INIT_LIST_HEAD
	add	x0, x19, #100
	bl	_INIT_LIST_HEAD
	add	x0, x19, #96
	bl	_INIT_LIST_HEAD
	add	x0, x19, #92
	bl	_INIT_LIST_HEAD
	add	x0, x19, #88
	bl	_INIT_LIST_HEAD
	add	x0, x19, #84
	bl	_mutex_init
	add	x0, x19, #80
	bl	_spin_lock_init
	add	x0, x19, #76
	bl	_spin_lock_init
	add	x0, x19, #72
	bl	_spin_lock_init
	add	x0, x19, #68
	bl	_spin_lock_init
	add	x0, x19, #64
	bl	_spin_lock_init
	ldr	w0, [x19]
	bl	_dev_name
Lloh5:
	adrp	x8, _hl_debug_root@GOTPAGE
Lloh6:
	ldr	x8, [x8, _hl_debug_root@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_debugfs_create_dir
	mov	x2, x0
	str	w0, [x19, #32]
	add	x3, x19, #60
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #420
	bl	_debugfs_create_x64
	ldr	w2, [x19, #32]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh12:
	adrp	x4, _hl_data32b_fops@GOTPAGE
Lloh13:
	ldr	x4, [x4, _hl_data32b_fops@GOTPAGEOFF]
	mov	w1, #420
	mov	x3, x20
	bl	_debugfs_create_file
	ldr	w2, [x19, #32]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh16:
	adrp	x4, _hl_power_fops@GOTPAGE
Lloh17:
	ldr	x4, [x4, _hl_power_fops@GOTPAGEOFF]
	mov	w1, #128
	mov	x3, x20
	bl	_debugfs_create_file
	ldr	w2, [x19, #32]
	add	x3, x19, #56
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #420
	bl	_debugfs_create_u8
	ldr	w2, [x19, #32]
	add	x3, x19, #52
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #420
	bl	_debugfs_create_u8
	ldr	w2, [x19, #32]
	add	x3, x19, #48
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #420
	bl	_debugfs_create_u8
	ldr	w2, [x19, #32]
Lloh24:
	adrp	x0, l_.str.6@PAGE
Lloh25:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh26:
	adrp	x4, _hl_i2c_data_fops@GOTPAGE
Lloh27:
	ldr	x4, [x4, _hl_i2c_data_fops@GOTPAGEOFF]
	mov	w1, #420
	mov	x3, x20
	bl	_debugfs_create_file
	ldr	w2, [x19, #32]
Lloh28:
	adrp	x0, l_.str.7@PAGE
Lloh29:
	add	x0, x0, l_.str.7@PAGEOFF
Lloh30:
	adrp	x4, _hl_led0_fops@GOTPAGE
Lloh31:
	ldr	x4, [x4, _hl_led0_fops@GOTPAGEOFF]
	mov	w1, #128
	mov	x3, x20
	bl	_debugfs_create_file
	ldr	w2, [x19, #32]
Lloh32:
	adrp	x0, l_.str.8@PAGE
Lloh33:
	add	x0, x0, l_.str.8@PAGEOFF
Lloh34:
	adrp	x4, _hl_led1_fops@GOTPAGE
Lloh35:
	ldr	x4, [x4, _hl_led1_fops@GOTPAGEOFF]
	mov	w1, #128
	mov	x3, x20
	bl	_debugfs_create_file
	ldr	w2, [x19, #32]
Lloh36:
	adrp	x0, l_.str.9@PAGE
Lloh37:
	add	x0, x0, l_.str.9@PAGEOFF
Lloh38:
	adrp	x4, _hl_led2_fops@GOTPAGE
Lloh39:
	ldr	x4, [x4, _hl_led2_fops@GOTPAGEOFF]
	mov	w1, #128
	mov	x3, x20
	bl	_debugfs_create_file
	ldr	w2, [x19, #32]
Lloh40:
	adrp	x0, l_.str.10@PAGE
Lloh41:
	add	x0, x0, l_.str.10@PAGEOFF
Lloh42:
	adrp	x4, _hl_device_fops@GOTPAGE
Lloh43:
	ldr	x4, [x4, _hl_device_fops@GOTPAGEOFF]
	mov	w1, #128
	mov	x3, x20
	bl	_debugfs_create_file
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x24, #0
	ldr	x22, [x19, #40]
	mov	w8, w21
	lsl	x25, x8, #3
Lloh44:
	adrp	x21, _hl_debugfs_fops@GOTPAGE
Lloh45:
	ldr	x21, [x21, _hl_debugfs_fops@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x0, [x8, x24]
	ldr	w2, [x19, #32]
	mov	w1, #292
	mov	x3, x22
	mov	x4, x21
	bl	_debugfs_create_file
	str	x0, [x22, #16]
	ldr	x8, [x23]
	add	x8, x8, x24
	stp	x20, x8, [x22], #112
	add	x24, x24, #8
	cmp	x25, x24
	b.ne	LBB0_3
LBB0_4:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_hl_debugfs_list,8,3            ; @hl_debugfs_list
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_hl_debug_root,4,2              ; @hl_debug_root
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"addr"

l_.str.1:                               ; @.str.1
	.asciz	"data32"

	.comm	_hl_data32b_fops,4,2            ; @hl_data32b_fops
l_.str.2:                               ; @.str.2
	.asciz	"set_power_state"

	.comm	_hl_power_fops,4,2              ; @hl_power_fops
l_.str.3:                               ; @.str.3
	.asciz	"i2c_bus"

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

l_.str.5:                               ; @.str.5
	.asciz	"i2c_reg"

l_.str.6:                               ; @.str.6
	.asciz	"i2c_data"

	.comm	_hl_i2c_data_fops,4,2           ; @hl_i2c_data_fops
l_.str.7:                               ; @.str.7
	.asciz	"led0"

	.comm	_hl_led0_fops,4,2               ; @hl_led0_fops
l_.str.8:                               ; @.str.8
	.asciz	"led1"

	.comm	_hl_led1_fops,4,2               ; @hl_led1_fops
l_.str.9:                               ; @.str.9
	.asciz	"led2"

	.comm	_hl_led2_fops,4,2               ; @hl_led2_fops
l_.str.10:                              ; @.str.10
	.asciz	"device"

	.comm	_hl_device_fops,4,2             ; @hl_device_fops
	.comm	_hl_debugfs_fops,4,2            ; @hl_debugfs_fops
.subsections_via_symbols
