	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diagnostic_classify_diagnostic ## -- Begin function diagnostic_classify_diagnostic
	.p2align	4, 0x90
_diagnostic_classify_diagnostic:        ## @diagnostic_classify_diagnostic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	movq	_N_OPTS@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_3
## %bb.2:
	movq	_DK_LAST_DIAGNOSTIC_KIND@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jle	LBB0_3
## %bb.4:
	movq	(%rdi), %rcx
	movl	%esi, %esi
	movq	(%rcx,%rsi,8), %rax
	movq	%rdx, (%rcx,%rsi,8)
	popq	%rbp
	retq
LBB0_3:
	movq	_DK_UNSPECIFIED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_N_OPTS,4,2                     ## @N_OPTS
	.comm	_DK_LAST_DIAGNOSTIC_KIND,8,3    ## @DK_LAST_DIAGNOSTIC_KIND
	.comm	_DK_UNSPECIFIED,8,3             ## @DK_UNSPECIFIED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diagnostic_classify_diagnostic ; -- Begin function diagnostic_classify_diagnostic
	.p2align	2
_diagnostic_classify_diagnostic:        ; @diagnostic_classify_diagnostic
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _N_OPTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _N_OPTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DK_LAST_DIAGNOSTIC_KIND@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DK_LAST_DIAGNOSTIC_KIND@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	w8, w1
	ccmp	x9, x2, #4, gt
	b.le	LBB0_3
; %bb.2:
	ldr	x8, [x0]
	mov	w9, w1
	lsl	x9, x9, #3
	ldr	x0, [x8, x9]
	str	x2, [x8, x9]
	ret
LBB0_3:
Lloh6:
	adrp	x8, _DK_UNSPECIFIED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DK_UNSPECIFIED@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_N_OPTS,4,2                     ; @N_OPTS
	.comm	_DK_LAST_DIAGNOSTIC_KIND,8,3    ; @DK_LAST_DIAGNOSTIC_KIND
	.comm	_DK_UNSPECIFIED,8,3             ; @DK_UNSPECIFIED
.subsections_via_symbols
