	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_newsa_info
_verify_newsa_info:                     ## @verify_newsa_info
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_EINVAL@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	subl	(%r15), %eax
	movl	(%rdi), %ecx
	cmpl	$138, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$137, %ecx
	jne	LBB0_31
## %bb.2:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_31:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rdi), %ecx
	cmpl	$133, %ecx
	je	LBB0_11
## %bb.4:
	cmpl	$135, %ecx
	je	LBB0_18
## %bb.5:
	cmpl	$136, %ecx
	jne	LBB0_31
## %bb.6:
	movq	_XFRMA_ALG_AUTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	jne	LBB0_8
## %bb.7:
	movq	_XFRMA_ALG_AUTH_TRUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	je	LBB0_31
LBB0_8:
	movq	_XFRMA_ALG_AEAD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	jne	LBB0_31
## %bb.9:
	movq	_XFRMA_ALG_CRYPT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	jne	LBB0_31
## %bb.10:
	movq	_XFRMA_ALG_COMP@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_11:
	movq	_XFRMA_ALG_COMP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	jne	LBB0_31
## %bb.12:
	movq	_XFRMA_ALG_AUTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	jne	LBB0_17
## %bb.13:
	movq	_XFRMA_ALG_AUTH_TRUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	jne	LBB0_17
## %bb.14:
	movq	_XFRMA_ALG_CRYPT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	$0, (%r14,%rdx,8)
	jne	LBB0_16
## %bb.15:
	movq	_XFRMA_ALG_AEAD@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%r14,%rdx,8)
	je	LBB0_31
LBB0_16:
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	je	LBB0_24
LBB0_17:
	movq	_XFRMA_ALG_AEAD@GOTPCREL(%rip), %rcx
LBB0_23:
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	jne	LBB0_31
LBB0_24:
	movq	%r14, %rdi
	callq	_verify_aead
	testl	%eax, %eax
	jne	LBB0_31
## %bb.25:
	movq	%r14, %rdi
	callq	_verify_auth_trunc
	testl	%eax, %eax
	jne	LBB0_31
## %bb.26:
	movq	_XFRMA_ALG_AUTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_verify_one_alg
	testl	%eax, %eax
	jne	LBB0_31
## %bb.27:
	movq	_XFRMA_ALG_CRYPT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_verify_one_alg
	testl	%eax, %eax
	jne	LBB0_31
## %bb.28:
	movq	_XFRMA_ALG_COMP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_verify_one_alg
	testl	%eax, %eax
	jne	LBB0_31
## %bb.29:
	movq	%r14, %rdi
	callq	_verify_sec_ctx_len
	testl	%eax, %eax
	jne	LBB0_31
## %bb.30:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	subl	(%r15), %eax
	movl	4(%rbx), %edx
	andl	$-4, %edx
	cmpl	$128, %edx
	cmovel	%ecx, %eax
	jmp	LBB0_31
LBB0_18:
	movq	_XFRMA_ALG_COMP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	je	LBB0_31
## %bb.19:
	movq	_XFRMA_ALG_AEAD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	jne	LBB0_31
## %bb.20:
	movq	_XFRMA_ALG_AUTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	jne	LBB0_31
## %bb.21:
	movq	_XFRMA_ALG_AUTH_TRUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r14,%rcx,8)
	jne	LBB0_31
## %bb.22:
	movq	_XFRMA_ALG_CRYPT@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_XFRMA_ALG_AUTH,8,3             ## @XFRMA_ALG_AUTH
	.comm	_XFRMA_ALG_AUTH_TRUNC,8,3       ## @XFRMA_ALG_AUTH_TRUNC
	.comm	_XFRMA_ALG_AEAD,8,3             ## @XFRMA_ALG_AEAD
	.comm	_XFRMA_ALG_CRYPT,8,3            ## @XFRMA_ALG_CRYPT
	.comm	_XFRMA_ALG_COMP,8,3             ## @XFRMA_ALG_COMP
	.comm	_XFRMA_COADDR,8,3               ## @XFRMA_COADDR
	.comm	_XFRMA_ENCAP,8,3                ## @XFRMA_ENCAP
	.comm	_XFRMA_SEC_CTX,8,3              ## @XFRMA_SEC_CTX
	.no_dead_strip	_verify_newsa_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_newsa_info
