	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function freeze
_freeze:                                ## @freeze
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	__PATH_UFSSUSPEND@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	movq	_g_ufs_suspend_handle@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	_MNT_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	callq	_getmntinfo
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	jle	LBB0_4
## %bb.7:
	movl	%eax, %r12d
	incq	%r12
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_8
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_VSS_LOG
	movq	_errno@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	%r15, %r13
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %edx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_VSS_LOG
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	decq	%r12
	cmpq	$1, %r12
	jbe	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%r12), %r15d
	movq	-56(%rbp), %r13
	shlq	$4, %r15
	movl	(%r13,%r15), %ebx
	movq	_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	_MNT_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r13,%r15)
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	8(%r13,%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_g_ufs_suspend_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UFSSUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	(%r15,%r13), %rdx
	addq	$12, %rdx
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_VSS_LOG
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_14
LBB0_5:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_VSS_LOG
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_15
LBB0_4:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_15:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PATH_UFSSUSPEND,4,2           ## @_PATH_UFSSUSPEND
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_g_ufs_suspend_handle,4,2       ## @g_ufs_suspend_handle
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to open %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_MNT_NOWAIT,4,2                 ## @MNT_NOWAIT
L_.str.1:                               ## @.str.1
	.asciz	"There is no mount information\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_dev,8,3                        ## @dev
	.comm	_MNT_RDONLY,4,2                 ## @MNT_RDONLY
L_.str.2:                               ## @.str.2
	.asciz	"ufs"

	.comm	_UFSSUSPEND,4,2                 ## @UFSSUSPEND
L_.str.3:                               ## @.str.3
	.asciz	"error: %d\n"

	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
L_.str.4:                               ## @.str.4
	.asciz	"Successfully suspend fs: %s\n"

	.no_dead_strip	_freeze
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function freeze
_freeze:                                ; @freeze
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x19, __PATH_UFSSUSPEND@GOTPAGE
Lloh1:
	ldr	x19, [x19, __PATH_UFSSUSPEND@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_open
Lloh5:
	adrp	x25, _g_ufs_suspend_handle@GOTPAGE
Lloh6:
	ldr	x25, [x25, _g_ufs_suspend_handle@GOTPAGEOFF]
	str	w0, [x25]
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
Lloh7:
	adrp	x8, _MNT_NOWAIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MNT_NOWAIT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_getmntinfo
	cbz	w0, LBB0_12
; %bb.2:
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.3:
	mov	w22, #0
	mov	w8, w0
	add	x26, x8, #1
Lloh10:
	adrp	x27, _dev@GOTPAGE
Lloh11:
	ldr	x27, [x27, _dev@GOTPAGEOFF]
Lloh12:
	adrp	x28, _MNT_RDONLY@GOTPAGE
Lloh13:
	ldr	x28, [x28, _MNT_RDONLY@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh14:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_VSS_LOG
Lloh19:
	adrp	x8, _errno@GOTPAGE
Lloh20:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh21:
	ldr	w22, [x8]
	b	LBB0_14
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
Lloh22:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_VSS_LOG
	mov	w22, #0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	sub	x26, x26, #1
	cmp	x26, #1
	b.ls	LBB0_14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w26, #2
	ldr	x19, [sp, #8]
	add	x20, x19, w21, uxtw #4
	ldr	w23, [x20]
	ldr	x24, [x27]
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x19, x21, lsl #4
	ldr	w9, [x8, #4]
	ldr	w10, [x28]
	tst	w10, w9
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x8, #8]
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #3
	bl	_strncmp
	cbnz	x0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25]
Lloh29:
	adrp	x8, _UFSSUSPEND@GOTPAGE
Lloh30:
	ldr	x8, [x8, _UFSSUSPEND@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	add	x8, x19, x21, lsl #4
	add	x2, x8, #12
	bl	_ioctl
	cbz	w0, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh32:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x19, _errno@GOTPAGE
Lloh36:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_VSS_LOG
	ldr	w22, [x19]
	b	LBB0_6
LBB0_12:
Lloh39:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, l_.str.1@PAGE
Lloh43:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_VSS_LOG
Lloh44:
	adrp	x8, _EINVAL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh46:
	ldr	w22, [x8]
	b	LBB0_14
LBB0_13:
	mov	w22, #0
LBB0_14:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	__PATH_UFSSUSPEND,4,2           ; @_PATH_UFSSUSPEND
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_g_ufs_suspend_handle,4,2       ; @g_ufs_suspend_handle
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to open %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_MNT_NOWAIT,4,2                 ; @MNT_NOWAIT
l_.str.1:                               ; @.str.1
	.asciz	"There is no mount information\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_dev,8,3                        ; @dev
	.comm	_MNT_RDONLY,4,2                 ; @MNT_RDONLY
l_.str.2:                               ; @.str.2
	.asciz	"ufs"

	.comm	_UFSSUSPEND,4,2                 ; @UFSSUSPEND
l_.str.3:                               ; @.str.3
	.asciz	"error: %d\n"

	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
l_.str.4:                               ; @.str.4
	.asciz	"Successfully suspend fs: %s\n"

	.no_dead_strip	_freeze
.subsections_via_symbols
