	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function capifs_remount
_capifs_remount:                        ## @capifs_remount
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rdx, -80(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_kstrdup
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$384, %r13d                     ## imm = 0x180
	leaq	-80(%rbp), %rbx
	leaq	-60(%rbp), %r14
	leaq	-61(%rbp), %r12
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	movl	-60(%rbp), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strsep
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%r15)
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	-60(%rbp), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	notl	%r13d
	andl	-60(%rbp), %r13d
	jmp	LBB0_10
LBB0_1:
	movl	$384, %r13d                     ## imm = 0x180
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_11:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_replace_mount_options
	movq	_config@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 4(%rax)
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rax)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 12(%rax)
	movl	%r13d, 16(%rax)
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	leaq	L_.str.4(%rip), %rdi
	callq	_printk
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	","

L_.str.1:                               ## @.str.1
	.asciz	"uid=%i%c"

L_.str.2:                               ## @.str.2
	.asciz	"gid=%i%c"

L_.str.3:                               ## @.str.3
	.asciz	"mode=%o%c"

	.comm	_S_IFMT,4,2                     ## @S_IFMT
L_.str.4:                               ## @.str.4
	.asciz	"capifs: called with bogus options\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_config,20,2                    ## @config
	.no_dead_strip	_capifs_remount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function capifs_remount
_capifs_remount:                        ; @capifs_remount
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	str	x2, [sp, #24]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_kstrdup
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_strsep
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_10
; %bb.1:
	mov	x25, x0
	mov	w26, #0
	mov	w28, #0
	mov	w27, #0
	mov	w20, #0
	mov	w24, #384
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
Lloh7:
	adrp	x22, l_.str.1@PAGE
Lloh8:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh9:
	adrp	x23, l_.str.2@PAGE
Lloh10:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #1
	ldr	w28, [sp, #20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	mov	x1, x21
	bl	_strsep
	mov	x25, x0
	cbz	x0, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x25]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #20
	add	x3, sp, #19
	mov	x0, x25
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #20
	add	x3, sp, #19
	mov	x0, x25
	mov	x1, x23
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #1
	ldr	w26, [sp, #20]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #20
	add	x3, sp, #19
	mov	x0, x25
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #20]
Lloh13:
	adrp	x9, _S_IFMT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _S_IFMT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	bic	w24, w8, w9
	b	LBB0_3
LBB0_10:
	mov	w20, #0
	mov	w27, #0
	mov	w28, #0
	mov	w26, #0
	mov	w24, #384
LBB0_11:
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_mutex_lock
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_replace_mount_options
Lloh16:
	adrp	x8, _config@GOTPAGE
Lloh17:
	ldr	x8, [x8, _config@GOTPAGEOFF]
	stp	w20, w27, [x8]
	stp	w28, w26, [x8, #8]
	str	w24, [x8, #16]
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_mutex_unlock
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_kfree
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printk
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

l_.str.1:                               ; @.str.1
	.asciz	"uid=%i%c"

l_.str.2:                               ; @.str.2
	.asciz	"gid=%i%c"

l_.str.3:                               ; @.str.3
	.asciz	"mode=%o%c"

	.comm	_S_IFMT,4,2                     ; @S_IFMT
l_.str.4:                               ; @.str.4
	.asciz	"capifs: called with bogus options\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_config,20,2                    ; @config
	.no_dead_strip	_capifs_remount
.subsections_via_symbols
