	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_eld_uptodate
_intel_eld_uptodate:                    ## @intel_eld_uptodate
	.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
	movl	%r9d, %r13d
	movl	%r8d, %r14d
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movq	(%rdi), %r15
	movl	%esi, %edi
	callq	_I915_READ
	andl	%r12d, %eax
	cmpl	$0, (%r15)
	je	LBB0_1
## %bb.2:
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movl	%ebx, %edi
	callq	_I915_READ
	notl	%r14d
	andl	%eax, %r14d
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	$1, %r14d
	cmpl	$0, 8(%r15)
	jle	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	callq	_I915_READ
	cmpl	(%r15,%rbx,4), %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	8(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
	jmp	LBB0_8
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_intel_eld_uptodate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_eld_uptodate
_intel_eld_uptodate:                    ; @intel_eld_uptodate
	.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, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	ldr	x23, [x0]
	mov	x0, x1
	bl	_I915_READ
	and	w8, w0, w22
	ldr	w9, [x23]
	cbz	w9, LBB0_7
; %bb.1:
	cbz	w8, LBB0_8
; %bb.2:
	mov	x0, x20
	bl	_I915_READ
	bic	w1, w0, w21
	mov	x0, x20
	bl	_I915_WRITE
	ldr	w8, [x23, #8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_I915_READ
	ldr	w8, [x23, x20, lsl #2]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x23, #8]
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_6:
	mov	w0, #1
	b	LBB0_9
LBB0_7:
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_9
LBB0_8:
	mov	w0, #0
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
	.no_dead_strip	_intel_eld_uptodate
.subsections_via_symbols
