	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_valid
_is_valid:                              ## @is_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.2:
	xorl	%edx, %edx
	callq	_check_flags
	testl	%eax, %eax
	jne	LBB0_6
LBB0_3:
	movq	_ISC_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	xorl	%edx, %edx
	callq	_check_flags6
	testl	%eax, %eax
	je	LBB0_3
LBB0_6:
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_FALSE,4,2                  ## @ISC_FALSE
	.comm	_ISC_TRUE,4,2                   ## @ISC_TRUE
	.comm	_IN6_IFF_DEPARTED,8,3           ## @IN6_IFF_DEPARTED
	.comm	_IN6_IFF_DETACHED,8,3           ## @IN6_IFF_DETACHED
	.comm	_IN6_IFF_TENTATIVE,8,3          ## @IN6_IFF_TENTATIVE
	.comm	_IN_IFF_DETACHED,8,3            ## @IN_IFF_DETACHED
	.comm	_IN_IFF_TENTATIVE,8,3           ## @IN_IFF_TENTATIVE
	.no_dead_strip	_is_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_valid
_is_valid:                              ; @is_valid
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
	mov	x2, #0
	bl	_check_flags
	b	LBB0_4
LBB0_3:
	mov	x2, #0
	bl	_check_flags6
LBB0_4:
Lloh0:
	adrp	x8, _ISC_FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ISC_TRUE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ISC_TRUE@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _ISC_FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_FALSE,4,2                  ; @ISC_FALSE
	.comm	_ISC_TRUE,4,2                   ; @ISC_TRUE
	.comm	_IN6_IFF_DEPARTED,8,3           ; @IN6_IFF_DEPARTED
	.comm	_IN6_IFF_DETACHED,8,3           ; @IN6_IFF_DETACHED
	.comm	_IN6_IFF_TENTATIVE,8,3          ; @IN6_IFF_TENTATIVE
	.comm	_IN_IFF_DETACHED,8,3            ; @IN_IFF_DETACHED
	.comm	_IN_IFF_TENTATIVE,8,3           ; @IN_IFF_TENTATIVE
	.no_dead_strip	_is_valid
.subsections_via_symbols
