	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_max_wired_sysctl
_vm_max_wired_sysctl:                   ## @vm_max_wired_sysctl
	.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, %r15
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	setne	%bl
	shlq	$2, %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_VM_MAX_WIRED@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	-48(%rbp), %rdx
	xorl	%esi, %esi
	movq	%r15, %rcx
	movq	%rbx, %r8
	callq	_sysctlbyname
	xorl	%r12d, %r12d
	testq	%rax, %rax
	sete	%r12b
	movl	(%r13), %r13d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_ATF_REQUIRE_MSG
	jmp	LBB0_3
LBB0_1:
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_3:
	movq	_VM_MAX_WIRED@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rsi
	movq	%r15, %rcx
	movq	%rbx, %r8
	callq	_sysctlbyname
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
	movl	(%r12), %r15d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_ATF_REQUIRE_MSG
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
LBB0_5:
	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	"Setting the new value to %lu\n"

	.comm	_VM_MAX_WIRED,4,2               ## @VM_MAX_WIRED
L_.str.1:                               ## @.str.1
	.asciz	"sysctlbyname(%s) failed: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"Saved the old value (%lu)\n"

	.no_dead_strip	_vm_max_wired_sysctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_max_wired_sysctl
_vm_max_wired_sysctl:                   ; @vm_max_wired_sysctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
	cmp	x1, #0
	cset	w8, ne
	lsl	x21, x8, #2
Lloh0:
	adrp	x24, _VM_MAX_WIRED@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VM_MAX_WIRED@GOTPAGEOFF]
Lloh2:
	adrp	x25, _errno@GOTPAGE
Lloh3:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x24]
	add	x2, sp, #8
	mov	x1, #0
	mov	x3, x20
	mov	x4, x21
	bl	_sysctlbyname
	cmp	x0, #0
	cset	w22, eq
	ldr	w23, [x24]
	ldr	w0, [x25]
	bl	_strerror
	mov	x3, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_ATF_REQUIRE_MSG
	b	LBB0_3
LBB0_2:
	ldr	w1, [x20]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_3:
	ldr	w0, [x24]
	add	x2, sp, #8
	mov	x1, x19
	mov	x3, x20
	mov	x4, x21
	bl	_sysctlbyname
	cmp	x0, #0
	cset	w20, eq
	ldr	w21, [x24]
	ldr	w0, [x25]
	bl	_strerror
	mov	x3, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_ATF_REQUIRE_MSG
	cbz	x19, LBB0_5
; %bb.4:
	ldr	w1, [x19]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
LBB0_5:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting the new value to %lu\n"

	.comm	_VM_MAX_WIRED,4,2               ; @VM_MAX_WIRED
l_.str.1:                               ; @.str.1
	.asciz	"sysctlbyname(%s) failed: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"Saved the old value (%lu)\n"

	.no_dead_strip	_vm_max_wired_sysctl
.subsections_via_symbols
