	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OCSP_cert_id_new               ## -- Begin function OCSP_cert_id_new
	.p2align	4, 0x90
_OCSP_cert_id_new:                      ## @OCSP_cert_id_new
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	xorl	%eax, %eax
	callq	_OCSP_CERTID_new
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	24(%rbx), %rdi
	callq	_ASN1_OBJECT_free
	movq	%r15, %rdi
	callq	_EVP_MD_type
	movq	_NID_undef@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movq	_OCSP_F_OCSP_CERT_ID_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OCSP_R_UNKNOWN_NID@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %esi
	callq	_OCSPerr
	jmp	LBB0_13
LBB0_3:
	movl	%eax, %edi
	callq	_OBJ_nid2obj
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	xorl	%eax, %eax
	callq	_ASN1_TYPE_new
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	_V_ASN1_NULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	leaq	-52(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_X509_NAME_digest
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	leaq	8(%rbx), %rdi
	movl	-52(%rbp), %edx
	movq	%r12, %rsi
	callq	_ASN1_OCTET_STRING_set
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	4(%rax), %edi
	leaq	-52(%rbp), %rcx
	movq	%r12, %rdx
	movq	%r15, %r8
	xorl	%r9d, %r9d
	callq	_EVP_Digest
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	movq	%rbx, %rdi
	addq	$4, %rdi
	movl	-52(%rbp), %edx
	movq	%r12, %rsi
	callq	_ASN1_OCTET_STRING_set
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.10:
	movq	%rbx, %rdi
	callq	_ASN1_STRING_copy
	testq	%rax, %rax
	jne	LBB0_14
LBB0_13:
	movq	%rbx, %rdi
	callq	_OCSP_CERTID_free
	xorl	%ebx, %ebx
LBB0_14:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_OCSP_F_OCSP_CERT_ID_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OCSP_R_DIGEST_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	_OCSP_F_OCSP_CERT_ID_NEW,4,2    ## @OCSP_F_OCSP_CERT_ID_NEW
	.comm	_OCSP_R_UNKNOWN_NID,4,2         ## @OCSP_R_UNKNOWN_NID
	.comm	_V_ASN1_NULL,4,2                ## @V_ASN1_NULL
	.comm	_OCSP_R_DIGEST_ERR,4,2          ## @OCSP_R_DIGEST_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OCSP_cert_id_new               ; -- Begin function OCSP_cert_id_new
	.p2align	2
_OCSP_cert_id_new:                      ; @OCSP_cert_id_new
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	bl	_OCSP_CERTID_new
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.1:
	ldr	x0, [x19, #24]
	bl	_ASN1_OBJECT_free
	mov	x0, x21
	bl	_EVP_MD_type
Lloh8:
	adrp	x8, _NID_undef@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
Lloh11:
	adrp	x8, _OCSP_F_OCSP_CERT_ID_NEW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OCSP_F_OCSP_CERT_ID_NEW@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _OCSP_R_UNKNOWN_NID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OCSP_R_UNKNOWN_NID@GOTPAGEOFF]
LBB0_3:
	ldr	w1, [x8]
	bl	_OCSPerr
	b	LBB0_12
LBB0_4:
	bl	_OBJ_nid2obj
	str	x0, [x19, #24]
	cbz	x0, LBB0_12
; %bb.5:
	bl	_ASN1_TYPE_new
	str	x0, [x19, #16]
	cbz	x0, LBB0_12
; %bb.6:
Lloh16:
	adrp	x8, _V_ASN1_NULL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V_ASN1_NULL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x0]
	sub	x3, x29, #76
	mov	x0, x24
	mov	x1, x21
	mov	x2, x22
	bl	_X509_NAME_digest
	cbz	w0, LBB0_15
; %bb.7:
	add	x0, x19, #8
	ldur	w2, [x29, #-76]
	mov	x1, x22
	bl	_ASN1_OCTET_STRING_set
	cbz	w0, LBB0_12
; %bb.8:
	ldp	w1, w0, [x23]
	sub	x3, x29, #76
	mov	x2, x22
	mov	x4, x21
	mov	x5, #0
	bl	_EVP_Digest
	cbz	w0, LBB0_12
; %bb.9:
	add	x0, x19, #4
	ldur	w2, [x29, #-76]
	mov	x1, x22
	bl	_ASN1_OCTET_STRING_set
	cbz	w0, LBB0_12
; %bb.10:
	cbz	x20, LBB0_13
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	bl	_ASN1_STRING_copy
	cbnz	x0, LBB0_13
LBB0_12:
	mov	x0, x19
	bl	_OCSP_CERTID_free
	mov	x19, #0
LBB0_13:
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.14:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh22:
	adrp	x8, _OCSP_F_OCSP_CERT_ID_NEW@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OCSP_F_OCSP_CERT_ID_NEW@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _OCSP_R_DIGEST_ERR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _OCSP_R_DIGEST_ERR@GOTPAGEOFF]
	b	LBB0_3
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	_OCSP_F_OCSP_CERT_ID_NEW,4,2    ; @OCSP_F_OCSP_CERT_ID_NEW
	.comm	_OCSP_R_UNKNOWN_NID,4,2         ; @OCSP_R_UNKNOWN_NID
	.comm	_V_ASN1_NULL,4,2                ; @V_ASN1_NULL
	.comm	_OCSP_R_DIGEST_ERR,4,2          ; @OCSP_R_DIGEST_ERR
.subsections_via_symbols
