	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_509_dup_cert
_test_509_dup_cert:                     ## @test_509_dup_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_test_get_argument
	movq	%rax, %r15
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_X509_STORE_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_X509_LOOKUP_file
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_X509_STORE_add_lookup
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_X509_FILETYPE_PEM@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_X509_load_cert_file
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_X509_load_cert_file
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
LBB0_4:
	xorl	%edi, %edi
	callq	_X509_STORE_CTX_free
	movq	%rbx, %rdi
	callq	_X509_STORE_free
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_FILETYPE_PEM,4,2          ## @X509_FILETYPE_PEM
	.no_dead_strip	_test_509_dup_cert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_509_dup_cert
_test_509_dup_cert:                     ; @test_509_dup_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
	bl	_test_get_argument
	mov	x20, x0
	bl	_X509_STORE_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_4
; %bb.1:
	bl	_X509_LOOKUP_file
	mov	x1, x0
	mov	x0, x19
	bl	_X509_STORE_add_lookup
	mov	x21, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x22, _X509_FILETYPE_PEM@GOTPAGE
Lloh1:
	ldr	x22, [x22, _X509_FILETYPE_PEM@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x21
	mov	x1, x20
	bl	_X509_load_cert_file
	bl	_TEST_true
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w2, [x22]
	mov	x0, x21
	mov	x1, x20
	bl	_X509_load_cert_file
	bl	_TEST_true
	cmp	x0, #0
	cset	w20, ne
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, #0
	bl	_X509_STORE_CTX_free
	mov	x0, x19
	bl	_X509_STORE_free
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_FILETYPE_PEM,4,2          ; @X509_FILETYPE_PEM
	.no_dead_strip	_test_509_dup_cert
.subsections_via_symbols
