	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_name_constraints
_check_name_constraints:                ## @check_name_constraints
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rsi)
	je	LBB0_14
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	leaq	-52(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	cmpq	(%rbx), %r13
	jae	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movl	4(%rax,%r13,8), %esi
	testl	%esi, %esi
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_GeneralSubtrees_SET
	movq	%r12, %rdi
	movq	%r15, %rsi
	leaq	-48(%rbp), %rdx
	callq	_match_tree
	testl	%eax, %eax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -48(%rbp)
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_subject_null_p
	testl	%eax, %eax
	je	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r13,8), %esi
	testl	%esi, %esi
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_GeneralSubtrees_SET
	movq	%r12, %rdi
	movq	%r15, %rsi
	leaq	-48(%rbp), %rdx
	callq	_match_tree
	testl	%eax, %eax
	jne	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -48(%rbp)
	je	LBB0_13
## %bb.12:
	movq	_HX509_VERIFY_CONSTRAINTS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_8
LBB0_14:
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_4:
	movl	%eax, %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_hx509_clear_error_string
	jmp	LBB0_15
LBB0_7:
	movq	_HX509_VERIFY_CONSTRAINTS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
LBB0_8:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_hx509_set_error_string
	movl	(%rbx), %r14d
LBB0_15:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HX509_VERIFY_CONSTRAINTS,4,2   ## @HX509_VERIFY_CONSTRAINTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error verify constraints, certificate didn't match any permitted subtree"

L_.str.1:                               ## @.str.1
	.asciz	"Error verify constraints, certificate included in excluded subtree"

	.no_dead_strip	_check_name_constraints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_name_constraints
_check_name_constraints:                ; @check_name_constraints
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x1]
	cbz	x8, LBB0_11
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x23, #0
	mov	x24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldr	x8, [x21]
	add	x23, x23, #8
	cmp	x24, x8
	b.hs	LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x8, x8, x23
	ldr	w1, [x8, #4]
	cbz	w1, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_GeneralSubtrees_SET
	add	x0, sp, #8
	add	x2, sp, #12
	mov	x1, x20
	bl	_match_tree
	cbnz	w0, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_subject_null_p
	cbz	w0, LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #8]
	ldr	w1, [x8, x23]
	cbz	w1, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_GeneralSubtrees_SET
	add	x0, sp, #8
	add	x2, sp, #12
	mov	x1, x20
	bl	_match_tree
	cbnz	w0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_2
; %bb.10:
Lloh0:
	adrp	x20, _HX509_VERIFY_CONSTRAINTS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HX509_VERIFY_CONSTRAINTS@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_11:
	mov	w22, #0
	b	LBB0_15
LBB0_12:
	mov	x22, x0
	mov	x0, x19
	bl	_hx509_clear_error_string
	b	LBB0_15
LBB0_13:
Lloh4:
	adrp	x20, _HX509_VERIFY_CONSTRAINTS@GOTPAGE
Lloh5:
	ldr	x20, [x20, _HX509_VERIFY_CONSTRAINTS@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
LBB0_14:
	mov	x0, x19
	mov	w1, #0
	bl	_hx509_set_error_string
	ldr	w22, [x20]
LBB0_15:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HX509_VERIFY_CONSTRAINTS,4,2   ; @HX509_VERIFY_CONSTRAINTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error verify constraints, certificate didn't match any permitted subtree"

l_.str.1:                               ; @.str.1
	.asciz	"Error verify constraints, certificate included in excluded subtree"

	.no_dead_strip	_check_name_constraints
.subsections_via_symbols
