	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xive_read_eq
_xive_read_eq:                          ## @xive_read_eq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	16(%rdi), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_be32toh
	movl	%eax, %esi
	sarl	$31, %esi
	movl	8(%rbx), %edx
	xorl	%ecx, %ecx
	cmpl	%edx, %esi
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rcx
	incq	%rcx
	movslq	12(%rbx), %rsi
	andq	%rcx, %rsi
	movq	%rsi, (%rbx)
	jne	LBB0_3
## %bb.2:
	xorl	$1, %edx
	movl	%edx, 8(%rbx)
LBB0_3:
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movl	%eax, %ecx
LBB0_4:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xive_read_eq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xive_read_eq
_xive_read_eq:                          ; @xive_read_eq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x9, [x0]
	ldr	w0, [x8, x9, lsl #2]
	bl	_be32toh
	ldr	w8, [x19, #8]
	cmp	w8, w0, asr #31
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	ldr	x9, [x19]
	add	x9, x9, #1
	ldrsw	x10, [x19, #12]
	ands	x9, x9, x10
	str	x9, [x19]
	b.ne	LBB0_4
; %bb.3:
	eor	w8, w8, #0x1
	str	w8, [x19, #8]
LBB0_4:
	and	w0, w0, #0x7fffffff
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xive_read_eq
.subsections_via_symbols
