	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_Certificate
_cmd_Certificate:                       ## @cmd_Certificate
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%r14, %rsi
	callq	_SSL_CTX_use_certificate_chain_file
	movl	%eax, %r15d
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_1:
	movl	$1, %r15d
	xorl	%eax, %eax
LBB0_3:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	movq	%r14, %rsi
	callq	_SSL_use_certificate_chain_file
	movl	%eax, %r15d
	movq	16(%rbx), %rax
	movq	(%rax), %rax
LBB0_5:
	testl	%r15d, %r15d
	jle	LBB0_9
## %bb.6:
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_SSL_CONF_FLAG_REQUIRE_PRIVATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_9
## %bb.8:
	movq	8(%rbx), %r12
	movq	(%rax), %rbx
	subq	8(%rax), %rbx
	movq	(%r12,%rbx,8), %rdi
	callq	_OPENSSL_free
	movq	%r14, %rdi
	callq	_OPENSSL_strdup
	movq	%rax, (%r12,%rbx,8)
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovel	%ecx, %r15d
LBB0_9:
	xorl	%eax, %eax
	testl	%r15d, %r15d
	setg	%al
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_CONF_FLAG_REQUIRE_PRIVATE,4,2 ## @SSL_CONF_FLAG_REQUIRE_PRIVATE
	.no_dead_strip	_cmd_Certificate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_Certificate
_cmd_Certificate:                       ; @cmd_Certificate
	.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	x20, x1
	mov	x21, x0
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x1, x20
	bl	_SSL_CTX_use_certificate_chain_file
	mov	x19, x0
	ldr	x8, [x21, #24]
	ldr	x8, [x8]
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_3
LBB0_2:
	mov	x1, x20
	bl	_SSL_use_certificate_chain_file
	mov	x19, x0
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
LBB0_3:
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.4:
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w9, [x21]
Lloh0:
	adrp	x10, _SSL_CONF_FLAG_REQUIRE_PRIVATE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SSL_CONF_FLAG_REQUIRE_PRIVATE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.6:
	ldr	x21, [x21, #8]
	ldp	x9, x8, [x8]
	sub	x8, x9, x8
	lsl	x22, x8, #3
	ldr	x0, [x21, x22]
	bl	_OPENSSL_free
	mov	x0, x20
	bl	_OPENSSL_strdup
	str	x0, [x21, x22]
	cmp	x0, #0
	csel	w19, wzr, w19, eq
LBB0_7:
	cmp	w19, #0
	cset	w0, gt
	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_8:
	mov	x8, #0
	mov	w19, #1
	ldr	x0, [x21, #16]
	cbnz	x0, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_CONF_FLAG_REQUIRE_PRIVATE,4,2 ; @SSL_CONF_FLAG_REQUIRE_PRIVATE
	.no_dead_strip	_cmd_Certificate
.subsections_via_symbols
