	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_basicConstraints
_check_basicConstraints:                ## @check_basicConstraints
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rsi, %r14
	movl	%edi, %r15d
	callq	_check_Null
	movl	16(%rbx), %edi
	movq	8(%rbx), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_decode_BasicConstraints
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_16
LBB0_2:
	movq	-56(%rbp), %rax
	cmpq	8(%rbx), %rax
	je	LBB0_4
## %bb.3:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_4:
	movq	_HX509_VALIDATE_F_VERBOSE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	cmpq	$0, (%rax)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str.4(%rip), %rcx
LBB0_7:
	leaq	L_.str.2(%rip), %rdx
	movl	%r15d, %edi
	xorl	%eax, %eax
	callq	_validate_print
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%r12), %esi
	movl	(%rax), %ecx
	leaq	L_.str.5(%rip), %rdx
	movl	%r15d, %edi
	xorl	%eax, %eax
	callq	_validate_print
LBB0_9:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.11:
	cmpl	$0, (%rbx)
	jne	LBB0_13
## %bb.12:
	movq	_HX509_VALIDATE_F_VALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movl	%r15d, %edi
	xorl	%eax, %eax
	callq	_validate_print
LBB0_13:
	movl	$1, (%r14)
	jmp	LBB0_15
LBB0_14:
	movq	_HX509_VALIDATE_F_VALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
	movl	%r15d, %edi
	xorl	%eax, %eax
	callq	_validate_print
LBB0_15:
	leaq	-48(%rbp), %rdi
	callq	_free_BasicConstraints
LBB0_16:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tret = %d while decoding BasicConstraints\n"

	.comm	_HX509_VALIDATE_F_VERBOSE,4,2   ## @HX509_VALIDATE_F_VERBOSE
L_.str.2:                               ## @.str.2
	.asciz	"\tis %sa CA\n"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"NOT "

L_.str.5:                               ## @.str.5
	.asciz	"\tpathLenConstraint: %d\n"

	.comm	_HX509_VALIDATE_F_VALIDATE,4,2  ## @HX509_VALIDATE_F_VALIDATE
L_.str.6:                               ## @.str.6
	.asciz	"Is a CA and not BasicConstraints CRITICAL\n"

L_.str.7:                               ## @.str.7
	.asciz	"cA is FALSE, not allowed to be\n"

L_str:                                  ## @str
	.asciz	"\tlength of der data isn't same as extension"

	.no_dead_strip	_check_basicConstraints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_basicConstraints
_check_basicConstraints:                ; @check_basicConstraints
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
	bl	_check_Null
	ldr	w0, [x21, #16]
	ldr	x1, [x21, #8]
	add	x2, sp, #16
	add	x3, sp, #8
	bl	_decode_BasicConstraints
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_2
; %bb.1:
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	b	LBB0_15
LBB0_2:
	ldr	x8, [sp, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
Lloh2:
	adrp	x0, l_str@PAGE
Lloh3:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_4:
Lloh4:
	adrp	x22, _HX509_VALIDATE_F_VERBOSE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _HX509_VALIDATE_F_VERBOSE@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	x9, [sp, #16]
Lloh6:
	adrp	x8, l_.str.4@PAGE
Lloh7:
	add	x8, x8, l_.str.4@PAGEOFF
	cbz	x9, LBB0_6
; %bb.5:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, l_.str.3@PAGE
Lloh9:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x9, #0
	csel	x8, x8, x10, eq
LBB0_6:
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_validate_print
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	w1, [x22]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh12:
	adrp	x2, l_.str.5@PAGE
Lloh13:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_validate_print
LBB0_8:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_14
; %bb.9:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.10:
	ldr	w8, [x21]
	cbnz	w8, LBB0_12
; %bb.11:
Lloh14:
	adrp	x8, _HX509_VALIDATE_F_VALIDATE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HX509_VALIDATE_F_VALIDATE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.6@PAGE
Lloh18:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_validate_print
LBB0_12:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_14
LBB0_13:
Lloh19:
	adrp	x8, _HX509_VALIDATE_F_VALIDATE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HX509_VALIDATE_F_VALIDATE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x2, l_.str.7@PAGE
Lloh23:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_validate_print
LBB0_14:
	add	x0, sp, #16
	bl	_free_BasicConstraints
LBB0_15:
	mov	w0, #0
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tret = %d while decoding BasicConstraints\n"

	.comm	_HX509_VALIDATE_F_VERBOSE,4,2   ; @HX509_VALIDATE_F_VERBOSE
l_.str.2:                               ; @.str.2
	.asciz	"\tis %sa CA\n"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"NOT "

l_.str.5:                               ; @.str.5
	.asciz	"\tpathLenConstraint: %d\n"

	.comm	_HX509_VALIDATE_F_VALIDATE,4,2  ; @HX509_VALIDATE_F_VALIDATE
l_.str.6:                               ; @.str.6
	.asciz	"Is a CA and not BasicConstraints CRITICAL\n"

l_.str.7:                               ; @.str.7
	.asciz	"cA is FALSE, not allowed to be\n"

l_str:                                  ; @str
	.asciz	"\tlength of der data isn't same as extension"

	.no_dead_strip	_check_basicConstraints
.subsections_via_symbols
