	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_error_values
_get_error_values:                      ## @get_error_values
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %r13d
	xorl	%eax, %eax
	callq	_ERR_get_state
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%rax, %r12
	testl	%r13d, %r13d
	je	LBB0_13
## %bb.2:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.3:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rcx)
LBB0_5:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	movl	$0, (%rbx)
LBB0_7:
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r15)
LBB0_9:
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	movl	$0, (%r14)
LBB0_11:
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_24
LBB0_13:
	movl	(%r12), %eax
	movl	4(%r12), %esi
	cmpl	%esi, %eax
	jne	LBB0_15
LBB0_23:
	xorl	%ebx, %ebx
LBB0_24:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	_ERR_FLAG_CLEAR@GOTPCREL(%rip), %r15
	movq	_ERR_NUM_ERRORS@GOTPCREL(%rip), %r14
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=1
	decl	%esi
	movl	%esi, 4(%r12)
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	(%r12), %eax
	cmpl	%esi, %eax
	je	LBB0_23
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	movslq	%esi, %rcx
	movl	(%r15), %ebx
	testl	%ebx, (%rdi,%rcx,4)
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r12, %rdi
	callq	_err_clear
	movl	4(%r12), %esi
	testl	%esi, %esi
	jg	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	(%r14), %esi
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	incl	%eax
	cltd
	idivl	(%r14)
	movslq	%edx, %rax
	testl	%ebx, (%rdi,%rax,4)
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%edx, (%r12)
	movq	%r12, %rdi
	movl	%edx, %esi
	callq	_err_clear
	movl	4(%r12), %esi
	jmp	LBB0_17
LBB0_25:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	cmovneq	%rcx, %rax
	cmovnel	%esi, %edx
	movq	16(%r12), %rcx
	movq	(%rcx,%rax,8), %rbx
	testl	%r13d, %r13d
	je	LBB0_27
## %bb.26:
	movl	%edx, (%r12)
	movq	$0, (%rcx,%rax,8)
LBB0_27:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_33
## %bb.28:
	testq	%rsi, %rsi
	je	LBB0_33
## %bb.29:
	movq	24(%r12), %rcx
	movq	(%rcx,%rax,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_31
## %bb.30:
	movq	%rcx, (%rdi)
	movq	32(%r12), %rcx
	movl	(%rcx,%rax,4), %ecx
	jmp	LBB0_32
LBB0_31:
	leaq	L_.str.1(%rip), %rcx
	movq	%rcx, (%rdi)
	xorl	%ecx, %ecx
LBB0_32:
	movl	%ecx, (%rsi)
LBB0_33:
	testq	%r9, %r9
	je	LBB0_37
## %bb.34:
	movq	40(%r12), %rcx
	movq	(%rcx,%rax,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_39
## %bb.35:
	movq	%rcx, (%r9)
	testq	%r8, %r8
	je	LBB0_24
## %bb.36:
	movq	48(%r12), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%r8)
	jmp	LBB0_24
LBB0_37:
	testl	%r13d, %r13d
	je	LBB0_24
## %bb.38:
	movq	%r12, %rdi
	movl	%edx, %esi
	callq	_err_clear_data
	jmp	LBB0_24
LBB0_39:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r9)
	testq	%r8, %r8
	je	LBB0_24
## %bb.40:
	movl	$0, (%r8)
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_ERR_R_INTERNAL_ERROR,8,3       ## @ERR_R_INTERNAL_ERROR
	.comm	_ERR_FLAG_CLEAR,4,2             ## @ERR_FLAG_CLEAR
	.comm	_ERR_NUM_ERRORS,4,2             ## @ERR_NUM_ERRORS
L_.str.1:                               ## @.str.1
	.asciz	"NA"

	.no_dead_strip	_get_error_values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_error_values
_get_error_values:                      ; @get_error_values
	.cfi_startproc
; %bb.0:
	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
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x24, x2
	mov	x25, x1
	mov	x23, x0
	bl	_ERR_get_state
	cbz	x0, LBB0_13
; %bb.1:
	mov	x21, x0
	cbz	w23, LBB0_12
; %bb.2:
	cbz	w25, LBB0_12
; %bb.3:
	cbz	x24, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x24]
