	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_crt_check_parent
_x509_crt_check_parent:                 ## @x509_crt_check_parent
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	$28, %rdi
	addq	$24, %rsi
	callq	_x509_name_cmp
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	testl	%r13d, %r13d
	je	LBB0_6
## %bb.2:
	movl	(%r15), %r13d
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rdx
	cmpq	8(%r15), %rdx
	jne	LBB0_5
## %bb.4:
	movl	16(%rbx), %edi
	movl	16(%r15), %esi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	cmpl	$3, %r13d
	jl	LBB0_7
LBB0_6:
	cmpl	$0, 4(%r15)
	je	LBB0_8
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_X509_KU_KEY_CERT_SIGN,4,2 ## @MBEDTLS_X509_KU_KEY_CERT_SIGN
	.no_dead_strip	_x509_crt_check_parent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_crt_check_parent
_x509_crt_check_parent:                 ; @x509_crt_check_parent
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, x0, #28
	add	x1, x1, #24
	bl	_x509_name_cmp
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #-1
	b	LBB0_9
LBB0_2:
	cbz	w22, LBB0_7
; %bb.3:
	ldr	w22, [x19]
	cbz	w21, LBB0_6
; %bb.4:
	ldr	x2, [x20, #8]
	ldr	x8, [x19, #8]
	cmp	x2, x8
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [x20, #16]
	ldr	w1, [x19, #16]
	bl	_memcmp
	cbz	x0, LBB0_8
LBB0_6:
	cmp	w22, #3
	b.lt	LBB0_8
LBB0_7:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_1
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_X509_KU_KEY_CERT_SIGN,4,2 ; @MBEDTLS_X509_KU_KEY_CERT_SIGN
	.no_dead_strip	_x509_crt_check_parent
.subsections_via_symbols
