	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swap_on_off_sfile
_swap_on_off_sfile:                     ## @swap_on_off_sfile
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_which_prog@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_SWAPON@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_4
## %bb.1:
	movq	_Eflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_swapon_trim
	cmpl	$-1, %eax
	jne	LBB0_16
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_swapoff
	cmpl	$-1, %eax
	jne	LBB0_16
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	callq	_swapon
	cmpl	$-1, %eax
	jne	LBB0_16
LBB0_6:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_11
## %bb.7:
	cmpl	$129, %eax
	jne	LBB0_14
## %bb.8:
	testl	%r14d, %r14d
	jne	LBB0_15
## %bb.9:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_10
LBB0_11:
	movq	(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
LBB0_10:
	movq	%rbx, %rsi
	callq	_warnx
	jmp	LBB0_15
LBB0_13:
	testl	%r14d, %r14d
	jne	LBB0_15
LBB0_14:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_warn
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_which_prog,8,3                 ## @which_prog
	.comm	_SWAPON,8,3                     ## @SWAPON
	.comm	_Eflag,8,3                      ## @Eflag
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Device already in use"

L_.str.1:                               ## @.str.1
	.asciz	"%s: NSWAPDEV limit reached"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.no_dead_strip	_swap_on_off_sfile
.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_sfile
_swap_on_off_sfile:                     ; @swap_on_off_sfile
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _which_prog@GOTPAGE
Lloh1:
	ldr	x21, [x21, _which_prog@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _SWAPON@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SWAPON@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh4:
	adrp	x8, _Eflag@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Eflag@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_swapon_trim
	cmn	w0, #1
	b.ne	LBB0_15
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_swapoff
	cmn	w0, #1
	b.ne	LBB0_15
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_swapon
	cmn	w0, #1
	b.ne	LBB0_15
LBB0_5:
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.6:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.7:
	cbnz	w20, LBB0_14
; %bb.8:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_11
LBB0_9:
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_11:
	mov	x1, x19
	bl	_warnx
	b	LBB0_14
LBB0_12:
	cbnz	w20, LBB0_14
LBB0_13:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_warn
LBB0_14:
	mov	x19, #0
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_which_prog,8,3                 ; @which_prog
	.comm	_SWAPON,8,3                     ; @SWAPON
	.comm	_Eflag,8,3                      ; @Eflag
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Device already in use"

l_.str.1:                               ; @.str.1
	.asciz	"%s: NSWAPDEV limit reached"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.no_dead_strip	_swap_on_off_sfile
.subsections_via_symbols
