	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_usage
LBB0_2:
	movq	8(%r14), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.19:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_20
## %bb.25:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_26
## %bb.28:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_29
## %bb.30:
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_31
LBB0_3:
	cmpl	$3, %r15d
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_usage
LBB0_5:
	movq	16(%r14), %rdi
	movq	_UFS_EXTATTR_CMD_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_extattrctl
	testl	%eax, %eax
	je	LBB0_31
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_9:
	cmpl	$3, %r15d
	je	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_usage
LBB0_11:
	movq	16(%r14), %rdi
	movq	_UFS_EXTATTR_CMD_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_extattrctl
	testl	%eax, %eax
	je	LBB0_31
## %bb.12:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_7
LBB0_14:
	cmpl	$6, %r15d
	je	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_usage
LBB0_16:
	movq	24(%r14), %rdi
	leaq	-28(%rbp), %rsi
	callq	_extattr_string_to_namespace
	testl	%eax, %eax
	jne	LBB0_17
## %bb.18:
	movq	_UFS_EXTATTR_CMD_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	40(%r14), %rdx
	movl	-28(%rbp), %ecx
	movq	16(%r14), %rdi
	movq	32(%r14), %r8
	callq	_extattrctl
	testl	%eax, %eax
	je	LBB0_31
LBB0_17:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_7
LBB0_20:
	cmpl	$5, %r15d
	je	LBB0_22
## %bb.21:
	xorl	%eax, %eax
	callq	_usage
LBB0_22:
	movq	24(%r14), %rdi
	leaq	-28(%rbp), %rsi
	callq	_extattr_string_to_namespace
	testl	%eax, %eax
	jne	LBB0_23
## %bb.24:
	movq	_UFS_EXTATTR_CMD_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-28(%rbp), %ecx
	movq	16(%r14), %rdi
	movq	32(%r14), %r8
	xorl	%edx, %edx
	callq	_extattrctl
	testl	%eax, %eax
	je	LBB0_31
LBB0_23:
	leaq	L_.str.7(%rip), %rdi
LBB0_7:
	callq	_perror
	movl	$-1, %eax
	jmp	LBB0_32
LBB0_26:
	addl	$-2, %r15d
	addq	$16, %r14
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_initattr
	jmp	LBB0_27
LBB0_29:
	addl	$-2, %r15d
	addq	$16, %r14
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_showattr
LBB0_27:
	movl	%eax, %ecx
	movl	$-1, %eax
	testl	%ecx, %ecx
	jne	LBB0_32
LBB0_31:
	xorl	%eax, %eax
LBB0_32:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start"

	.comm	_UFS_EXTATTR_CMD_START,4,2      ## @UFS_EXTATTR_CMD_START
L_.str.1:                               ## @.str.1
	.asciz	"extattrctl start"

L_.str.2:                               ## @.str.2
	.asciz	"stop"

	.comm	_UFS_EXTATTR_CMD_STOP,4,2       ## @UFS_EXTATTR_CMD_STOP
L_.str.3:                               ## @.str.3
	.asciz	"extattrctl stop"

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

L_.str.5:                               ## @.str.5
	.asciz	"extattrctl enable"

	.comm	_UFS_EXTATTR_CMD_ENABLE,4,2     ## @UFS_EXTATTR_CMD_ENABLE
L_.str.6:                               ## @.str.6
	.asciz	"disable"

L_.str.7:                               ## @.str.7
	.asciz	"extattrctl disable"

	.comm	_UFS_EXTATTR_CMD_DISABLE,4,2    ## @UFS_EXTATTR_CMD_DISABLE
L_.str.8:                               ## @.str.8
	.asciz	"initattr"

L_.str.9:                               ## @.str.9
	.asciz	"showattr"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
	bl	_usage
LBB0_2:
	ldr	x21, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.3:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.4:
Lloh4:
	adrp	x1, l_.str.4@PAGE
Lloh5:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.5:
Lloh6:
	adrp	x1, l_.str.6@PAGE
