	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flexrm_write_config_in_seqfile
_flexrm_write_config_in_seqfile:        ## @flexrm_write_config_in_seqfile
	.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	%rsi, %r12
	movq	%rdi, %r14
	leaq	L_.str.6(%rip), %rbx
	leaq	L_.str.5(%rip), %r10
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	leaq	L_.str.4(%rip), %r9
	movq	%r12, %rdi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_seq_printf
	addq	$16, %rsp
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	movl	$24, %ebx
	xorl	%r15d, %r15d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r14
	movq	_RING_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14,%rbx), %rdi
	callq	_readl
	movl	%eax, %r13d
	movq	_CONTROL_ACTIVE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%r13d, %eax
	leaq	L_.str.7(%rip), %rcx
	leaq	L_.str.8(%rip), %rax
	cmoveq	%rax, %rcx
	movslq	-8(%r14,%rbx), %rdx
	movq	-16(%r14,%rbx), %r8
	movq	_RING_BD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_RING_CMPL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	%r12, %rdi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r10
	pushq	-24(%r14,%rbx)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	callq	_seq_printf
	addq	$16, %rsp
	incq	%r15
	movslq	(%r14), %rax
	addq	$32, %rbx
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%-5s %-9s %-18s %-10s %-18s %-10s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Ring#"

L_.str.2:                               ## @.str.2
	.asciz	"State"

L_.str.3:                               ## @.str.3
	.asciz	"BD_Addr"

L_.str.4:                               ## @.str.4
	.asciz	"BD_Size"

L_.str.5:                               ## @.str.5
	.asciz	"Cmpl_Addr"

L_.str.6:                               ## @.str.6
	.asciz	"Cmpl_Size"

	.comm	_RING_CONTROL,8,3               ## @RING_CONTROL
	.comm	_CONTROL_ACTIVE_SHIFT,4,2       ## @CONTROL_ACTIVE_SHIFT
L_.str.7:                               ## @.str.7
	.asciz	"active"

L_.str.8:                               ## @.str.8
	.asciz	"inactive"

L_.str.9:                               ## @.str.9
	.asciz	"%-5d %-9s 0x%016llx 0x%08x 0x%016llx 0x%08x\n"

	.comm	_RING_BD_SIZE,8,3               ## @RING_BD_SIZE
	.comm	_RING_CMPL_SIZE,8,3             ## @RING_CMPL_SIZE
	.no_dead_strip	_flexrm_write_config_in_seqfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flexrm_write_config_in_seqfile
_flexrm_write_config_in_seqfile:        ; @flexrm_write_config_in_seqfile
	.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, l_.str.6@PAGE
Lloh1:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh2:
	adrp	x9, l_.str.5@PAGE
Lloh3:
	add	x9, x9, l_.str.5@PAGEOFF
	stp	x9, x8, [sp, #16]
Lloh4:
	adrp	x8, l_.str.4@PAGE
Lloh5:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh6:
	adrp	x9, l_.str.3@PAGE
Lloh7:
	add	x9, x9, l_.str.3@PAGEOFF
	stp	x9, x8, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh12:
	adrp	x3, l_.str.2@PAGE
Lloh13:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh14:
	adrp	x28, l_.str.8@PAGE
Lloh15:
	add	x28, x28, l_.str.8@PAGEOFF
Lloh16:
	adrp	x25, _RING_BD_SIZE@GOTPAGE
Lloh17:
	ldr	x25, [x25, _RING_BD_SIZE@GOTPAGEOFF]
Lloh18:
	adrp	x26, _RING_CMPL_SIZE@GOTPAGE
Lloh19:
	ldr	x26, [x26, _RING_CMPL_SIZE@GOTPAGEOFF]
Lloh20:
	adrp	x21, l_.str.9@PAGE
Lloh21:
	add	x21, x21, l_.str.9@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x27, x8, x23
	ldr	x8, [x27, #24]
Lloh22:
	adrp	x9, _RING_CONTROL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _RING_CONTROL@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x22, x0
Lloh25:
	adrp	x8, _CONTROL_ACTIVE_SHIFT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CONTROL_ACTIVE_SHIFT@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w22
Lloh28:
	adrp	x8, l_.str.7@PAGE
Lloh29:
	add	x8, x8, l_.str.7@PAGEOFF
	csel	x3, x28, x8, eq
	ldrsw	x2, [x27, #16]
	ldr	x8, [x25]
	ldp	x10, x9, [x27]
	ldr	x11, [x26]
	stp	x10, x11, [sp, #16]
	stp	x9, x8, [sp]
	mov	x0, x19
	mov	x1, x21
	bl	_seq_printf
	add	x24, x24, #1
	ldrsw	x8, [x20]
	add	x23, x23, #32
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_3:
	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 AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%-5s %-9s %-18s %-10s %-18s %-10s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Ring#"

l_.str.2:                               ; @.str.2
	.asciz	"State"

l_.str.3:                               ; @.str.3
	.asciz	"BD_Addr"

l_.str.4:                               ; @.str.4
	.asciz	"BD_Size"

l_.str.5:                               ; @.str.5
	.asciz	"Cmpl_Addr"

l_.str.6:                               ; @.str.6
	.asciz	"Cmpl_Size"

	.comm	_RING_CONTROL,8,3               ; @RING_CONTROL
	.comm	_CONTROL_ACTIVE_SHIFT,4,2       ; @CONTROL_ACTIVE_SHIFT
l_.str.7:                               ; @.str.7
	.asciz	"active"

l_.str.8:                               ; @.str.8
	.asciz	"inactive"

l_.str.9:                               ; @.str.9
	.asciz	"%-5d %-9s 0x%016llx 0x%08x 0x%016llx 0x%08x\n"

	.comm	_RING_BD_SIZE,8,3               ; @RING_BD_SIZE
	.comm	_RING_CMPL_SIZE,8,3             ; @RING_CMPL_SIZE
	.no_dead_strip	_flexrm_write_config_in_seqfile
.subsections_via_symbols
