	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_check_crl_dir
_verify_check_crl_dir:                  ## @verify_check_crl_dir
	.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	$288, %rsp                      ## imm = 0x120
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_gc_new
	movl	%eax, -312(%rbp)
	leaq	-312(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_backend_x509_get_serial
	movq	%rax, %r15
	movq	_OS_SPECIFIC_DIRSEP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r12, %rcx
	movq	%r15, %r9
	callq	_openvpn_snprintf
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-304(%rbp), %rdi
	xorl	%edx, %edx
	callq	_platform_open
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movq	_D_HANDSHAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_msg
	jmp	LBB0_5
LBB0_1:
	movq	_D_HANDSHAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_msg
	jmp	LBB0_6
LBB0_4:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	cmpl	$-1, %ebx
	je	LBB0_6
LBB0_5:
	movl	%ebx, %edi
	callq	_close
LBB0_6:
	leaq	-312(%rbp), %rdi
	callq	_gc_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r14d, %eax
	addq	$288, %rsp                      ## imm = 0x120
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FAILURE,4,2                    ## @FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%c%s"

	.comm	_OS_SPECIFIC_DIRSEP,4,2         ## @OS_SPECIFIC_DIRSEP
	.comm	_D_HANDSHAKE,4,2                ## @D_HANDSHAKE
L_.str.1:                               ## @.str.1
	.asciz	"VERIFY CRL: filename overflow"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.2:                               ## @.str.2
	.asciz	"VERIFY CRL: certificate serial number %s is revoked"

	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_verify_check_crl_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_check_crl_dir
_verify_check_crl_dir:                  ; @verify_check_crl_dir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	bl	_gc_new
	str	w0, [sp, #16]
	add	x1, sp, #16
	mov	x0, x20
	bl	_backend_x509_get_serial
	mov	x20, x0
Lloh6:
	adrp	x8, _OS_SPECIFIC_DIRSEP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OS_SPECIFIC_DIRSEP@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #24
	mov	w1, #256
	mov	x3, x21
	mov	x5, x20
	bl	_openvpn_snprintf
	cbz	w0, LBB0_3
; %bb.1:
Lloh11:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x0, sp, #24
	mov	w2, #0
	bl	_platform_open
	mov	x21, x0
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh14:
	adrp	x8, _D_HANDSHAKE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _D_HANDSHAKE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_msg
	b	LBB0_5
LBB0_3:
Lloh19:
	adrp	x8, _D_HANDSHAKE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _D_HANDSHAKE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_msg
	b	LBB0_6
LBB0_4:
Lloh24:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh26:
	ldr	w19, [x8]
	cmn	w21, #1
	b.eq	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_close
LBB0_6:
	add	x0, sp, #16
	bl	_gc_free
	ldur	x8, [x29, #-40]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_FAILURE,4,2                    ; @FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%c%s"

	.comm	_OS_SPECIFIC_DIRSEP,4,2         ; @OS_SPECIFIC_DIRSEP
	.comm	_D_HANDSHAKE,4,2                ; @D_HANDSHAKE
l_.str.1:                               ; @.str.1
	.asciz	"VERIFY CRL: filename overflow"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.2:                               ; @.str.2
	.asciz	"VERIFY CRL: certificate serial number %s is revoked"

	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_verify_check_crl_dir
.subsections_via_symbols
