	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_cert_init_data           ## -- Begin function hx509_cert_init_data
	.p2align	4, 0x90
_hx509_cert_init_data:                  ## @hx509_cert_init_data
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%edi, %r14d
	leaq	-36(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%rsi, %rdi
	movq	%r12, %rsi
	callq	_decode_Certificate
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_hx509_set_error_string
	jmp	LBB0_5
LBB0_2:
	cmpq	%r12, -48(%rbp)
	jne	LBB0_3
## %bb.4:
	leaq	-36(%rbp), %r12
	movl	%r14d, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_hx509_cert_init
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_free_Certificate
	jmp	LBB0_5
LBB0_3:
	leaq	-36(%rbp), %rdi
	callq	_free_Certificate
	movq	_HX509_EXTRA_DATA_AFTER_STRUCTURE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rcx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_hx509_set_error_string
	movl	(%rbx), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %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	"Failed to decode certificate"

	.comm	_HX509_EXTRA_DATA_AFTER_STRUCTURE,4,2 ## @HX509_EXTRA_DATA_AFTER_STRUCTURE
L_.str.1:                               ## @.str.1
	.asciz	"Extra data after certificate"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_cert_init_data           ; -- Begin function hx509_cert_init_data
	.p2align	2
_hx509_cert_init_data:                  ; @hx509_cert_init_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	add	x2, sp, #12
	mov	x3, sp
	mov	x0, x1
	mov	x1, x22
	bl	_decode_Certificate
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_hx509_set_error_string
	b	LBB0_5
LBB0_2:
	ldr	x8, [sp]
	cmp	x8, x22
	b.ne	LBB0_4
; %bb.3:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x21
	bl	_hx509_cert_init
	mov	x20, x0
	add	x0, sp, #12
	bl	_free_Certificate
	b	LBB0_5
LBB0_4:
	add	x0, sp, #12
	bl	_free_Certificate
Lloh2:
	adrp	x20, _HX509_EXTRA_DATA_AFTER_STRUCTURE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _HX509_EXTRA_DATA_AFTER_STRUCTURE@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh4:
	adrp	x3, l_.str.1@PAGE
Lloh5:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_hx509_set_error_string
	ldr	w20, [x20]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to decode certificate"

	.comm	_HX509_EXTRA_DATA_AFTER_STRUCTURE,4,2 ; @HX509_EXTRA_DATA_AFTER_STRUCTURE
l_.str.1:                               ; @.str.1
	.asciz	"Extra data after certificate"

.subsections_via_symbols
