	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_dpcfg_parse             ## -- Begin function nvbios_dpcfg_parse
	.p2align	4, 0x90
_nvbios_dpcfg_parse:                    ## @nvbios_dpcfg_parse
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdi, %r15
	movq	24(%rbp), %r14
	movq	16(%rbp), %rax
	movq	%rax, (%rsp)
	callq	_nvbios_dpcfg_entry
	movl	%eax, %r13d
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.1:
	movl	(%rbx), %eax
	addl	$-32, %eax
	cmpl	$34, %eax
	ja	LBB0_9
## %bb.2:
	movabsq	$12884967424, %rcx              ## imm = 0x300010000
	btq	%rax, %rcx
	jb	LBB0_7
## %bb.3:
	movl	$3, %ecx
	btq	%rax, %rcx
	jae	LBB0_4
## %bb.6:
	leal	2(%r13), %esi
	movl	$4, %r12d
	movl	$3, %ebx
	jmp	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_nvbios_rd08
	movq	%rax, 24(%r14)
	leal	1(%r13), %esi
	movl	$3, %r12d
	movl	$2, %ebx
	jmp	LBB0_8
LBB0_4:
	cmpq	$34, %rax
	jne	LBB0_9
## %bb.5:
	movl	$2, %r12d
	movl	$1, %ebx
	movl	%r13d, %esi
LBB0_8:
	movq	%r15, %rdi
	callq	_nvbios_rd08
	movq	%rax, 16(%r14)
	addl	%r13d, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_nvbios_rd08
	movq	%rax, 8(%r14)
	addl	%r13d, %r12d
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_nvbios_rd08
	movq	%rax, (%r14)
	movl	%r13d, %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_dpcfg_parse             ; -- Begin function nvbios_dpcfg_parse
	.p2align	2
_nvbios_dpcfg_parse:                    ; @nvbios_dpcfg_parse
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x7
	mov	x22, x3
	mov	x20, x0
	bl	_nvbios_dpcfg_entry
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	w0, #0
	cbz	w21, LBB0_9
; %bb.1:
	ldr	w8, [x22]
	sub	w8, w8, #32
	cmp	w8, #34
	b.hi	LBB0_9
; %bb.2:
	mov	w9, #1
	lsl	x9, x9, x8
	mov	x10, #65536
	movk	x10, #3, lsl #32
	tst	x9, x10
	b.ne	LBB0_5
; %bb.3:
	mov	w9, #1
	lsl	x9, x9, x8
	tst	x9, #0x3
	b.eq	LBB0_6
; %bb.4:
	add	w1, w21, #2
	mov	w22, #4
	mov	w23, #3
	b	LBB0_8
LBB0_5:
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	str	x0, [x19, #24]
	add	w1, w21, #1
	mov	w22, #3
	mov	w23, #2
	b	LBB0_8
LBB0_6:
	cmp	x8, #34
	b.ne	LBB0_9
; %bb.7:
	mov	w22, #2
	mov	w23, #1
	mov	x1, x21
LBB0_8:
	mov	x0, x20
	bl	_nvbios_rd08
	str	x0, [x19, #16]
	add	w1, w21, w23
	mov	x0, x20
	bl	_nvbios_rd08
	str	x0, [x19, #8]
	add	w1, w21, w22
	mov	x0, x20
	bl	_nvbios_rd08
	str	x0, [x19]
	mov	x0, x21
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
