	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cs_char_mmap
_cs_char_mmap:                          ## @cs_char_mmap
	.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	(%rsi), %rax
	cmpq	8(%rsi), %rax
	jl	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_vma_pages
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.3:
	movq	_VM_IO@GOTPCREL(%rip), %rax
	movq	_VM_DONTDUMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VM_DONTEXPAND@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, 16(%rbx)
	movq	_cs_char_vm_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movl	(%r14), %eax
	movl	%eax, 20(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VM_IO,4,2                      ## @VM_IO
	.comm	_VM_DONTDUMP,4,2                ## @VM_DONTDUMP
	.comm	_VM_DONTEXPAND,4,2              ## @VM_DONTEXPAND
	.comm	_cs_char_vm_ops,4,2             ## @cs_char_vm_ops
	.no_dead_strip	_cs_char_mmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cs_char_mmap
_cs_char_mmap:                          ; @cs_char_mmap
	.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
	ldp	x8, x9, [x1]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_vma_pages
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
Lloh0:
	adrp	x8, _VM_IO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VM_IO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VM_DONTDUMP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VM_DONTDUMP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _VM_DONTEXPAND@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VM_DONTEXPAND@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19, #16]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _cs_char_vm_ops@GOTPAGE
Lloh10:
	ldr	x9, [x9, _cs_char_vm_ops@GOTPAGEOFF]
	str	x9, [x19, #24]
	ldr	w9, [x20]
	stp	w8, w9, [x19, #16]
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VM_IO,4,2                      ; @VM_IO
	.comm	_VM_DONTDUMP,4,2                ; @VM_DONTDUMP
	.comm	_VM_DONTEXPAND,4,2              ; @VM_DONTEXPAND
	.comm	_cs_char_vm_ops,4,2             ; @cs_char_vm_ops
	.no_dead_strip	_cs_char_mmap
.subsections_via_symbols
