	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_mem_abort                   ## -- Begin function do_mem_abort
	.p2align	4, 0x90
_do_mem_abort:                          ## @do_mem_abort
	.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
	andl	$60, %esi
	movl	$-1, %ebx
	cmpl	$4, %esi
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_get_free_page
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_current@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_PAGE_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %r14
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_map_page
	movq	_ind@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	xorl	%ebx, %ebx
	cmpl	$2, %ecx
	setge	%bl
	negl	%ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,4,2                    ## @current
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
	.comm	_ind,4,2                        ## @ind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_mem_abort                   ; -- Begin function do_mem_abort
	.p2align	2
_do_mem_abort:                          ; @do_mem_abort
	.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
	and	x8, x1, #0x3c
	cmp	x8, #4
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_get_free_page
	cbz	x0, LBB0_3
; %bb.2:
	mov	x2, x0
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PAGE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	x1, x8, x19
	bl	_map_page
Lloh6:
	adrp	x8, _ind@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ind@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	cmp	w9, #1
	csetm	w0, gt
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_current,4,2                    ; @current
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
	.comm	_ind,4,2                        ; @ind
.subsections_via_symbols
