	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function os_pages_unmap
_os_pages_unmap:                        ## @os_pages_unmap
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_os_page@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_ALIGNMENT_ADDR2BASE
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	sete	%dil
	callq	_assert
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_ALIGNMENT_CEILING
	xorl	%edi, %edi
	cmpq	%r14, %rax
	sete	%dil
	callq	_assert
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_munmap
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.1:
	movq	%rsp, %r15
	movq	_BUFERROR_BUF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	xorl	%eax, %eax
	callq	_get_errno
	movl	%eax, %edi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_buferror
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_malloc_printf
	movq	_opt_abort@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.2:
	movq	%r15, %rsp
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.4:
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
LBB0_5:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_os_page,4,2                    ## @os_page
	.comm	_BUFERROR_BUF,4,2               ## @BUFERROR_BUF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<jemalloc>: Error in munmap(): %s\n"

	.comm	_opt_abort,8,3                  ## @opt_abort
	.comm	_MEM_RELEASE,4,2                ## @MEM_RELEASE
	.no_dead_strip	_os_pages_unmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function os_pages_unmap
_os_pages_unmap:                        ; @os_pages_unmap
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x21, _os_page@GOTPAGE
Lloh4:
	ldr	x21, [x21, _os_page@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ALIGNMENT_ADDR2BASE
	cmp	x0, x20
	cset	w0, eq
	bl	_assert
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ALIGNMENT_CEILING
	cmp	x0, x19
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	mov	x1, x19
	bl	_munmap
	cmn	w0, #1
	b.ne	LBB0_3
; %bb.1:
	mov	x21, sp
Lloh5:
	adrp	x8, _BUFERROR_BUF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BUFERROR_BUF@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	mov	x9, x19
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	bl	_get_errno
	mov	x1, x20
	mov	x2, x19
	bl	_buferror
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_malloc_printf
Lloh12:
	adrp	x8, _opt_abort@GOTPAGE
Lloh13:
	ldr	x8, [x8, _opt_abort@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbnz	x8, LBB0_6
; %bb.2:
	mov	sp, x21
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #32
	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
LBB0_5:
	bl	___stack_chk_fail
LBB0_6:
	bl	_abort
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_os_page,4,2                    ; @os_page
	.comm	_BUFERROR_BUF,4,2               ; @BUFERROR_BUF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<jemalloc>: Error in munmap(): %s\n"

	.comm	_opt_abort,8,3                  ; @opt_abort
	.comm	_MEM_RELEASE,4,2                ; @MEM_RELEASE
	.no_dead_strip	_os_pages_unmap
.subsections_via_symbols