Lloh7:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_22
; %bb.6:
Lloh8:
	adrp	x1, l_.str.8@PAGE
Lloh9:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_28
; %bb.7:
Lloh10:
	adrp	x1, l_.str.9@PAGE
Lloh11:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_30
; %bb.8:
	bl	_usage
	b	LBB0_31
LBB0_9:
	cmp	w20, #3
	b.eq	LBB0_11
; %bb.10:
	bl	_usage
LBB0_11:
	ldr	x0, [x19, #16]
Lloh12:
	adrp	x8, _UFS_EXTATTR_CMD_START@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UFS_EXTATTR_CMD_START@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_extattrctl
	cbz	w0, LBB0_31
; %bb.12:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_27
LBB0_13:
	cmp	w20, #3
	b.eq	LBB0_15
; %bb.14:
	bl	_usage
LBB0_15:
	ldr	x0, [x19, #16]
Lloh17:
	adrp	x8, _UFS_EXTATTR_CMD_STOP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UFS_EXTATTR_CMD_STOP@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_extattrctl
	cbz	w0, LBB0_31
; %bb.16:
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_27
LBB0_17:
	cmp	w20, #6
	b.eq	LBB0_19
; %bb.18:
	bl	_usage
LBB0_19:
	ldr	x0, [x19, #24]
	add	x1, sp, #12
	bl	_extattr_string_to_namespace
	cbnz	w0, LBB0_21
; %bb.20:
	ldr	x0, [x19, #16]
Lloh22:
	adrp	x8, _UFS_EXTATTR_CMD_ENABLE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _UFS_EXTATTR_CMD_ENABLE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w3, [sp, #12]
	ldp	x4, x2, [x19, #32]
	bl	_extattrctl
	cbz	w0, LBB0_31
LBB0_21:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_27
LBB0_22:
	cmp	w20, #5
	b.eq	LBB0_24
; %bb.23:
	bl	_usage
LBB0_24:
	ldr	x0, [x19, #24]
	add	x1, sp, #12
	bl	_extattr_string_to_namespace
	cbnz	w0, LBB0_26
; %bb.25:
	ldr	x0, [x19, #16]
Lloh27:
	adrp	x8, _UFS_EXTATTR_CMD_DISABLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _UFS_EXTATTR_CMD_DISABLE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w3, [sp, #12]
	ldr	x4, [x19, #32]
	mov	x2, #0
	bl	_extattrctl
	cbz	w0, LBB0_31
LBB0_26:
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_27:
	bl	_perror
	mov	w0, #-1
	b	LBB0_32
LBB0_28:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_initattr
	cbz	w0, LBB0_31
LBB0_29:
	mov	w0, #-1
	b	LBB0_32
LBB0_30:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_showattr
	cbnz	w0, LBB0_29
LBB0_31:
	mov	w0, #0
LBB0_32:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start"

	.comm	_UFS_EXTATTR_CMD_START,4,2      ; @UFS_EXTATTR_CMD_START
l_.str.1:                               ; @.str.1
	.asciz	"extattrctl start"

l_.str.2:                               ; @.str.2
	.asciz	"stop"

	.comm	_UFS_EXTATTR_CMD_STOP,4,2       ; @UFS_EXTATTR_CMD_STOP
l_.str.3:                               ; @.str.3
	.asciz	"extattrctl stop"

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

l_.str.5:                               ; @.str.5
	.asciz	"extattrctl enable"

	.comm	_UFS_EXTATTR_CMD_ENABLE,4,2     ; @UFS_EXTATTR_CMD_ENABLE
l_.str.6:                               ; @.str.6
	.asciz	"disable"

l_.str.7:                               ; @.str.7
	.asciz	"extattrctl disable"

	.comm	_UFS_EXTATTR_CMD_DISABLE,4,2    ; @UFS_EXTATTR_CMD_DISABLE
l_.str.8:                               ; @.str.8
	.asciz	"initattr"

l_.str.9:                               ; @.str.9
	.asciz	"showattr"

.subsections_via_symbols
