	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ubi_sysfs_close
_ubi_sysfs_close:                       ## @ubi_sysfs_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_dev_mtd_num@GOTPCREL(%rip), %rsi
	callq	_device_remove_file
	movq	_dev_bgt_enabled@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_min_io_size@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_max_vol_count@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_bad_peb_count@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_reserved_for_bad@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_max_ec@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_volumes_count@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_total_eraseblocks@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_avail_eraseblocks@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_eraseblock_size@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_device_unregister              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_mtd_num,4,2                ## @dev_mtd_num
	.comm	_dev_bgt_enabled,4,2            ## @dev_bgt_enabled
	.comm	_dev_min_io_size,4,2            ## @dev_min_io_size
	.comm	_dev_max_vol_count,4,2          ## @dev_max_vol_count
	.comm	_dev_bad_peb_count,4,2          ## @dev_bad_peb_count
	.comm	_dev_reserved_for_bad,4,2       ## @dev_reserved_for_bad
	.comm	_dev_max_ec,4,2                 ## @dev_max_ec
	.comm	_dev_volumes_count,4,2          ## @dev_volumes_count
	.comm	_dev_total_eraseblocks,4,2      ## @dev_total_eraseblocks
	.comm	_dev_avail_eraseblocks,4,2      ## @dev_avail_eraseblocks
	.comm	_dev_eraseblock_size,4,2        ## @dev_eraseblock_size
	.no_dead_strip	_ubi_sysfs_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ubi_sysfs_close
_ubi_sysfs_close:                       ; @ubi_sysfs_close
	.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
Lloh0:
	adrp	x1, _dev_mtd_num@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dev_mtd_num@GOTPAGEOFF]
	bl	_device_remove_file
Lloh2:
	adrp	x1, _dev_bgt_enabled@GOTPAGE
Lloh3:
	ldr	x1, [x1, _dev_bgt_enabled@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh4:
	adrp	x1, _dev_min_io_size@GOTPAGE
Lloh5:
	ldr	x1, [x1, _dev_min_io_size@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh6:
	adrp	x1, _dev_max_vol_count@GOTPAGE
Lloh7:
	ldr	x1, [x1, _dev_max_vol_count@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh8:
	adrp	x1, _dev_bad_peb_count@GOTPAGE
Lloh9:
	ldr	x1, [x1, _dev_bad_peb_count@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh10:
	adrp	x1, _dev_reserved_for_bad@GOTPAGE
Lloh11:
	ldr	x1, [x1, _dev_reserved_for_bad@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh12:
	adrp	x1, _dev_max_ec@GOTPAGE
Lloh13:
	ldr	x1, [x1, _dev_max_ec@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh14:
	adrp	x1, _dev_volumes_count@GOTPAGE
Lloh15:
	ldr	x1, [x1, _dev_volumes_count@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh16:
	adrp	x1, _dev_total_eraseblocks@GOTPAGE
Lloh17:
	ldr	x1, [x1, _dev_total_eraseblocks@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh18:
	adrp	x1, _dev_avail_eraseblocks@GOTPAGE
Lloh19:
	ldr	x1, [x1, _dev_avail_eraseblocks@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh20:
	adrp	x1, _dev_eraseblock_size@GOTPAGE
Lloh21:
	ldr	x1, [x1, _dev_eraseblock_size@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_device_unregister
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_mtd_num,4,2                ; @dev_mtd_num
	.comm	_dev_bgt_enabled,4,2            ; @dev_bgt_enabled
	.comm	_dev_min_io_size,4,2            ; @dev_min_io_size
	.comm	_dev_max_vol_count,4,2          ; @dev_max_vol_count
	.comm	_dev_bad_peb_count,4,2          ; @dev_bad_peb_count
	.comm	_dev_reserved_for_bad,4,2       ; @dev_reserved_for_bad
	.comm	_dev_max_ec,4,2                 ; @dev_max_ec
	.comm	_dev_volumes_count,4,2          ; @dev_volumes_count
	.comm	_dev_total_eraseblocks,4,2      ; @dev_total_eraseblocks
	.comm	_dev_avail_eraseblocks,4,2      ; @dev_avail_eraseblocks
	.comm	_dev_eraseblock_size,4,2        ; @dev_eraseblock_size
	.no_dead_strip	_ubi_sysfs_close
.subsections_via_symbols
