	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genwqe_read_ffdc_regs          ## -- Begin function genwqe_read_ffdc_regs
	.p2align	4, 0x90
_genwqe_read_ffdc_regs:                 ## @genwqe_read_ffdc_regs
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$0, -44(%rbp)
	movq	_IO_SLC_CFGREG_GFIR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	___genwqe_readq
	movl	(%r14), %r8d
	leaq	-44(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	movq	%rax, %r9
	callq	_set_reg
	movq	_IO_SLU_UNITCFG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	___genwqe_readq
	movl	(%r15), %r8d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	movq	%rax, %r9
	callq	_set_reg
	movq	_IO_APP_UNITCFG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	___genwqe_readq
	movl	(%r15), %r8d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	movq	%rax, %r9
	callq	_set_reg
	movq	_GENWQE_MAX_UNITS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.1:
	xorl	%ecx, %ecx
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	incl	%ecx
	movq	_GENWQE_MAX_UNITS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	jae	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%ecx, %ebx
	shll	$24, %ebx
	leal	8(%rbx), %esi
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	___genwqe_readq
	movq	%r12, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	leaq	-44(%rbp), %r15
	movq	%r15, %rdx
	movl	%r13d, %ecx
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %r9
	callq	_set_reg
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	addl	$24, %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	___genwqe_readq
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movq	%rax, %r9
	callq	_set_reg
	movl	$768, %r12d                     ## imm = 0x300
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	leal	-512(%r12), %r15d
	orl	-56(%rbp), %r15d                ## 4-byte Folded Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	___genwqe_readq
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	-44(%rbp), %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movq	%rax, %r9
	callq	_set_reg
	movl	%r12d, %ebx
	orl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	___genwqe_readq
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	-44(%rbp), %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movq	%rax, %r9
	callq	_set_reg
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	incq	%r14
	addl	$8, %r12d
	cmpq	$64, %r14
	je	LBB0_7
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	btq	%r14, %rax
	jb	LBB0_5
	jmp	LBB0_6
LBB0_8:
	movl	-44(%rbp), %r14d
	cmpl	%r13d, %r14d
	jae	LBB0_10
## %bb.9:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,8), %rdi
	movl	%r14d, %eax
	notl	%eax
	addl	%r13d, %eax
	leaq	8(,%rax,8), %rdx
	movl	$255, %esi
	callq	_memset
LBB0_10:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_SLC_CFGREG_GFIR,4,2         ## @IO_SLC_CFGREG_GFIR
	.comm	_IO_SLU_UNITCFG,4,2             ## @IO_SLU_UNITCFG
	.comm	_IO_APP_UNITCFG,4,2             ## @IO_APP_UNITCFG
	.comm	_GENWQE_MAX_UNITS,4,2           ## @GENWQE_MAX_UNITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genwqe_read_ffdc_regs          ; -- Begin function genwqe_read_ffdc_regs
	.p2align	2
_genwqe_read_ffdc_regs:                 ; @genwqe_read_ffdc_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x23, _IO_SLC_CFGREG_GFIR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IO_SLC_CFGREG_GFIR@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	___genwqe_readq
	mov	x5, x0
	ldr	w4, [x23]
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x20
	mov	x3, x19
	bl	_set_reg
Lloh2:
	adrp	x23, _IO_SLU_UNITCFG@GOTPAGE
Lloh3:
	ldr	x23, [x23, _IO_SLU_UNITCFG@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	bl	___genwqe_readq
	mov	x5, x0
	ldr	w4, [x23]
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x20
	mov	x3, x19
	bl	_set_reg
Lloh4:
	adrp	x23, _IO_APP_UNITCFG@GOTPAGE
Lloh5:
	ldr	x23, [x23, _IO_APP_UNITCFG@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	bl	___genwqe_readq
	mov	x5, x0
	ldr	w4, [x23]
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x20
	mov	x3, x19
	bl	_set_reg
Lloh6:
	adrp	x8, _GENWQE_MAX_UNITS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GENWQE_MAX_UNITS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.1:
	mov	w26, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w26, w26, #1
Lloh9:
	adrp	x8, _GENWQE_MAX_UNITS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GENWQE_MAX_UNITS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w26, w8
	b.hs	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	lsl	w27, w26, #24
	mov	w24, #8
	bfi	w24, w26, #24, #8
	mov	x0, x22
	mov	x1, x24
	bl	___genwqe_readq
	mov	x23, x0
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x20
	mov	x3, x19
	mov	x4, x24
	mov	x5, x23
	bl	_set_reg
	mov	w24, #24
	bfi	w24, w26, #24, #8
	mov	x0, x22
	mov	x1, x24
	bl	___genwqe_readq
	mov	x5, x0
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x20
	mov	x3, x19
	mov	x4, x24
	bl	_set_reg
	mov	x28, #0
	mov	w25, #768
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=2
	sub	w8, w25, #512
	orr	w24, w8, w27
	mov	x0, x22
	mov	x1, x24
	bl	___genwqe_readq
	mov	x5, x0
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x20
	mov	x3, x19
	mov	x4, x24
	bl	_set_reg
	orr	w24, w25, w27
	mov	x0, x22
	mov	x1, x24
	bl	___genwqe_readq
	mov	x5, x0
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x20
	mov	x3, x19
	mov	x4, x24
	bl	_set_reg
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x28, x28, #1
	add	w25, w25, #8
	cmp	x28, #64
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbnz	w21, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	lsr	x8, x23, x28
	tbnz	w8, #0, LBB0_4
	b	LBB0_5
LBB0_8:
	ldr	w21, [sp, #12]
	cmp	w21, w19
	b.hs	LBB0_10
; %bb.9:
	add	x0, x20, x21, lsl #3
	mvn	w8, w21
	add	w8, w8, w19
	lsl	x8, x8, #3
	add	x2, x8, #8
	mov	w1, #255
	bl	_memset
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_SLC_CFGREG_GFIR,4,2         ; @IO_SLC_CFGREG_GFIR
	.comm	_IO_SLU_UNITCFG,4,2             ; @IO_SLU_UNITCFG
	.comm	_IO_APP_UNITCFG,4,2             ; @IO_APP_UNITCFG
	.comm	_GENWQE_MAX_UNITS,4,2           ; @GENWQE_MAX_UNITS
.subsections_via_symbols
