	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hibmc_mm_init                  ## -- Begin function hibmc_mm_init
	.p2align	4, 0x90
_hibmc_mm_init:                         ## @hibmc_mm_init
	.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	%rdi, %rbx
	movq	8(%rdi), %r15
	movl	(%r15), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_pci_resource_start
	movl	(%rbx), %edx
	movq	_drm_gem_vram_mm_funcs@GOTPCREL(%rip), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_drm_vram_helper_alloc_mm
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DRM_ERROR
LBB0_2:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drm_gem_vram_mm_funcs,4,2      ## @drm_gem_vram_mm_funcs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error initializing VRAM MM; %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hibmc_mm_init                  ; -- Begin function hibmc_mm_init
	.p2align	2
_hibmc_mm_init:                         ; @hibmc_mm_init
	.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]
	ldr	w0, [x20]
	mov	w1, #0
	bl	_pci_resource_start
	mov	x1, x0
	ldr	w2, [x19]
Lloh0:
	adrp	x3, _drm_gem_vram_mm_funcs@GOTPAGE
Lloh1:
	ldr	x3, [x3, _drm_gem_vram_mm_funcs@GOTPAGEOFF]
	mov	x0, x20
	bl	_drm_vram_helper_alloc_mm
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PTR_ERR
	mov	x19, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_DRM_ERROR
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_drm_gem_vram_mm_funcs,4,2      ; @drm_gem_vram_mm_funcs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error initializing VRAM MM; %d\n"

.subsections_via_symbols
