	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hx509_cert_is_parent_cmp      ## -- Begin function _hx509_cert_is_parent_cmp
	.p2align	4, 0x90
__hx509_cert_is_parent_cmp:             ## @_hx509_cert_is_parent_cmp
	.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	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	8(%rdi), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	__hx509_name_cmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.1:
	movl	-36(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_15
## %bb.2:
	leaq	-72(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_find_extension_auth_key_id
	movl	%eax, %ebx
	movq	_HX509_EXTENSION_NOT_FOUND@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	$1, %eax
	cmpl	(%r12), %ebx
	jne	LBB0_15
LBB0_4:
	leaq	-96(%rbp), %rsi
	movq	%r15, %rdi
	callq	__hx509_find_extension_subject_key_id
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movl	%eax, %ecx
	movl	$-1, %eax
	cmpl	(%r12), %ecx
	jne	LBB0_15
## %bb.6:
	testl	%ebx, %ebx
	jne	LBB0_14
## %bb.7:
	testl	%r14d, %r14d
	je	LBB0_12
LBB0_8:
	movl	$0, -36(%rbp)
	jmp	LBB0_14
LBB0_9:
	testl	%ebx, %ebx
	jne	LBB0_14
## %bb.10:
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.11:
	leaq	-96(%rbp), %rsi
	callq	_der_heim_octet_string_cmp
	movl	%eax, -36(%rbp)
	jmp	LBB0_14
LBB0_12:
	cmpq	$0, -72(%rbp)
	je	LBB0_16
## %bb.13:
	movl	$-1, -36(%rbp)
LBB0_14:
	leaq	-72(%rbp), %rdi
	callq	_free_AuthorityKeyIdentifier
	leaq	-96(%rbp), %rdi
	callq	_free_SubjectKeyIdentifier
	movl	-36(%rbp), %eax
LBB0_15:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	cmpq	$0, -64(%rbp)
	je	LBB0_24
## %bb.17:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.18:
	leaq	4(%r15), %rsi
	callq	_der_heim_integer_cmp
	movl	%eax, -36(%rbp)
	testl	%eax, %eax
	jne	LBB0_15
## %bb.19:
	movq	-64(%rbp), %rax
	cmpl	$1, (%rax)
	jne	LBB0_24
## %bb.20:
	movq	8(%rax), %rcx
	movq	(%rcx), %rdx
	movq	_choice_GeneralName_directoryName@GOTPCREL(%rip), %rsi
	movl	$-1, %eax
	cmpq	(%rsi), %rdx
	jne	LBB0_15
## %bb.21:
	movl	12(%rcx), %eax
	movl	%eax, -44(%rbp)
	movl	8(%rcx), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	__hx509_name_cmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.22:
	movl	-36(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_15
	jmp	LBB0_8
LBB0_24:
	movl	$-1, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_HX509_EXTENSION_NOT_FOUND,4,2  ## @HX509_EXTENSION_NOT_FOUND
	.comm	_choice_GeneralName_directoryName,8,3 ## @choice_GeneralName_directoryName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hx509_cert_is_parent_cmp      ; -- Begin function _hx509_cert_is_parent_cmp
	.p2align	2
__hx509_cert_is_parent_cmp:             ; @_hx509_cert_is_parent_cmp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	add	x1, x0, #8
	sub	x2, x29, #36
	mov	x0, x19
	bl	__hx509_name_cmp
	cbnz	w0, LBB0_24
; %bb.1:
	ldur	w0, [x29, #-36]
	cbnz	w0, LBB0_24
; %bb.2:
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	add	x1, sp, #32
	mov	x0, x21
	bl	_find_extension_auth_key_id
	mov	x21, x0
Lloh0:
	adrp	x22, _HX509_EXTENSION_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HX509_EXTENSION_NOT_FOUND@GOTPAGEOFF]
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w8, [x22]
	cmp	w21, w8
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_24
LBB0_5:
	add	x1, sp, #8
	mov	x0, x19
	bl	__hx509_find_extension_subject_key_id
	cbz	w0, LBB0_10
; %bb.6:
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_23
; %bb.7:
	cbnz	w21, LBB0_15
; %bb.8:
	cbz	w20, LBB0_13
LBB0_9:
	stur	wzr, [x29, #-36]
	b	LBB0_15
LBB0_10:
	cbnz	w21, LBB0_15
; %bb.11:
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_16
; %bb.12:
	add	x1, sp, #8
	bl	_der_heim_octet_string_cmp
	stur	w0, [x29, #-36]
	b	LBB0_15
LBB0_13:
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_16
; %bb.14:
	mov	w8, #-1
	stur	w8, [x29, #-36]
LBB0_15:
	add	x0, sp, #32
	bl	_free_AuthorityKeyIdentifier
	add	x0, sp, #8
	bl	_free_SubjectKeyIdentifier
	ldur	w0, [x29, #-36]
	b	LBB0_24
LBB0_16:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_23
; %bb.17:
	ldr	x0, [sp, #48]
	cbz	x0, LBB0_23
; %bb.18:
	add	x1, x19, #4
	bl	_der_heim_integer_cmp
	stur	w0, [x29, #-36]
	cbnz	w0, LBB0_24
; %bb.19:
	ldr	x8, [sp, #40]
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_23
; %bb.20:
	ldr	x8, [x8, #8]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _choice_GeneralName_directoryName@GOTPAGE
Lloh3:
	ldr	x10, [x10, _choice_GeneralName_directoryName@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_23
; %bb.21:
	ldr	d0, [x8, #8]
	str	d0, [sp]
	mov	x1, sp
	sub	x2, x29, #36
	mov	x0, x19
	bl	__hx509_name_cmp
	cbnz	w0, LBB0_24
; %bb.22:
	ldur	w0, [x29, #-36]
	cbnz	w0, LBB0_24
	b	LBB0_9
LBB0_23:
	mov	w0, #-1
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HX509_EXTENSION_NOT_FOUND,4,2  ; @HX509_EXTENSION_NOT_FOUND
	.comm	_choice_GeneralName_directoryName,8,3 ; @choice_GeneralName_directoryName
.subsections_via_symbols
