	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_GetNameConstraints
_CRYPT_GetNameConstraints:              ## @CRYPT_GetNameConstraints
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	$0, -8(%rbp)
	movq	_szOID_NAME_CONSTRAINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	movl	%eax, %edi
	callq	_CertFindExtension
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_X509_ASN_ENCODING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_X509_NAME_CONSTRAINTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	movq	_CRYPT_DECODE_ALLOC_FLAG@GOTPCREL(%rip), %r9
	movq	_CRYPT_DECODE_NOCOPY_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	orl	(%r9), %r8d
	leaq	-12(%rbp), %rax
	leaq	-8(%rbp), %r10
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r10
	callq	_CryptDecodeObjectEx
	addq	$16, %rsp
	movq	-8(%rbp), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_szOID_NAME_CONSTRAINTS,4,2     ## @szOID_NAME_CONSTRAINTS
	.comm	_X509_ASN_ENCODING,4,2          ## @X509_ASN_ENCODING
	.comm	_X509_NAME_CONSTRAINTS,4,2      ## @X509_NAME_CONSTRAINTS
	.comm	_CRYPT_DECODE_ALLOC_FLAG,4,2    ## @CRYPT_DECODE_ALLOC_FLAG
	.comm	_CRYPT_DECODE_NOCOPY_FLAG,4,2   ## @CRYPT_DECODE_NOCOPY_FLAG
	.no_dead_strip	_CRYPT_GetNameConstraints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_GetNameConstraints
_CRYPT_GetNameConstraints:              ; @CRYPT_GetNameConstraints
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _szOID_NAME_CONSTRAINTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _szOID_NAME_CONSTRAINTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w2, w1, [x0]
	mov	x0, x8
	bl	_CertFindExtension
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _X509_ASN_ENCODING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X509_ASN_ENCODING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _X509_NAME_CONSTRAINTS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _X509_NAME_CONSTRAINTS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
Lloh9:
	adrp	x9, _CRYPT_DECODE_ALLOC_FLAG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CRYPT_DECODE_ALLOC_FLAG@GOTPAGEOFF]
	ldp	w3, w2, [x0]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _CRYPT_DECODE_NOCOPY_FLAG@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CRYPT_DECODE_NOCOPY_FLAG@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w4, w10, w9
	add	x6, sp, #8
	add	x7, sp, #4
	mov	x0, x8
	mov	x5, #0
	bl	_CryptDecodeObjectEx
	ldr	x0, [sp, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_szOID_NAME_CONSTRAINTS,4,2     ; @szOID_NAME_CONSTRAINTS
	.comm	_X509_ASN_ENCODING,4,2          ; @X509_ASN_ENCODING
	.comm	_X509_NAME_CONSTRAINTS,4,2      ; @X509_NAME_CONSTRAINTS
	.comm	_CRYPT_DECODE_ALLOC_FLAG,4,2    ; @CRYPT_DECODE_ALLOC_FLAG
	.comm	_CRYPT_DECODE_NOCOPY_FLAG,4,2   ; @CRYPT_DECODE_NOCOPY_FLAG
	.no_dead_strip	_CRYPT_GetNameConstraints
.subsections_via_symbols
