	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_M0203Em                 ## -- Begin function nvbios_M0203Em
	.p2align	4, 0x90
_nvbios_M0203Em:                        ## @nvbios_M0203Em
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %rax
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	leaq	-72(%rbp), %rcx
	leaq	-68(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	movq	%rax, %r12
	movq	%rax, %rdx
	callq	_nvbios_M0203Tp
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movl	$256, %r14d                     ## imm = 0x100
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_nvbios_M0203Ep
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %edx
	cmpl	$128, %edx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r13d
	incl	%r14d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rbx)
	jne	LBB0_2
	jmp	LBB0_7
LBB0_8:
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_nvkm_warn
	jmp	LBB0_7
LBB0_3:
	xorl	%r13d, %r13d
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_nvkm_warn
LBB0_7:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"M0203T not found\n"

L_.str.1:                               ## @.str.1
	.asciz	"M0203T type %02x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_M0203Em                 ; -- Begin function nvbios_M0203Em
	.p2align	2
_nvbios_M0203Em:                        ; @nvbios_M0203Em
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	add	x3, sp, #20
	add	x4, sp, #16
	add	x5, sp, #24
	mov	x1, x2
	mov	x2, x21
	bl	_nvbios_M0203Tp
	cbz	w0, LBB0_5
; %bb.1:
	mov	w24, #256
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_nvbios_M0203Ep
	cbz	w0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #24]
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	add	w24, w24, #1
	cmp	w8, w23
	b.ne	LBB0_2
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_nvkm_warn
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"M0203T not found\n"

l_.str.1:                               ; @.str.1
	.asciz	"M0203T type %02x\n"

.subsections_via_symbols
