	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocsp_updater_thread
_ocsp_updater_thread:                   ## @ocsp_updater_thread
	.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
	movq	%rdi, %r12
	xorl	%edi, %edi
	cmpq	$0, 8(%r12)
	setne	%dil
	callq	_assert
	xorl	%r14d, %r14d
	movq	_UINT_MAX@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	subq	%rax, %rdi
	movq	(%r15), %rax
	cmpq	%rax, %rdi
	cmovgeq	%rax, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_sleep
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	callq	_time
	cmpq	%rax, %r13
	jg	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ocsp_updater_semaphore@GOTPCREL(%rip), %r13
	movq	%r13, %rdi
	callq	_h2o_sem_wait
	movq	(%r12), %rdi
	movl	20(%r12), %esi
	leaq	-48(%rbp), %rdx
	callq	_get_ocsp_response
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_h2o_sem_post
	cmpl	$128, %ebx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_update_ocsp_stapling
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	cmpl	16(%r12), %r14d
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_update_ocsp_stapling
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rsi
	callq	_fprintf
	incl	%r14d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	callq	_time
	movq	%rax, %r13
	addq	8(%r12), %r13
	jmp	LBB0_2
LBB0_8:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_update_ocsp_stapling
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,8,3                   ## @UINT_MAX
	.comm	_ocsp_updater_semaphore,4,2     ## @ocsp_updater_semaphore
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[OCSP Stapling] successfully updated the response for certificate file:%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"[OCSP Stapling] OCSP stapling is temporary disabled due to repeated errors for certificate file:%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"[OCSP Stapling] reusing old response due to a temporary error occurred while fetching OCSP response for certificate file:%s\n"

L_.str.3:                               ## @.str.3
	.asciz	"[OCSP Stapling] disabled for certificate file:%s\n"

	.no_dead_strip	_ocsp_updater_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocsp_updater_thread
_ocsp_updater_thread:                   ; @ocsp_updater_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	mov	w27, #0
	mov	x24, #0
Lloh0:
	adrp	x26, _UINT_MAX@GOTPAGE
Lloh1:
	ldr	x26, [x26, _UINT_MAX@GOTPAGEOFF]
Lloh2:
	adrp	x20, _ocsp_updater_semaphore@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ocsp_updater_semaphore@GOTPAGEOFF]
Lloh4:
	adrp	x25, _stderr@GOTPAGE
Lloh5:
	ldr	x25, [x25, _stderr@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str.1@PAGE
Lloh7:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh8:
	adrp	x22, l_.str.2@PAGE
Lloh9:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh10:
	adrp	x23, l_.str@PAGE
Lloh11:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
	sub	x9, x24, x0
	cmp	x9, x8
	csel	x0, x9, x8, lt
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_sleep
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, #0
	bl	_time
	cmp	x24, x0
	b.gt	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_h2o_sem_wait
	ldr	x0, [x19]
	ldr	w1, [x19, #20]
	add	x2, sp, #8
	bl	_get_ocsp_response
	mov	x24, x0
	mov	x0, x20
	bl	_h2o_sem_post
	cmp	w24, #128
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w24, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_update_ocsp_stapling
	ldr	w0, [x25]
	ldr	x2, [x19]
	mov	x1, x23
	bl	_fprintf
	mov	w27, #0
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #16]
	ldr	w0, [x25]
	ldr	x2, [x19]
	cmp	w27, w8
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x21
	bl	_fprintf
	mov	x0, x19
	mov	x1, #0
	bl	_update_ocsp_stapling
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x22
	bl	_fprintf
	add	w27, w27, #1
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, #0
	bl	_time
	ldr	x8, [x19, #8]
	add	x24, x8, x0
	b	LBB0_2
LBB0_10:
	mov	x0, x19
	mov	x1, #0
	bl	_update_ocsp_stapling
	ldr	w0, [x25]
	ldr	x2, [x19]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	mov	x0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,8,3                   ; @UINT_MAX
	.comm	_ocsp_updater_semaphore,4,2     ; @ocsp_updater_semaphore
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[OCSP Stapling] successfully updated the response for certificate file:%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"[OCSP Stapling] OCSP stapling is temporary disabled due to repeated errors for certificate file:%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"[OCSP Stapling] reusing old response due to a temporary error occurred while fetching OCSP response for certificate file:%s\n"

l_.str.3:                               ; @.str.3
	.asciz	"[OCSP Stapling] disabled for certificate file:%s\n"

	.no_dead_strip	_ocsp_updater_thread
.subsections_via_symbols
