	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swap_on_off_geli
_swap_on_off_geli:                      ## @swap_on_off_geli
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	-48(%rbp), %rsi
	callq	_stat
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	_which_prog@GOTPCREL(%rip), %rax
	movq	_SWAPON@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_9
## %bb.2:
	movq	%rbx, %rdi
	callq	_swap_on_geli_args
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_swap_basename
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	__PATH_GELI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	movq	%r15, %rcx
	movq	%rbx, %r8
	callq	_run_cmd
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_free
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.6:
	movq	_qflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	callq	_warnx
	jmp	LBB0_8
LBB0_9:
	movq	%r12, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_swap_on_off_sfile              ## TAILCALL
LBB0_4:
	movq	%r15, %rdi
	callq	_free
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_which_prog,8,3                 ## @which_prog
	.comm	_SWAPON,8,3                     ## @SWAPON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s onetime%s %s"

	.comm	__PATH_GELI,4,2                 ## @_PATH_GELI
	.comm	_qflag,8,3                      ## @qflag
L_.str.1:                               ## @.str.1
	.asciz	"%s: Invalid parameters"

	.no_dead_strip	_swap_on_off_geli
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swap_on_off_geli
_swap_on_off_geli:                      ; @swap_on_off_geli
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x1, sp, #8
	bl	_stat
	cbz	w0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _which_prog@GOTPAGE
Lloh1:
	ldr	x8, [x8, _which_prog@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SWAPON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SWAPON@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x21
	bl	_swap_on_geli_args
	cbz	x0, LBB0_9
; %bb.3:
	mov	x21, x0
	mov	x0, x19
	bl	_swap_basename
	cbz	x0, LBB0_8
; %bb.4:
	mov	x22, x0
Lloh6:
	adrp	x8, __PATH_GELI@GOTPAGE
Lloh7:
	ldr	x8, [x8, __PATH_GELI@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	mov	x3, x21
	mov	x4, x22
	bl	_run_cmd
	mov	x23, x0
	mov	x0, x22
	bl	_free
	mov	x0, x21
	bl	_free
	cbz	w23, LBB0_7
; %bb.5:
Lloh11:
	adrp	x8, _qflag@GOTPAGE
Lloh12:
	ldr	x8, [x8, _qflag@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbnz	x8, LBB0_9
; %bb.6:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_warnx
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_swap_on_off_sfile
LBB0_8:
	mov	x0, x21
	bl	_free
LBB0_9:
	mov	x0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_which_prog,8,3                 ; @which_prog
	.comm	_SWAPON,8,3                     ; @SWAPON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s onetime%s %s"

	.comm	__PATH_GELI,4,2                 ; @_PATH_GELI
	.comm	_qflag,8,3                      ; @qflag
l_.str.1:                               ; @.str.1
	.asciz	"%s: Invalid parameters"

	.no_dead_strip	_swap_on_off_geli
.subsections_via_symbols
