	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehca_mm_open
_ehca_mm_open:                          ## @ehca_mm_open
	.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, %rbx
	movq	8(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.1:
	movl	(%r14), %ecx
	incl	%ecx
	movl	%ecx, (%r14)
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_ehca_gen_err
	movl	(%r14), %ecx
LBB0_3:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ehca_gen_dbg                   ## TAILCALL
LBB0_4:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ehca_gen_err                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid vma struct vm_start=%lx vm_end=%lx"

L_.str.1:                               ## @.str.1
	.asciz	"Use count overflow vm_start=%lx vm_end=%lx"

L_.str.2:                               ## @.str.2
	.asciz	"vm_start=%lx vm_end=%lx count=%x"

	.no_dead_strip	_ehca_mm_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehca_mm_open
_ehca_mm_open:                          ; @ehca_mm_open
	.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
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_4
; %bb.1:
	ldr	w8, [x20]
	adds	w3, w8, #1
	str	w3, [x20]
	b.lo	LBB0_3
; %bb.2:
	ldp	w2, w1, [x19]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ehca_gen_err
	ldr	w3, [x20]
LBB0_3:
	ldp	w2, w1, [x19]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ehca_gen_dbg
LBB0_4:
	ldp	w2, w1, [x19]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ehca_gen_err
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid vma struct vm_start=%lx vm_end=%lx"

l_.str.1:                               ; @.str.1
	.asciz	"Use count overflow vm_start=%lx vm_end=%lx"

l_.str.2:                               ; @.str.2
	.asciz	"vm_start=%lx vm_end=%lx count=%x"

	.no_dead_strip	_ehca_mm_open
.subsections_via_symbols
