	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm_char_mmap
_stm_char_mmap:                         ## @stm_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	(%rdi), %rsi
	movq	16(%rsi), %rbx
	movq	8(%rbx), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	cmpq	$0, 40(%r15)
	jne	LBB0_4
## %bb.5:
	movq	(%r15), %r14
	subq	8(%r15), %r14
	movq	(%rsi), %rcx
	movq	8(%rdi), %rdx
	imulq	%rcx, %rdx
	cmpq	%r14, %rdx
	jne	LBB0_4
## %bb.6:
	movl	8(%rsi), %edx
	movl	12(%rsi), %esi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_pm_runtime_get_sync
	movl	32(%r15), %edi
	callq	_pgprot_noncached
	movl	%eax, 32(%r15)
	movq	_VM_IO@GOTPCREL(%rip), %rax
	movq	_VM_DONTEXPAND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VM_DONTDUMP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, 16(%r15)
	movq	_stm_mmap_vmops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r15)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_vm_iomap_memory
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VM_IO,4,2                      ## @VM_IO
	.comm	_VM_DONTEXPAND,4,2              ## @VM_DONTEXPAND
	.comm	_VM_DONTDUMP,4,2                ## @VM_DONTDUMP
	.comm	_stm_mmap_vmops,4,2             ## @stm_mmap_vmops
	.no_dead_strip	_stm_char_mmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm_char_mmap
_stm_char_mmap:                         ; @stm_char_mmap
	.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
	ldr	x9, [x0]
	ldr	x21, [x9, #16]
	ldr	x0, [x21, #8]
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x1
	ldr	x10, [x1, #40]
	cbnz	x10, LBB0_5
; %bb.2:
	ldp	x10, x11, [x19]
	ldr	x3, [x9]
	ldr	x12, [x0, #8]
	mul	x12, x12, x3
	sub	x20, x10, x11
	cmp	x12, x20
	b.ne	LBB0_5
; %bb.3:
	ldp	w2, w1, [x9, #8]
	blr	x8
	cbz	x0, LBB0_5
; %bb.4:
	mov	x22, x0
	mov	x0, x21
	bl	_pm_runtime_get_sync
	ldr	w0, [x19, #32]
	bl	_pgprot_noncached
	str	w0, [x19, #32]
Lloh0:
	adrp	x8, _VM_IO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VM_IO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VM_DONTEXPAND@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VM_DONTEXPAND@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _VM_DONTDUMP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VM_DONTDUMP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19, #16]
	orr	w8, w8, w9
	str	w8, [x19, #16]
Lloh9:
	adrp	x8, _stm_mmap_vmops@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stm_mmap_vmops@GOTPAGEOFF]
	str	x8, [x19, #24]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_vm_iomap_memory
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VM_IO,4,2                      ; @VM_IO
	.comm	_VM_DONTEXPAND,4,2              ; @VM_DONTEXPAND
	.comm	_VM_DONTDUMP,4,2                ; @VM_DONTDUMP
	.comm	_stm_mmap_vmops,4,2             ; @stm_mmap_vmops
	.no_dead_strip	_stm_char_mmap
.subsections_via_symbols
