	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sc_release_update              ## -- Begin function sc_release_update
	.p2align	4, 0x90
_sc_release_update:                     ## @sc_release_update
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	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	%rdi, %rbx
	leaq	24(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	48(%rbx), %rax
	movl	(%rax), %edi
	callq	_le64_to_cpu
	movq	_CR_COUNTER_SMASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	andq	%rax, %rsi
	movq	_CR_COUNTER_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rsi
	movq	(%rbx), %rdx
	movq	_CR_COUNTER_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	andq	%rdx, %rcx
	subq	%rcx, %rsi
	andq	%rax, %rsi
	addq	%rsi, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_trace_hfi1_piofree
	movl	40(%rbx), %edi
	callq	_READ_ONCE
	movq	8(%rbx), %r13
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	%r13, %rax
	je	LBB0_13
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	$-1, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r13, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rbx), %r15
	leaq	(,%r13,2), %r12
	addq	%r13, %r12
	movl	16(%r15,%r12,8), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sent_before
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15,%r12,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r14d, %r14d
	jns	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r12,8), %rax
	addq	$8, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_fill_code
	movl	%eax, %r14d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15,%r12,8), %edi
	movl	%r14d, %esi
	callq	*%rcx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	cmpq	16(%rbx), %r13
	jb	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_11
LBB0_14:
	retq
LBB0_4:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
LBB0_12:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	callq	_smp_wmb
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sc_piobufavail                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CR_COUNTER_SMASK,8,3           ## @CR_COUNTER_SMASK
	.comm	_CR_COUNTER_SHIFT,8,3           ## @CR_COUNTER_SHIFT
	.comm	_CR_COUNTER_MASK,8,3            ## @CR_COUNTER_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sc_release_update              ; -- Begin function sc_release_update
	.p2align	2
_sc_release_update:                     ; @sc_release_update
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_remember_state
	mov	x19, x0
	add	x20, x0, #24
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #48]
	ldr	w0, [x8]
	bl	_le64_to_cpu
	mov	x22, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CR_COUNTER_SMASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CR_COUNTER_SMASK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	and	x9, x9, x0
Lloh3:
	adrp	x10, _CR_COUNTER_SHIFT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CR_COUNTER_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _CR_COUNTER_MASK@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CR_COUNTER_MASK@GOTPAGEOFF]
	lsr	x9, x9, x10
Lloh8:
	ldr	x10, [x11]
	and	x11, x10, x8
	sub	x9, x9, x11
	and	x1, x9, x10
	add	x21, x1, x8
	mov	x0, x19
	bl	_trace_hfi1_piofree
	ldr	w0, [x19, #40]
	bl	_READ_ONCE
	mov	x23, x0
	ldr	x25, [x19, #8]
	cmp	x0, x25
	b.eq	LBB0_11
; %bb.2:
	mov	w24, #-1
	mov	w26, #24
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mul	x9, x25, x26
	ldr	w0, [x27, x9]
	mov	x1, x24
	blr	x8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x25, #1
	ldr	x9, [x19, #16]
	cmp	x8, x9
	csinc	x25, xzr, x25, hs
	cmp	x23, x25
	b.eq	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x19, #32]
	madd	x8, x25, x26, x27
	ldr	w1, [x8, #16]
	mov	x0, x21
	bl	_sent_before
	cbnz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x28, x25, x26, x27
	ldr	x8, [x28, #8]!
	cbz	x8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	tbz	w24, #31, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_fill_code
	mov	x24, x0
	ldr	x8, [x28]
	b	LBB0_3
LBB0_9:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	.cfi_same_value w27
	.cfi_same_value w28
	ret
LBB0_10:
	.cfi_restore_state
	mov	x23, x25
LBB0_11:
	str	x23, [x19, #8]
	bl	_smp_wmb
	str	x21, [x19]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_sc_piobufavail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CR_COUNTER_SMASK,8,3           ; @CR_COUNTER_SMASK
	.comm	_CR_COUNTER_SHIFT,8,3           ; @CR_COUNTER_SHIFT
	.comm	_CR_COUNTER_MASK,8,3            ; @CR_COUNTER_MASK
.subsections_via_symbols
