	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_AuthorityKeyIdentifier
_get_AuthorityKeyIdentifier:            ## @get_AuthorityKeyIdentifier
	.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	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movl	%edi, %r14d
	leaq	-36(%rbp), %rsi
	movq	%r12, %rdi
	callq	__hx509_find_extension_subject_key_id
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	$1, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	leaq	4(%r12), %rdi
	leaq	-112(%rbp), %rsi
	callq	_copy_Name
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.4:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_choice_GeneralName_directoryName@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_choice_GeneralName_directoryName_rdnSequence@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	-104(%rbp), %eax
	movl	%eax, -52(%rbp)
	leaq	-88(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_add_GeneralNames
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	movl	-84(%rbp), %eax
	movq	8(%r15), %rcx
	movl	%eax, 4(%rcx)
	movl	-88(%rbp), %eax
	movl	%eax, (%rcx)
	movq	(%r15), %rsi
	movq	%r12, %rdi
	callq	_der_copy_heim_integer
	cmpq	$0, (%r15)
	je	LBB0_11
## %bb.6:
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_7:
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	-36(%rbp), %r12
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_der_copy_octet_string
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_free_SubjectKeyIdentifier
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.9:
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_hx509_set_error_string
	jmp	LBB0_14
LBB0_10:
	leaq	-36(%rbp), %rdi
	callq	_free_SubjectKeyIdentifier
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_12:
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_hx509_set_error_string
LBB0_13:
	testl	%ebx, %ebx
	je	LBB0_16
LBB0_14:
	movq	%r15, %rdi
	callq	_free_AuthorityKeyIdentifier
	jmp	LBB0_17
LBB0_16:
	xorl	%ebx, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Out of memory"

	.comm	_choice_GeneralName_directoryName,4,2 ## @choice_GeneralName_directoryName
	.comm	_choice_GeneralName_directoryName_rdnSequence,4,2 ## @choice_GeneralName_directoryName_rdnSequence
	.no_dead_strip	_get_AuthorityKeyIdentifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_AuthorityKeyIdentifier
_get_AuthorityKeyIdentifier:            ; @get_AuthorityKeyIdentifier
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	sub	x1, x29, #36
	mov	x0, x21
	bl	__hx509_find_extension_subject_key_id
	cbz	w0, LBB0_7
; %bb.1:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	w0, #1
	mov	w1, #8
	bl	_calloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.2:
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	str	x0, [x19]
	cbz	x0, LBB0_11
; %bb.3:
	add	x0, x21, #4
	mov	x1, sp
	bl	_copy_Name
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.4:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _choice_GeneralName_directoryName@GOTPAGE
Lloh1:
	ldr	x8, [x8, _choice_GeneralName_directoryName@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #44]
Lloh3:
	adrp	x8, _choice_GeneralName_directoryName_rdnSequence@GOTPAGE
Lloh4:
	ldr	x8, [x8, _choice_GeneralName_directoryName_rdnSequence@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	stp	w9, w8, [sp, #36]
	add	x0, sp, #48
	add	x1, sp, #24
	bl	_add_GeneralNames
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	d0, [sp, #48]
	str	d0, [x8]
	ldr	x1, [x19]
	mov	x0, x21
	bl	_der_copy_heim_integer
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.6:
	mov	x22, x0
	b	LBB0_13
LBB0_7:
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.8:
	mov	x1, x0
	sub	x0, x29, #36
	bl	_der_copy_octet_string
	mov	x22, x0
	sub	x0, x29, #36
	bl	_free_SubjectKeyIdentifier
	cbz	w22, LBB0_15
; %bb.9:
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	mov	x2, x22
	bl	_hx509_set_error_string
	b	LBB0_14
LBB0_10:
	sub	x0, x29, #36
	bl	_free_SubjectKeyIdentifier
LBB0_11:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
LBB0_12:
Lloh11:
	adrp	x3, l_.str@PAGE
Lloh12:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	mov	x2, x22
	bl	_hx509_set_error_string
LBB0_13:
	cbz	w22, LBB0_15
LBB0_14:
	mov	x0, x19
	bl	_free_AuthorityKeyIdentifier
LBB0_15:
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Out of memory"

	.comm	_choice_GeneralName_directoryName,4,2 ; @choice_GeneralName_directoryName
	.comm	_choice_GeneralName_directoryName_rdnSequence,4,2 ; @choice_GeneralName_directoryName_rdnSequence
	.no_dead_strip	_get_AuthorityKeyIdentifier
.subsections_via_symbols
