	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scmi_perf_fc_ring_db
_scmi_perf_fc_ring_db:                  ## @scmi_perf_fc_ring_db
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movl	8(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_12
## %bb.2:
	movl	(%rbx), %eax
	cmpl	$4, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$2, %eax
	je	LBB0_7
## %bb.4:
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.5:
	movl	$8, %edi
	jmp	LBB0_6
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	movl	$32, %edi
	jmp	LBB0_6
LBB0_7:
	movl	$16, %edi
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_SCMI_PERF_FC_RING_DB           ## TAILCALL
LBB0_9:
	cmpl	$0, 4(%rbx)
	je	LBB0_11
## %bb.10:
	movl	%esi, %edi
	callq	_ioread64_hi_lo
	movl	8(%rbx), %esi
LBB0_11:
	movl	12(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iowrite64_hi_lo                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_scmi_perf_fc_ring_db
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scmi_perf_fc_ring_db
_scmi_perf_fc_ring_db:                  ; @scmi_perf_fc_ring_db
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w1, [x0, #8]
	cbz	w1, LBB0_6
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #4
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #2
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #1
	b.ne	LBB0_10
; %bb.5:
	mov	w0, #8
	b	LBB0_9
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w0, #32
	b	LBB0_9
LBB0_8:
	mov	w0, #16
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SCMI_PERF_FC_RING_DB
LBB0_10:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_12
; %bb.11:
	mov	x0, x1
	bl	_ioread64_hi_lo
	ldr	w1, [x19, #8]
LBB0_12:
	ldr	w0, [x19, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iowrite64_hi_lo
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_scmi_perf_fc_ring_db
.subsections_via_symbols
