	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mce_log                        ## -- Begin function mce_log
	.p2align	4, 0x90
_mce_log:                               ## @mce_log
	.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	%rdi, %r14
	callq	_trace_mce_record
	movq	_x86_mce_decoder_chain@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_atomic_notifier_call_chain
	movq	_NOTIFY_STOP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$0, (%r14)
	xorl	%eax, %eax
	callq	_wmb
	movq	_mcelog@GOTPCREL(%rip), %r12
	movq	_MCE_LOG_LEN@GOTPCREL(%rip), %r13
	leaq	8(%r12), %r15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	8(%r12), %edi
	callq	_rcu_dereference
	movl	(%r13), %ecx
	cmpl	%ecx, %eax
	jae	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdx
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, (%rdx,%rbx,4)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	incq	%rbx
	cmpl	%ebx, %ecx
	jne	LBB0_4
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_smp_rmb
	leal	1(%rbx), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_cmpxchg
	cmpl	%ebx, %eax
	jne	LBB0_2
## %bb.9:
	movl	%ebx, %ebx
	shlq	$2, %rbx
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	xorl	%eax, %eax
	callq	_wmb
	movq	(%r12), %rax
	movl	$1, (%rax,%rbx)
	xorl	%eax, %eax
	callq	_wmb
	movl	$1, (%r14)
	movq	_mce_need_notify@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	jmp	LBB0_7
LBB0_6:
	movq	_MCE_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$12, %r12
	movq	%r12, %rsi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_x86_mce_decoder_chain,4,2      ## @x86_mce_decoder_chain
	.comm	_NOTIFY_STOP,4,2                ## @NOTIFY_STOP
	.comm	_mcelog,16,3                    ## @mcelog
	.comm	_MCE_LOG_LEN,4,2                ## @MCE_LOG_LEN
	.comm	_MCE_OVERFLOW,4,2               ## @MCE_OVERFLOW
	.comm	_mce_need_notify,8,3            ## @mce_need_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mce_log                        ; -- Begin function mce_log
	.p2align	2
_mce_log:                               ; @mce_log
	.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, x0
	bl	_trace_mce_record
Lloh0:
	adrp	x0, _x86_mce_decoder_chain@GOTPAGE
Lloh1:
	ldr	x0, [x0, _x86_mce_decoder_chain@GOTPAGEOFF]
	mov	w1, #0
	mov	x2, x19
	bl	_atomic_notifier_call_chain
Lloh2:
	adrp	x8, _NOTIFY_STOP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NOTIFY_STOP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	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
LBB0_2:
	str	wzr, [x19]
	bl	_wmb
Lloh5:
	adrp	x21, _mcelog@GOTPAGE
Lloh6:
	ldr	x21, [x21, _mcelog@GOTPAGEOFF]
Lloh7:
	adrp	x22, _MCE_LOG_LEN@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MCE_LOG_LEN@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w0, [x21, #8]
	bl	_rcu_dereference
	ldr	w8, [x22]
	cmp	w0, w8
	b.hs	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x21]
	mov	w20, w0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9, x20, lsl #2]
	cbz	w10, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x20, x20, #1
	cmp	w8, w20
	b.ne	LBB0_5
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_smp_rmb
	add	w2, w20, #1
	add	x0, x21, #8
	mov	x1, x20
	bl	_cmpxchg
	cmp	w0, w20
	b.ne	LBB0_3
; %bb.8:
	ldr	x8, [x21]
	ubfiz	x20, x20, #2, #32
	add	x0, x8, x20
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	bl	_wmb
	ldr	x8, [x21]
	mov	w21, #1
	str	w21, [x8, x20]
	bl	_wmb
	str	w21, [x19]
Lloh9:
	adrp	x1, _mce_need_notify@GOTPAGE
Lloh10:
	ldr	x1, [x1, _mce_need_notify@GOTPAGEOFF]
	mov	w0, #0
	b	LBB0_10
LBB0_9:
Lloh11:
	adrp	x8, _MCE_OVERFLOW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MCE_OVERFLOW@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x1, x21, #12
LBB0_10:
	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
	b	_set_bit
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_x86_mce_decoder_chain,4,2      ; @x86_mce_decoder_chain
	.comm	_NOTIFY_STOP,4,2                ; @NOTIFY_STOP
	.comm	_mcelog,16,3                    ; @mcelog
	.comm	_MCE_LOG_LEN,4,2                ; @MCE_LOG_LEN
	.comm	_MCE_OVERFLOW,4,2               ; @MCE_OVERFLOW
	.comm	_mce_need_notify,8,3            ; @mce_need_notify
.subsections_via_symbols
