	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_outp_parse              ## -- Begin function nvbios_outp_parse
	.p2align	4, 0x90
_nvbios_outp_parse:                     ## @nvbios_outp_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, %r15
	movq	%rdx, %r12
	movq	%rdi, %r14
	callq	_nvbios_outp_entry
	movl	%eax, %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.1:
	cmpl	$10, (%r15)
	jl	LBB0_7
## %bb.2:
	movq	16(%rbp), %r13
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nvbios_rd16
	movq	%rax, 16(%r13)
	leal	2(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd32
	movl	%eax, (%r13)
	cmpl	$32, (%r12)
	jg	LBB0_4
## %bb.3:
	orl	$192, %eax
	movl	%eax, (%r13)
LBB0_4:
	leal	6(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd16
	movq	8(%r13), %rcx
	movl	%eax, (%rcx)
	leal	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd16
	movq	8(%r13), %rcx
	movl	%eax, 4(%rcx)
	movl	$0, 8(%rcx)
	cmpl	$12, (%r15)
	jl	LBB0_6
## %bb.5:
	movl	%ebx, %esi
	addl	$10, %esi
	movq	%r14, %rdi
	callq	_nvbios_rd16
	movq	8(%r13), %rcx
	movl	%eax, 8(%rcx)
LBB0_6:
	movl	%ebx, %eax
LBB0_7:
	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_outp_parse              ; -- Begin function nvbios_outp_parse
	.p2align	2
_nvbios_outp_parse:                     ; @nvbios_outp_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, x6
	mov	x22, x3
	mov	x23, x2
	mov	x21, x0
	bl	_nvbios_outp_entry
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w8, [x22]
	cmp	w8, #10
	b.lt	LBB0_6
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	bl	_nvbios_rd16
	str	x0, [x19, #16]
	add	w1, w20, #2
	mov	x0, x21
	bl	_nvbios_rd32
	str	w0, [x19]
	ldr	w8, [x23]
	cmp	w8, #32
	b.gt	LBB0_4
; %bb.3:
	orr	w8, w0, #0xc0
	str	w8, [x19]
LBB0_4:
	add	w1, w20, #6
	mov	x0, x21
	bl	_nvbios_rd16
	ldr	x8, [x19, #8]
	str	w0, [x8]
	add	w1, w20, #8
	mov	x0, x21
	bl	_nvbios_rd16
	ldr	x8, [x19, #8]
	stp	w0, wzr, [x8, #4]
	ldr	w8, [x22]
	cmp	w8, #12
	b.lt	LBB0_7
; %bb.5:
	add	w1, w20, #10
	mov	x0, x21
	bl	_nvbios_rd16
	ldr	x8, [x19, #8]
	str	w0, [x8, #8]
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x20
	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
