	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofwo_secpwd
_ofwo_secpwd:                           ## @ofwo_secpwd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$0, -28(%rbp)
	movq	_EX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	$0, -24(%rbp)
	testq	%r8, %r8
	je	LBB0_8
## %bb.1:
	movl	%esi, %r14d
	movl	%esi, %edi
	callq	_ofw_optnode
	leaq	L_.str(%rip), %rdx
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %r8
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	$1, %r9d
	callq	_ofw_getprop_alloc
	testl	%eax, %eax
	jle	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movq	-24(%rbp), %rsi
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	-24(%rbp), %rsi
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	-24(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_EX_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
	callq	_warnx
	jmp	LBB0_9
LBB0_8:
	movl	(%rdi), %edi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_ofwo_printprop
	jmp	LBB0_9
LBB0_3:
	movq	_EX_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_warnx
	jmp	LBB0_9
LBB0_6:
	movl	%r14d, %edi
	callq	_ofwo_setpass
	movl	%eax, %ebx
LBB0_9:
	movq	-24(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_free
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EX_OK,4,2                      ## @EX_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"security-mode"

L_.str.1:                               ## @.str.1
	.asciz	"none"

	.comm	_EX_CONFIG,4,2                  ## @EX_CONFIG
L_.str.2:                               ## @.str.2
	.asciz	"no security mode set."

L_.str.3:                               ## @.str.3
	.asciz	"command"

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

L_.str.5:                               ## @.str.5
	.asciz	"invalid security mode."

	.no_dead_strip	_ofwo_secpwd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofwo_secpwd
_ofwo_secpwd:                           ; @ofwo_secpwd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	wzr, [sp, #4]
Lloh0:
	adrp	x8, _EX_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EX_OK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	str	xzr, [sp, #8]
	cbz	x4, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x0, x1
	bl	_ofw_optnode
	mov	x1, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x19
	mov	w5, #1
	bl	_ofw_getprop_alloc
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x20, x0
	ldr	x1, [sp, #8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_strncmp
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x1, [sp, #8]
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_strncmp
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x1, [sp, #8]
Lloh9:
	adrp	x0, l_.str.4@PAGE
Lloh10:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x20
	bl	_strncmp
	cbz	x0, LBB0_11
; %bb.5:
Lloh11:
	adrp	x8, _EX_CONFIG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EX_CONFIG@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_6:
	ldr	w0, [x0]
	mov	x1, x2
	mov	x2, x3
	bl	_ofwo_printprop
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_9
	b	LBB0_10
LBB0_7:
Lloh16:
	adrp	x8, _EX_CONFIG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EX_CONFIG@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_8:
	bl	_warnx
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_10
LBB0_9:
	bl	_free
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_11:
	mov	x0, x19
	bl	_ofwo_setpass
	mov	x20, x0
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_9
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_EX_OK,4,2                      ; @EX_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"security-mode"

l_.str.1:                               ; @.str.1
	.asciz	"none"

	.comm	_EX_CONFIG,4,2                  ; @EX_CONFIG
l_.str.2:                               ; @.str.2
	.asciz	"no security mode set."

l_.str.3:                               ; @.str.3
	.asciz	"command"

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

l_.str.5:                               ; @.str.5
	.asciz	"invalid security mode."

	.no_dead_strip	_ofwo_secpwd
.subsections_via_symbols
