	.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	%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	%rsi, %rbx
	movl	%edi, %r14d
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rcx
	cmovneq	%rax, %rcx
	movq	_dvname@GOTPCREL(%rip), %r15
	movq	%rcx, (%r15)
	movq	(%rbx), %rax
	movq	_progname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	cmpl	$2, %r14d
	jl	LBB0_21
## %bb.1:
	movq	8(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	8(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_6
LBB0_4:
	movq	16(%rbx), %rax
	movq	%rax, (%r15)
	addl	$-2, %r14d
	cmpl	$2, %r14d
	jb	LBB0_21
## %bb.5:
	addq	$16, %rbx
LBB0_6:
	leaq	L_.str.5(%rip), %r15
	leaq	L_.str.7(%rip), %r13
	jmp	LBB0_11
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%rbx), %rdi
	addq	$8, %rbx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoull
	movl	%eax, %edi
	callq	_setoempr
	decl	%r14d
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	leal	-1(%r14), %eax
	addq	$8, %rbx
	cmpl	$2, %r14d
	movl	%eax, %r14d
	jle	LBB0_21
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
	callq	_getfactorypr
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
	callq	_getoempr
LBB0_8:                                 ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	callq	_printf
	jmp	LBB0_10
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
	callq	_getplr
	leaq	L_.str.11(%rip), %rdi
	movl	%eax, %esi
	jmp	LBB0_9
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
	callq	_setplr
	jmp	LBB0_10
LBB0_21:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CFI"

	.comm	_dvname,8,3                     ## @dvname
L_.str.1:                               ## @.str.1
	.asciz	"/dev/cfi0"

	.comm	_progname,8,3                   ## @progname
L_.str.2:                               ## @.str.2
	.asciz	"-f"

L_.str.4:                               ## @.str.4
	.asciz	"-?"

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

L_.str.6:                               ## @.str.6
	.asciz	"0x%llx\n"

L_.str.7:                               ## @.str.7
	.asciz	"oem"

L_.str.8:                               ## @.str.8
	.asciz	"woem"

L_.str.10:                              ## @.str.10
	.asciz	"plr"

L_.str.11:                              ## @.str.11
	.asciz	"0x%x\n"

L_.str.12:                              ## @.str.12
	.asciz	"wplr"

.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:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x26, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x8, x8, x0, eq
Lloh4:
	adrp	x21, _dvname@GOTPAGE
Lloh5:
	ldr	x21, [x21, _dvname@GOTPAGEOFF]
	str	x8, [x21]
	ldr	x8, [x26]
Lloh6:
	adrp	x9, _progname@GOTPAGE
Lloh7:
	ldr	x9, [x9, _progname@GOTPAGEOFF]
Lloh8:
	str	x8, [x9]
	subs	w20, w19, #2
	b.lt	LBB0_21
; %bb.1:
	ldr	x0, [x26, #8]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x0, [x26, #8]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.3:
	bl	_usage
	b	LBB0_6
LBB0_4:
	ldr	x8, [x26, #16]!
	str	x8, [x21]
	cmp	w20, #2
	b.lo	LBB0_21
; %bb.5:
	mov	x19, x20
LBB0_6:
Lloh13:
	adrp	x21, l_.str.5@PAGE
Lloh14:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh15:
	adrp	x22, l_.str.6@PAGE
Lloh16:
	add	x22, x22, l_.str.6@PAGEOFF
Lloh17:
	adrp	x23, l_.str.7@PAGE
Lloh18:
	add	x23, x23, l_.str.7@PAGEOFF
Lloh19:
	adrp	x24, l_.str.8@PAGE
Lloh20:
	add	x24, x24, l_.str.8@PAGEOFF
Lloh21:
	adrp	x25, l_.str.10@PAGE
Lloh22:
	add	x25, x25, l_.str.10@PAGEOFF
Lloh23:
	adrp	x27, l_.str.12@PAGE
Lloh24:
	add	x27, x27, l_.str.12@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x26, #16]
	mov	x1, #0
	mov	w2, #0
	bl	_strtoull
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_setoempr
	sub	w19, w19, #1
	mov	x26, x20
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	sub	w8, w19, #1
	add	x26, x26, #8
	cmp	w19, #2
	mov	x19, x8
	b.le	LBB0_21
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x26
	ldr	x28, [x20, #8]!
	mov	x0, x28
	mov	x1, x21
	bl	_strcasecmp
	cbz	x0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x28
	mov	x1, x23
	bl	_strcasecmp
	cbz	x0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x28
	mov	x1, x24
	bl	_strcasecmp
	cbz	x0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x28
	mov	x1, x25
	bl	_strcasecmp
	cbz	x0, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x28
	mov	x1, x27
	bl	_strcasecmp
	cbz	x0, LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_usage
	b	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_getfactorypr
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_getoempr
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x0
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_printf
	b	LBB0_8
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_getplr
	mov	x1, x0
Lloh25:
	adrp	x0, l_.str.11@PAGE
Lloh26:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_18
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_setplr
	b	LBB0_8
LBB0_21:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CFI"

	.comm	_dvname,8,3                     ; @dvname
l_.str.1:                               ; @.str.1
	.asciz	"/dev/cfi0"

	.comm	_progname,8,3                   ; @progname
l_.str.2:                               ; @.str.2
	.asciz	"-f"

l_.str.4:                               ; @.str.4
	.asciz	"-?"

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

l_.str.6:                               ; @.str.6
	.asciz	"0x%llx\n"

l_.str.7:                               ; @.str.7
	.asciz	"oem"

l_.str.8:                               ; @.str.8
	.asciz	"woem"

l_.str.10:                              ; @.str.10
	.asciz	"plr"

l_.str.11:                              ; @.str.11
	.asciz	"0x%x\n"

l_.str.12:                              ; @.str.12
	.asciz	"wplr"

.subsections_via_symbols
