	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_security_cert              ## -- Begin function ssl_security_cert
	.p2align	4, 0x90
_ssl_security_cert:                     ## @ssl_security_cert
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_SSL_SECOP_PEER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	testl	%r8d, %r8d
	je	LBB0_5
## %bb.3:
	movq	_SSL_SECOP_EE_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%ebx, %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ssl_security_cert_key
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	_SSL_R_EE_KEY_TOO_SMALL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_SSL_SECOP_CA_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%ebx, %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ssl_security_cert_key
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	_SSL_SECOP_CA_MD@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_ssl_security_cert_sig
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_10
## %bb.8:
	movq	_SSL_R_CA_MD_TOO_WEAK@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_SSL_R_CA_KEY_TOO_SMALL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_SECOP_PEER,4,2             ## @SSL_SECOP_PEER
	.comm	_SSL_SECOP_EE_KEY,4,2           ## @SSL_SECOP_EE_KEY
	.comm	_SSL_R_EE_KEY_TOO_SMALL,4,2     ## @SSL_R_EE_KEY_TOO_SMALL
	.comm	_SSL_SECOP_CA_KEY,4,2           ## @SSL_SECOP_CA_KEY
	.comm	_SSL_R_CA_KEY_TOO_SMALL,4,2     ## @SSL_R_CA_KEY_TOO_SMALL
	.comm	_SSL_SECOP_CA_MD,4,2            ## @SSL_SECOP_CA_MD
	.comm	_SSL_R_CA_MD_TOO_WEAK,4,2       ## @SSL_R_CA_MD_TOO_WEAK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_security_cert              ; -- Begin function ssl_security_cert
	.p2align	2
_ssl_security_cert:                     ; @ssl_security_cert
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _SSL_SECOP_PEER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_SECOP_PEER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w3, #0
	csel	w22, wzr, w8, eq
	cbz	w4, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _SSL_SECOP_EE_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_SECOP_EE_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w3, w8, w22
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ssl_security_cert_key
	cbnz	w0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _SSL_R_EE_KEY_TOO_SMALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_R_EE_KEY_TOO_SMALL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x8, _SSL_SECOP_CA_KEY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_SECOP_CA_KEY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w3, w8, w22
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ssl_security_cert_key
	cbz	w0, LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _SSL_SECOP_CA_MD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_SECOP_CA_MD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w3, w8, w22
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ssl_security_cert_sig
Lloh15:
	adrp	x8, _SSL_R_CA_MD_TOO_WEAK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_R_CA_MD_TOO_WEAK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, #0
	csinc	w0, w8, wzr, eq
LBB0_5:
	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
LBB0_6:
Lloh18:
	adrp	x8, _SSL_R_CA_KEY_TOO_SMALL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SSL_R_CA_KEY_TOO_SMALL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_SECOP_PEER,4,2             ; @SSL_SECOP_PEER
	.comm	_SSL_SECOP_EE_KEY,4,2           ; @SSL_SECOP_EE_KEY
	.comm	_SSL_R_EE_KEY_TOO_SMALL,4,2     ; @SSL_R_EE_KEY_TOO_SMALL
	.comm	_SSL_SECOP_CA_KEY,4,2           ; @SSL_SECOP_CA_KEY
	.comm	_SSL_R_CA_KEY_TOO_SMALL,4,2     ; @SSL_R_CA_KEY_TOO_SMALL
	.comm	_SSL_SECOP_CA_MD,4,2            ; @SSL_SECOP_CA_MD
	.comm	_SSL_R_CA_MD_TOO_WEAK,4,2       ; @SSL_R_CA_MD_TOO_WEAK
.subsections_via_symbols
