	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mca_process_records
_mca_process_records:                   ## @mca_process_records
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_mca_lock@GOTPCREL(%rip), %rdi
	callq	_mtx_lock_spin
	movq	_mca_pending@GOTPCREL(%rip), %rdi
	callq	_STAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	_link@GOTPCREL(%rip), %r12
	movq	_mca_pending@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_STAILQ_REMOVE_HEAD
	movq	%rbx, %rdi
	callq	_mca_log
	movq	%rbx, %rdi
	callq	_mca_store_record
	movq	%r15, %rdi
	callq	_STAILQ_FIRST
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	_mca_lock@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock_spin
	movq	_POLLED@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_4
## %bb.6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mca_resize_freelist            ## TAILCALL
LBB0_4:
	movq	_cold@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_mca_tq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_mca_resize_task@GOTPCREL(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_taskqueue_enqueue              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mca_lock,4,2                   ## @mca_lock
	.comm	_mca_pending,4,2                ## @mca_pending
	.comm	_link,4,2                       ## @link
	.comm	_POLLED,4,2                     ## @POLLED
	.comm	_cold,4,2                       ## @cold
	.comm	_mca_tq,4,2                     ## @mca_tq
	.comm	_mca_resize_task,4,2            ## @mca_resize_task
	.no_dead_strip	_mca_process_records
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mca_process_records
_mca_process_records:                   ; @mca_process_records
	.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
Lloh0:
	adrp	x0, _mca_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mca_lock@GOTPAGEOFF]
	bl	_mtx_lock_spin
Lloh2:
	adrp	x0, _mca_pending@GOTPAGE
Lloh3:
	ldr	x0, [x0, _mca_pending@GOTPAGEOFF]
	bl	_STAILQ_FIRST
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh4:
	adrp	x22, _link@GOTPAGE
Lloh5:
	ldr	x22, [x22, _link@GOTPAGEOFF]
Lloh6:
	adrp	x20, _mca_pending@GOTPAGE
Lloh7:
	ldr	x20, [x20, _mca_pending@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_STAILQ_REMOVE_HEAD
	mov	x0, x21
	bl	_mca_log
	mov	x0, x21
	bl	_mca_store_record
	mov	x0, x20
	bl	_STAILQ_FIRST
	mov	x21, x0
	cbnz	x0, LBB0_2
LBB0_3:
Lloh8:
	adrp	x0, _mca_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _mca_lock@GOTPAGEOFF]
	bl	_mtx_unlock_spin
Lloh10:
	adrp	x8, _POLLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _POLLED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_5
; %bb.4:
	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	_mca_resize_freelist
LBB0_5:
Lloh13:
	adrp	x8, _cold@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cold@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.6:
	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_7:
Lloh16:
	adrp	x8, _mca_tq@GOTPAGE
Lloh17:
	ldr	x8, [x8, _mca_tq@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, _mca_resize_task@GOTPAGE
Lloh20:
	ldr	x1, [x1, _mca_resize_task@GOTPAGEOFF]
	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	_taskqueue_enqueue
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_mca_lock,4,2                   ; @mca_lock
	.comm	_mca_pending,4,2                ; @mca_pending
	.comm	_link,4,2                       ; @link
	.comm	_POLLED,4,2                     ; @POLLED
	.comm	_cold,4,2                       ; @cold
	.comm	_mca_tq,4,2                     ; @mca_tq
	.comm	_mca_resize_task,4,2            ; @mca_resize_task
	.no_dead_strip	_mca_process_records
.subsections_via_symbols
