	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NAME_CONSTRAINTS_check_CN      ## -- Begin function NAME_CONSTRAINTS_check_CN
	.p2align	4, 0x90
_NAME_CONSTRAINTS_check_CN:             ## @NAME_CONSTRAINTS_check_CN
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_X509_get_subject_name
	movq	%rax, %r15
	movq	$0, -88(%rbp)
	movq	_V_ASN1_IA5STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	_GEN_DNS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	leaq	-112(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	_NID_commonName@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_X509_NAME_get_index_by_NID
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.1:
	movl	%eax, %ebx
	leaq	-64(%rbp), %r13
	movq	_X509_V_OK@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NID_commonName@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_X509_NAME_get_index_by_NID
	movl	%eax, %ebx
	cmpl	$-1, %eax
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_X509_NAME_get_entry
	movq	%rax, %rdi
	callq	_X509_NAME_ENTRY_get_data
	movq	%rax, %rdi
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdx
	callq	_cn2dnsid
	cmpl	(%r12), %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -112(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -104(%rbp)
	leaq	-80(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_nc_match
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi
	callq	_OPENSSL_free
	cmpl	(%r12), %r14d
	je	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movq	_X509_V_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_8
LBB0_3:
	movl	%eax, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_IA5STRING,4,2           ## @V_ASN1_IA5STRING
	.comm	_GEN_DNS,4,2                    ## @GEN_DNS
	.comm	_NID_commonName,4,2             ## @NID_commonName
	.comm	_X509_V_OK,4,2                  ## @X509_V_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NAME_CONSTRAINTS_check_CN      ; -- Begin function NAME_CONSTRAINTS_check_CN
	.p2align	2
_NAME_CONSTRAINTS_check_CN:             ; @NAME_CONSTRAINTS_check_CN
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x1
	bl	_X509_get_subject_name
	mov	x20, x0
Lloh0:
	adrp	x8, _V_ASN1_IA5STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_ASN1_IA5STRING@GOTPAGEOFF]
	str	xzr, [sp, #56]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #48]
Lloh3:
	adrp	x8, _GEN_DNS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GEN_DNS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	add	x8, sp, #32
	str	x8, [sp, #16]
Lloh6:
	adrp	x23, _NID_commonName@GOTPAGE
Lloh7:
	ldr	x23, [x23, _NID_commonName@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w2, #-1
	bl	_X509_NAME_get_index_by_NID
Lloh8:
	adrp	x24, _X509_V_OK@GOTPAGE
Lloh9:
	ldr	x24, [x24, _X509_V_OK@GOTPAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.1:
	mov	x21, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x21
	bl	_X509_NAME_get_index_by_NID
	mov	x21, x0
	cmn	w0, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_X509_NAME_get_entry
	bl	_X509_NAME_ENTRY_get_data
	add	x1, sp, #8
	mov	x2, sp
	bl	_cn2dnsid
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #8]
	stp	x8, x9, [sp, #32]
	add	x0, sp, #16
	mov	x1, x19
	bl	_nc_match
	mov	x22, x0
	ldr	x0, [sp, #8]
	bl	_OPENSSL_free
	ldr	w8, [x24]
	cmp	w22, w8
	b.eq	LBB0_2
	b	LBB0_8
LBB0_6:
	ldr	w22, [x24]
	b	LBB0_8
LBB0_7:
	mov	x22, x0
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_IA5STRING,4,2           ; @V_ASN1_IA5STRING
	.comm	_GEN_DNS,4,2                    ; @GEN_DNS
	.comm	_NID_commonName,4,2             ; @NID_commonName
	.comm	_X509_V_OK,4,2                  ; @X509_V_OK
.subsections_via_symbols