LBB0_5:
	cbz	x22, LBB0_7
; %bb.6:
	str	wzr, [x22]
LBB0_7:
	cbz	x20, LBB0_9
; %bb.8:
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x20]
LBB0_9:
	cbz	x19, LBB0_11
; %bb.10:
	str	wzr, [x19]
LBB0_11:
Lloh4:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	x25, [x8]
	b	LBB0_14
LBB0_12:
	ldp	w10, w9, [x21]
	cmp	w10, w9
	b.ne	LBB0_15
LBB0_13:
	mov	x25, #0
LBB0_14:
	mov	x0, x25
	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
	ret
LBB0_15:
Lloh7:
	adrp	x26, _ERR_FLAG_CLEAR@GOTPAGE
Lloh8:
	ldr	x26, [x26, _ERR_FLAG_CLEAR@GOTPAGEOFF]
Lloh9:
	adrp	x27, _ERR_NUM_ERRORS@GOTPAGE
Lloh10:
	ldr	x27, [x27, _ERR_NUM_ERRORS@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x21
	mov	x1, x8
	bl	_err_clear
	ldr	w8, [x21, #4]
	ldr	w9, [x27]
	cmp	w8, #0
	csel	w8, w8, w9, gt
	sub	w9, w8, #1
	str	w9, [x21, #4]
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w10, [x21]
	cmp	w10, w9
	b.eq	LBB0_13
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x21, #8]
	sxtw	x8, w9
	ldr	w12, [x11, w9, sxtw #2]
	ldr	w9, [x26]
	tst	w9, w12
	b.ne	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	w10, w10, #1
	ldr	w12, [x27]
	sdiv	w13, w10, w12
	msub	w1, w13, w12, w10
	ldr	w10, [x11, w1, sxtw #2]
	tst	w10, w9
	b.eq	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	str	w1, [x21]
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_err_clear
	ldr	w9, [x21, #4]
	b	LBB0_17
LBB0_21:
	sxtw	x9, w1
	cmp	w25, #0
	csel	w1, w8, w1, ne
	csel	x8, x8, x9, ne
	ldr	x9, [x21, #16]
	ldr	x25, [x9, x8, lsl #3]
	cbz	w23, LBB0_23
; %bb.22:
	str	w1, [x21]
	str	xzr, [x9, x8, lsl #3]
LBB0_23:
	cbz	x24, LBB0_29
; %bb.24:
	cbz	x22, LBB0_29
; %bb.25:
	ldr	x9, [x21, #24]
	ldr	x9, [x9, x8, lsl #3]
	cbz	x9, LBB0_27
; %bb.26:
	str	x9, [x24]
	ldr	x9, [x21, #32]
	ldr	w9, [x9, x8, lsl #2]
	b	LBB0_28
LBB0_27:
Lloh11:
	adrp	x10, l_.str.1@PAGE
Lloh12:
	add	x10, x10, l_.str.1@PAGEOFF
	str	x10, [x24]
LBB0_28:
	str	w9, [x22]
LBB0_29:
	cbz	x20, LBB0_33
; %bb.30:
	ldr	x9, [x21, #40]
	ldr	x9, [x9, x8, lsl #3]
	cbz	x9, LBB0_35
; %bb.31:
	str	x9, [x20]
	cbz	x19, LBB0_14
; %bb.32:
	ldr	x9, [x21, #48]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x19]
	b	LBB0_14
LBB0_33:
	cbz	w23, LBB0_14
; %bb.34:
	mov	x0, x21
	bl	_err_clear_data
	b	LBB0_14
LBB0_35:
Lloh13:
	adrp	x8, l_.str@PAGE
Lloh14:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x20]
	cbz	x19, LBB0_14
; %bb.36:
	str	wzr, [x19]
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_ERR_R_INTERNAL_ERROR,8,3       ; @ERR_R_INTERNAL_ERROR
	.comm	_ERR_FLAG_CLEAR,4,2             ; @ERR_FLAG_CLEAR
	.comm	_ERR_NUM_ERRORS,4,2             ; @ERR_NUM_ERRORS
l_.str.1:                               ; @.str.1
	.asciz	"NA"

	.no_dead_strip	_get_error_values
.subsections_via_symbols
