	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ast_dp501_read_edid            ## -- Begin function ast_dp501_read_edid
	.p2align	4, 0x90
_ast_dp501_read_edid:                   ## @ast_dp501_read_edid
	.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	%rsi, %r14
	movq	(%rdi), %r15
	movq	%r15, %rdi
	callq	_get_fw_base
	movl	%eax, %r13d
	leal	61440(%r13), %esi
	movq	%r15, %rdi
	callq	_ast_mindwm
	andl	$240, %eax
	xorl	%r12d, %r12d
	cmpl	$16, %eax
	jne	LBB0_5
## %bb.1:
	leal	61456(%r13), %esi
	movq	%r15, %rdi
	callq	_ast_mindwm
	testb	$1, %al
	je	LBB0_5
## %bb.2:
	addl	$61472, %r13d                   ## imm = 0xF020
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rbx,%r13), %esi
	movq	%r15, %rdi
	callq	_ast_mindwm
	movl	%eax, (%r14,%rbx,4)
	leaq	4(%rbx), %rax
	cmpq	$124, %rbx
	movq	%rax, %rbx
	jb	LBB0_3
## %bb.4:
	movl	$1, %r12d
LBB0_5:
	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	_ast_dp501_read_edid            ; -- Begin function ast_dp501_read_edid
	.p2align	2
_ast_dp501_read_edid:                   ; @ast_dp501_read_edid
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	ldr	x20, [x0]
	mov	x0, x20
	bl	_get_fw_base
	mov	x21, x0
	add	w1, w0, #15, lsl #12            ; =61440
	mov	x0, x20
	bl	_ast_mindwm
	and	w8, w0, #0xf0
	cmp	w8, #16
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #61456
	add	w1, w21, w8
	mov	x0, x20
	bl	_ast_mindwm
	tbnz	w0, #0, LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	mov	x22, #0
	mov	w8, #61472
	add	w21, w21, w8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w21, w22
	mov	x0, x20
	bl	_ast_mindwm
	str	w0, [x19, x22, lsl #2]
	add	x8, x22, #4
	cmp	x22, #124
	mov	x22, x8
	b.lo	LBB0_4
; %bb.5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
