	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_new_mm                         ## -- Begin function new_mm
	.p2align	4, 0x90
_new_mm:                                ## @new_mm
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_OPENFLAGS
	movl	%eax, %edi
	callq	_of_write
	movl	%eax, %edi
	callq	_of_cloexec
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_os_open_file
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	_skas_needs_stub@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_STUB_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STUB_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	%r14, %rcx
	callq	_map_stub_pages
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_os_close_file
	movl	%r14d, %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/proc/mm"

	.comm	_skas_needs_stub,8,3            ## @skas_needs_stub
	.comm	_STUB_CODE,4,2                  ## @STUB_CODE
	.comm	_STUB_DATA,4,2                  ## @STUB_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_new_mm                         ; -- Begin function new_mm
	.p2align	2
_new_mm:                                ; @new_mm
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_OPENFLAGS
	bl	_of_write
	bl	_of_cloexec
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #0
	bl	_os_open_file
	mov	x20, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _skas_needs_stub@GOTPAGE
Lloh3:
	ldr	x8, [x8, _skas_needs_stub@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _STUB_CODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STUB_CODE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _STUB_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STUB_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_map_stub_pages
	cbz	w0, LBB0_4
; %bb.3:
	mov	x19, x0
	mov	x0, x20
	bl	_os_close_file
	mov	x20, x19
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/proc/mm"

	.comm	_skas_needs_stub,8,3            ; @skas_needs_stub
	.comm	_STUB_CODE,4,2                  ; @STUB_CODE
	.comm	_STUB_DATA,4,2                  ; @STUB_DATA
.subsections_via_symbols
