	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genwqe_ffdc_buff_size          ## -- Begin function genwqe_ffdc_buff_size
	.p2align	4, 0x90
_genwqe_ffdc_buff_size:                 ## @genwqe_ffdc_buff_size
	.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	%rdi, %r15
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	callq	_GENWQE_UID_OFFS
	movq	_IO_EXTENDED_ERROR_POINTER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	___genwqe_readq
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ecx
	xorl	%r14d, %r14d
	movl	$0, %r12d
	cmpl	$-3, %ecx
	ja	LBB0_4
## %bb.1:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rbx
	callq	_GENWQE_UID_OFFS
	movl	%eax, %r13d
	orl	%ebx, %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	___genwqe_readq
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	movl	$0, %r12d
	cmpl	$2, %ecx
	jb	LBB0_4
## %bb.2:
	addl	$8, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cltq
	movl	%eax, %ecx
	sarl	$24, %ecx
	andl	$32767, %ecx                    ## imm = 0x7FFF
	movl	%ecx, %edx
	shrl	$3, %edx
	btq	$39, %rax
	cmovbl	%ecx, %edx
	addl	%edx, %r12d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	___genwqe_readq
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	incl	%ecx
	addl	$8, %r13d
	cmpl	$1, %ecx
	ja	LBB0_3
LBB0_4:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r14d
	cmpl	$8, %r14d
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	callq	_GENWQE_UID_OFFS
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_IO_EXTENDED_DIAG_MAP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	___genwqe_readq
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ecx
	shrl	$24, %ecx
	movl	%eax, %edx
	shrl	$16, %edx
	movzbl	%dl, %edx
	movzwl	%ax, %eax
	imull	%edx, %eax
	addl	%r12d, %ecx
	addl	%eax, %ecx
	movl	%ecx, %r12d
	jmp	LBB0_7
LBB0_8:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_EXTENDED_ERROR_POINTER,4,2  ## @IO_EXTENDED_ERROR_POINTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genwqe_ffdc_buff_size          ; -- Begin function genwqe_ffdc_buff_size
	.p2align	2
_genwqe_ffdc_buff_size:                 ; @genwqe_ffdc_buff_size
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_GENWQE_UID_OFFS
Lloh0:
	adrp	x8, _IO_EXTENDED_ERROR_POINTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IO_EXTENDED_ERROR_POINTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x20
	bl	___genwqe_readq
	sub	w8, w0, #1
	cmn	w8, #3
	b.hi	LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	bl	_GENWQE_UID_OFFS
	orr	w22, w0, w21
	mov	x0, x20
	mov	x1, x22
	bl	___genwqe_readq
                                        ; kill: def $w0 killed $w0 def $x0
	add	w8, w0, #1
	cmp	w8, #2
	b.hs	LBB0_3
LBB0_2:
	mov	w21, #0
	b	LBB0_5
LBB0_3:
	mov	w21, #0
	add	w22, w22, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x8, w0
	asr	w9, w0, #24
	and	w10, w9, #0x7fff
	ubfx	w9, w9, #3, #12
	tst	x8, #0x8000000000
	csel	w8, w9, w10, eq
	add	w21, w8, w21
	mov	x0, x20
	mov	x1, x22
	bl	___genwqe_readq
                                        ; kill: def $w0 killed $w0 def $x0
	add	w8, w0, #1
	add	w22, w22, #8
	cmp	w8, #1
	b.hi	LBB0_4
LBB0_5:
	mov	w22, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_GENWQE_UID_OFFS
	mov	x23, x0
	mov	x0, x22
	bl	_IO_EXTENDED_DIAG_MAP
	orr	w1, w0, w23
	mov	x0, x20
	bl	___genwqe_readq
	add	w8, w0, #1
	ubfx	w9, w0, #16, #8
	and	w10, w0, #0xffff
	add	w11, w21, w0, lsr #24
	madd	w9, w9, w10, w11
	cmp	w8, #2
	csel	w21, w21, w9, lo
	add	w22, w22, #1
	cmp	w22, #8
	b.ne	LBB0_6
; %bb.7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_EXTENDED_ERROR_POINTER,4,2  ; @IO_EXTENDED_ERROR_POINTER
.subsections_via_symbols
