	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdstat_poll
_mdstat_poll:                           ## @mdstat_poll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_md_unloading@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_EPOLLIN@GOTPCREL(%rip), %rcx
	movq	_EPOLLRDNORM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_EPOLLERR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_EPOLLPRI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rsi, %rdx
	movq	(%rdi), %r14
	movq	_md_event_waiters@GOTPCREL(%rip), %rsi
	callq	_poll_wait
	movq	_EPOLLIN@GOTPCREL(%rip), %rax
	movq	_EPOLLRDNORM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	(%r14), %r14
	movq	_md_event_count@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	movq	%rax, %rcx
	movq	_EPOLLERR@GOTPCREL(%rip), %rax
	movq	_EPOLLPRI@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	xorl	%eax, %eax
	cmpq	%rcx, %r14
	cmovnel	%edx, %eax
	orl	%ebx, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_md_unloading,8,3               ## @md_unloading
	.comm	_EPOLLIN,4,2                    ## @EPOLLIN
	.comm	_EPOLLRDNORM,4,2                ## @EPOLLRDNORM
	.comm	_EPOLLERR,4,2                   ## @EPOLLERR
	.comm	_EPOLLPRI,4,2                   ## @EPOLLPRI
	.comm	_md_event_waiters,4,2           ## @md_event_waiters
	.comm	_md_event_count,4,2             ## @md_event_count
	.no_dead_strip	_mdstat_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdstat_poll
_mdstat_poll:                           ; @mdstat_poll
	.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
Lloh0:
	adrp	x8, _md_unloading@GOTPAGE
Lloh1:
	ldr	x8, [x8, _md_unloading@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EPOLLIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPOLLIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _EPOLLRDNORM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EPOLLRDNORM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _EPOLLERR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EPOLLERR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _EPOLLPRI@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EPOLLPRI@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w0, w8, w9
	b	LBB0_3
LBB0_2:
	mov	x2, x1
	ldr	x19, [x0]
Lloh15:
	adrp	x1, _md_event_waiters@GOTPAGE
Lloh16:
	ldr	x1, [x1, _md_event_waiters@GOTPAGEOFF]
	bl	_poll_wait
Lloh17:
	adrp	x8, _EPOLLIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EPOLLIN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _EPOLLRDNORM@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EPOLLRDNORM@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w20, w9, w8
	ldr	x19, [x19]
Lloh23:
	adrp	x0, _md_event_count@GOTPAGE
Lloh24:
	ldr	x0, [x0, _md_event_count@GOTPAGEOFF]
	bl	_atomic_read
Lloh25:
	adrp	x8, _EPOLLERR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EPOLLERR@GOTPAGEOFF]
Lloh27:
	adrp	x9, _EPOLLPRI@GOTPAGE
Lloh28:
	ldr	x9, [x9, _EPOLLPRI@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	x19, x0
	csel	w8, wzr, w8, eq
	orr	w0, w20, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh29
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_md_unloading,8,3               ; @md_unloading
	.comm	_EPOLLIN,4,2                    ; @EPOLLIN
	.comm	_EPOLLRDNORM,4,2                ; @EPOLLRDNORM
	.comm	_EPOLLERR,4,2                   ; @EPOLLERR
	.comm	_EPOLLPRI,4,2                   ; @EPOLLPRI
	.comm	_md_event_waiters,4,2           ; @md_event_waiters
	.comm	_md_event_count,4,2             ; @md_event_count
	.no_dead_strip	_mdstat_poll
.subsections_via_symbols
