	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function machine_check_poll
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_machine_check_poll
	.p2align	4, 0x90
_machine_check_poll:                    ## @machine_check_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r14d
	movq	_mce_poll_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_percpu_inc
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	callq	_mce_gather_info
	movq	_banks@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_16
## %bb.1:
	movq	_mce_banks@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_MSR_IA32_MCx_STATUS
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_mce_wrmsrl
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	cmpl	$0, (%rax,%rbx,4)
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-56(%rbp), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movl	%ebx, -72(%rbp)
	movq	$0, -64(%rbp)
	xorl	%eax, %eax
	callq	_barrier
	movl	%ebx, %edi
	callq	_MSR_IA32_MCx_STATUS
	movl	%eax, %edi
	callq	_mce_rdmsrl
	movl	%eax, -68(%rbp)
	movq	_MCI_STATUS_VAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	leaq	-72(%rbp), %rsi
	callq	_mce_quirk
	testq	%rax, %rax
	jne	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MCP_UC@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_7
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-72(%rbp), %rdi
	movl	%ebx, %esi
	callq	_mce_read_aux
	movq	_MCP_TIMESTAMP@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, -64(%rbp)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_MCP_DONTLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	movq	_mce_dont_log_ce@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-72(%rbp), %rdi
	callq	_mce_log
	jmp	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_mce_ser@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_MCI_STATUS_S@GOTPCREL(%rip), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MCI_STATUS_UC@GOTPCREL(%rip), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	testl	%eax, -68(%rbp)
	jne	LBB0_15
	jmp	LBB0_10
LBB0_16:
	xorl	%eax, %eax
	callq	_sync_core
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mce_poll_count,4,2             ## @mce_poll_count
	.comm	_banks,4,2                      ## @banks
	.comm	_mce_banks,8,3                  ## @mce_banks
	.comm	_MCI_STATUS_VAL,4,2             ## @MCI_STATUS_VAL
	.comm	_MCP_UC,4,2                     ## @MCP_UC
	.comm	_mce_ser,8,3                    ## @mce_ser
	.comm	_MCI_STATUS_S,4,2               ## @MCI_STATUS_S
	.comm	_MCI_STATUS_UC,4,2              ## @MCI_STATUS_UC
	.comm	_MCP_TIMESTAMP,4,2              ## @MCP_TIMESTAMP
	.comm	_MCP_DONTLOG,4,2                ## @MCP_DONTLOG
	.comm	_mce_dont_log_ce,4,2            ## @mce_dont_log_ce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_machine_check_poll             ; -- Begin function machine_check_poll
	.p2align	2
_machine_check_poll:                    ; @machine_check_poll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _mce_poll_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mce_poll_count@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_percpu_inc
	mov	x23, sp
	mov	x0, sp
	mov	x1, #0
	bl	_mce_gather_info
Lloh3:
	adrp	x22, _banks@GOTPAGE
Lloh4:
	ldr	x22, [x22, _banks@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x21, #0
	add	x23, x23, #16
Lloh5:
	adrp	x24, _mce_banks@GOTPAGE
Lloh6:
	ldr	x24, [x24, _mce_banks@GOTPAGEOFF]
Lloh7:
	adrp	x25, _MCI_STATUS_VAL@GOTPAGE
Lloh8:
	ldr	x25, [x25, _MCI_STATUS_VAL@GOTPAGEOFF]
Lloh9:
	adrp	x26, _MCP_UC@GOTPAGE
Lloh10:
	ldr	x26, [x26, _MCP_UC@GOTPAGEOFF]
Lloh11:
	adrp	x27, _MCP_DONTLOG@GOTPAGE
Lloh12:
	ldr	x27, [x27, _MCP_DONTLOG@GOTPAGEOFF]
Lloh13:
	adrp	x28, _mce_dont_log_ce@GOTPAGE
Lloh14:
	ldr	x28, [x28, _mce_dont_log_ce@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_MSR_IA32_MCx_STATUS
	mov	w1, #0
	bl	_mce_wrmsrl
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.ge	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w8, [x8, x21, lsl #2]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x19]
	mov	x0, x21
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	xzr, xzr, [x23]
	str	w21, [sp]
	str	xzr, [sp, #8]
	bl	_barrier
	mov	x0, x21
	bl	_MSR_IA32_MCx_STATUS
	bl	_mce_rdmsrl
	str	w0, [sp, #4]
	ldr	w8, [x25]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, sp
	mov	x0, x21
	bl	_mce_quirk
	cbnz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	tst	w8, w20
	b.eq	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, sp
	mov	x1, x21
	bl	_mce_read_aux
Lloh15:
	adrp	x8, _MCP_TIMESTAMP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MCP_TIMESTAMP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [sp, #8]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	and	w8, w8, w20
	ldr	w9, [x28]
	orr	w8, w8, w9
	cbnz	w8, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, sp
	bl	_mce_log
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #4]
Lloh18:
	adrp	x9, _mce_ser@GOTPAGE
Lloh19:
	ldr	x9, [x9, _mce_ser@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, #0
Lloh21:
	adrp	x9, _MCI_STATUS_S@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MCI_STATUS_S@GOTPAGEOFF]
Lloh23:
	adrp	x10, _MCI_STATUS_UC@GOTPAGE
Lloh24:
	ldr	x10, [x10, _MCI_STATUS_UC@GOTPAGEOFF]
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
	b	LBB0_9
LBB0_14:
	bl	_sync_core
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_mce_poll_count,4,2             ; @mce_poll_count
	.comm	_banks,4,2                      ; @banks
	.comm	_mce_banks,8,3                  ; @mce_banks
	.comm	_MCI_STATUS_VAL,4,2             ; @MCI_STATUS_VAL
	.comm	_MCP_UC,4,2                     ; @MCP_UC
	.comm	_mce_ser,8,3                    ; @mce_ser
	.comm	_MCI_STATUS_S,4,2               ; @MCI_STATUS_S
	.comm	_MCI_STATUS_UC,4,2              ; @MCI_STATUS_UC
	.comm	_MCP_TIMESTAMP,4,2              ; @MCP_TIMESTAMP
	.comm	_MCP_DONTLOG,4,2                ; @MCP_DONTLOG
	.comm	_mce_dont_log_ce,4,2            ; @mce_dont_log_ce
.subsections_via_symbols