_verify_newsa_info:                     ; @verify_newsa_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _EINVAL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EINVAL@GOTPAGEOFF]
	ldr	w8, [x21]
	neg	w0, w8
	ldr	w8, [x19]
	cmp	w8, #138
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #137
	b.ne	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x20, x1
	ldr	w8, [x19, #8]
	cmp	w8, #133
	b.eq	LBB0_12
; %bb.5:
	cmp	w8, #135
	b.eq	LBB0_27
; %bb.6:
	cmp	w8, #136
	b.ne	LBB0_3
;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; %bb.14:
Lloh25:
	adrp	x8, _XFRMA_ALG_AUTH_TRUNC@GOTPAGE
Lloh26:
	ldr	x8, [x8, _XFRMA_ALG_AUTH_TRUNC@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
	cbnz	x8, LBB0_18
; %bb.15:
Lloh28:
	adrp	x8, _XFRMA_ALG_CRYPT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _XFRMA_ALG_CRYPT@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x9, [x20, x9, lsl #3]
	cbnz	x9, LBB0_17
; %bb.16:
Lloh30:
	adrp	x9, _XFRMA_ALG_AEAD@GOTPAGE
Lloh31:
	ldr	x9, [x9, _XFRMA_ALG_AEAD@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	ldr	x9, [x20, x9, lsl #3]
	cbz	x9, LBB0_3
LBB0_17:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_20
LBB0_18:
Lloh33:
	adrp	x8, _XFRMA_ALG_AEAD@GOTPAGE
Lloh34:
	ldr	x8, [x8, _XFRMA_ALG_AEAD@GOTPAGEOFF]
LBB0_19:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
	cbnz	x8, LBB0_3
LBB0_20:
	mov	x0, x20
	bl	_verify_aead
	cbnz	w0, LBB0_3
; %bb.21:
	mov	x0, x20
	bl	_verify_auth_trunc
	cbnz	w0, LBB0_3
; %bb.22:
Lloh35:
	adrp	x8, _XFRMA_ALG_AUTH@GOTPAGE
Lloh36:
	ldr	x8, [x8, _XFRMA_ALG_AUTH@GOTPAGEOFF]
Lloh37:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_verify_one_alg
	cbnz	w0, LBB0_3
; %bb.23:
Lloh38:
	adrp	x8, _XFRMA_ALG_CRYPT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _XFRMA_ALG_CRYPT@GOTPAGEOFF]
Lloh40:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_verify_one_alg
	cbnz	w0, LBB0_3
; %bb.24:
Lloh41:
	adrp	x8, _XFRMA_ALG_COMP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _XFRMA_ALG_COMP@GOTPAGEOFF]
Lloh43:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_verify_one_alg
	cbnz	w0, LBB0_3
; %bb.25:
	mov	x0, x20
	bl	_verify_sec_ctx_len
	cbnz	w0, LBB0_3
; %bb.26:
	ldr	w8, [x21]
	ldr	w9, [x19, #4]
	and	w9, w9, #0xfffffffc
	cmp	w9, #128
	csneg	w0, wzr, w8, eq
	b	LBB0_3
LBB0_27:
Lloh44:
	adrp	x8, _XFRMA_ALG_COMP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _XFRMA_ALG_COMP@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_3
; %bb.28:
Lloh47:
	adrp	x8, _XFRMA_ALG_AEAD@GOTPAGE
Lloh48:
	ldr	x8, [x8, _XFRMA_ALG_AEAD@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
	cbnz	x8, LBB0_3
; %bb.29:
Lloh50:
	adrp	x8, _XFRMA_ALG_AUTH@GOTPAGE
Lloh51:
	ldr	x8, [x8, _XFRMA_ALG_AUTH@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
	cbnz	x8, LBB0_3
; %bb.30:
Lloh53:
	adrp	x8, _XFRMA_ALG_AUTH_TRUNC@GOTPAGE
Lloh54:
	ldr	x8, [x8, _XFRMA_ALG_AUTH_TRUNC@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
	cbnz	x8, LBB0_3
; %bb.31:
Lloh56:
	adrp	x8, _XFRMA_ALG_CRYPT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _XFRMA_ALG_CRYPT@GOTPAGEOFF]
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_XFRMA_ALG_AUTH,8,3             ; @XFRMA_ALG_AUTH
	.comm	_XFRMA_ALG_AUTH_TRUNC,8,3       ; @XFRMA_ALG_AUTH_TRUNC
	.comm	_XFRMA_ALG_AEAD,8,3             ; @XFRMA_ALG_AEAD
	.comm	_XFRMA_ALG_CRYPT,8,3            ; @XFRMA_ALG_CRYPT
	.comm	_XFRMA_ALG_COMP,8,3             ; @XFRMA_ALG_COMP
	.comm	_XFRMA_COADDR,8,3               ; @XFRMA_COADDR
	.comm	_XFRMA_ENCAP,8,3                ; @XFRMA_ENCAP
	.comm	_XFRMA_SEC_CTX,8,3              ; @XFRMA_SEC_CTX
	.no_dead_strip	_verify_newsa_info
.subsections_via_symbols
