	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wimmc37b_init_
_wimmc37b_init_:                        ## @wimmc37b_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%edx, -36(%rbp)
	movl	(%rcx), %eax
	movl	%eax, %ecx
	orl	$-1342145792, %ecx              ## imm = 0xB0007B00
	movl	%ecx, -48(%rbp)
	movl	%eax, -44(%rbp)
	movl	4(%rsi), %edi
	callq	_nv50_disp
	movq	(%rax), %rsi
	leaq	24(%r12), %rax
	leaq	-36(%rbp), %rdx
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$8, %r9d
	pushq	%rax
	pushq	$0
	callq	_nv50_dmac_create
	addq	$16, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	-36(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_NV_ERROR
	jmp	LBB0_3
LBB0_2:
	movl	16(%r12), %eax
	movl	%eax, 20(%r12)
	movq	%r15, 8(%r12)
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wimm%04x allocation failed: %d\n"

	.no_dead_strip	_wimmc37b_init_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wimmc37b_init_
_wimmc37b_init_:                        ; @wimmc37b_init_
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	mov	x22, x3
	ldr	w8, [x22], #24
	str	w2, [sp, #12]
	mov	w9, #31488
	movk	w9, #45056, lsl #16
	orr	w9, w8, w9
	stp	w9, w8, [sp]
	ldr	w0, [x1, #4]
	bl	_nv50_disp
	ldr	x1, [x0]
	add	x2, sp, #12
	mov	x4, sp
	mov	x0, x20
	mov	w3, #0
	mov	w5, #8
	mov	w6, #0
	mov	x7, x22
	bl	_nv50_dmac_create
	mov	x22, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w2, [sp, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x22
	bl	_NV_ERROR
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19, #16]
	str	w8, [x19, #20]
	str	x21, [x19, #8]
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wimm%04x allocation failed: %d\n"

	.no_dead_strip	_wimmc37b_init_
.subsections_via_symbols
