	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_responder
_do_responder:                          ## @do_responder
	.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
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, (%rdi)
	movq	%rdx, %rdi
	callq	_BIO_do_accept
	testq	%rax, %rax
	jle	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_BIO_pop
	movq	%rax, %r13
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_BIO_get_peer_name
	movq	%rax, %r12
	leaq	-4144(%rbp), %rsi
	movq	%r13, %rdi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_BIO_gets
	movl	$1, %r14d
	testl	%eax, %eax
	jle	LBB0_36
## %bb.3:
	leaq	L_.str(%rip), %rsi
	leaq	-4144(%rbp), %rdi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.22:
	leaq	L_.str.6(%rip), %rsi
	leaq	-4144(%rbp), %rdi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_23
## %bb.24:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_36
LBB0_4:
	leaq	-4139(%rbp), %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rbx), %eax
	cmpb	$32, %al
	jne	LBB0_6
## %bb.38:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	jmp	LBB0_5
LBB0_6:
	cmpb	$47, %al
	jne	LBB0_7
## %bb.10:
	movq	%r12, -4152(%rbp)               ## 8-byte Spill
	movq	%rbx, %r12
	testb	$-33, (%r12)
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	incq	%r12
	testb	$-33, (%r12)
	jne	LBB0_12
LBB0_13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	$8, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	-4152(%rbp), %rdx               ## 8-byte Reload
	jmp	LBB0_9
LBB0_23:
	xorl	%r12d, %r12d
LBB0_26:
	leaq	-2096(%rbp), %rbx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_BIO_gets
	testl	%eax, %eax
	jle	LBB0_36
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movzbl	-2096(%rbp), %eax
	cmpb	$13, %al
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	cmpb	$10, %al
	jne	LBB0_27
LBB0_30:
	testq	%r12, %r12
	je	LBB0_32
## %bb.31:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_d2i_OCSP_REQUEST_bio
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_BIO_free_all
	testq	%rbx, %rbx
	jne	LBB0_35
LBB0_34:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_message
LBB0_35:
	movq	%rbx, (%r15)
	jmp	LBB0_36
LBB0_7:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_8:
	movq	%r12, %rdx
LBB0_9:
	xorl	%eax, %eax
	callq	_log_message
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_39
## %bb.37:
	movl	%r14d, %eax
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movb	$0, (%r12)
	cmpb	$0, (%rbx)
	je	LBB0_36
## %bb.17:
	movq	%rbx, %rdi
	callq	_urldecode
	testl	%eax, %eax
	jle	LBB0_18
## %bb.19:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_BIO_new_mem_buf
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_BIO_f_base64
	movl	%eax, %edi
	callq	_BIO_new
	testq	%rax, %rax
	je	LBB0_21
## %bb.25:
	movq	%rax, %rbx
	movq	_BIO_FLAGS_BASE64_NO_NL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BIO_set_flags
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_BIO_push
	movq	%rax, %r12
	jmp	LBB0_26
LBB0_32:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_d2i_OCSP_REQUEST_bio
	movq	%rax, %rbx
	testq	%rbx, %rbx
	jne	LBB0_35
	jmp	LBB0_34
LBB0_21:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	-4152(%rbp), %rdx               ## 8-byte Reload
	jmp	LBB0_9
LBB0_18:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	-4152(%rbp), %rdx               ## 8-byte Reload
	jmp	LBB0_9
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GET "

	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"Invalid request -- bad URL: %s"

L_.str.2:                               ## @.str.2
	.asciz	" HTTP/1."

L_.str.3:                               ## @.str.3
	.asciz	"Invalid request -- bad HTTP version: %s"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid request -- bad URL encoding: %s"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.5:                               ## @.str.5
	.asciz	"Could not allocate base64 bio: %s"

	.comm	_BIO_FLAGS_BASE64_NO_NL,4,2     ## @BIO_FLAGS_BASE64_NO_NL
L_.str.6:                               ## @.str.6
	.asciz	"POST "

L_.str.7:                               ## @.str.7
	.asciz	"Invalid request -- bad HTTP verb: %s"

L_.str.8:                               ## @.str.8
	.asciz	"Error parsing OCSP request"

	.comm	_INVALID_SOCKET,8,3             ## @INVALID_SOCKET
	.comm	_acfd,4,2                       ## @acfd
	.no_dead_strip	_do_responder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_responder
_do_responder:                          ; @do_responder
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	str	xzr, [x0]
	mov	x0, x2
	bl	_BIO_do_accept
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_BIO_pop
	mov	x20, x0
	str	x0, [x21]
	bl	_BIO_get_peer_name
	mov	x21, x0
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #2048
	bl	_BIO_gets
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x22, sp, #8
	add	x0, sp, #8
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh7:
	adrp	x1, l_.str.6@PAGE
Lloh8:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #8
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_13
; %bb.4:
Lloh9:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh12:
	adrp	x1, l_.str.7@PAGE
Lloh13:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_23
LBB0_5:
	mov	w0, #0
	b	LBB0_25
LBB0_6:
	add	x22, x22, #5
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w8, [x22, #-1]
	cmp	w8, #32
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	b	LBB0_7
LBB0_9:
	cmp	w8, #47
	b.ne	LBB0_20
; %bb.10:
	mov	x23, x22
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x23]
	orr	w8, w8, #0x20
	cmp	w8, #32
	b.eq	LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x23, x23, #1
	b	LBB0_11
LBB0_13:
	mov	x21, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #2056
	mov	x0, x20
	mov	w2, #2048
	bl	_BIO_gets
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldrb	w8, [sp, #2056]
	cmp	w8, #13
	ccmp	w8, #10, #4, ne
	b.ne	LBB0_14
; %bb.16:
	cbz	x21, LBB0_32
; %bb.17:
	mov	x0, x21
	mov	x1, #0
	bl	_d2i_OCSP_REQUEST_bio
	mov	x20, x0
	mov	x0, x21
	bl	_BIO_free_all
	cbnz	x20, LBB0_19
LBB0_18:
Lloh14:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.8@PAGE
Lloh18:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_log_message
LBB0_19:
	str	x20, [x19]
	b	LBB0_24
LBB0_20:
Lloh19:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_23
LBB0_21:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	mov	w2, #8
	bl	_strncmp
	cbz	x0, LBB0_27
; %bb.22:
Lloh26:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_23:
	bl	_log_message
LBB0_24:
	mov	w0, #1
LBB0_25:
	ldur	x8, [x29, #-56]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.26:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_27:
	strb	wzr, [x23]
	ldrb	w8, [x22]
	cbz	w8, LBB0_24
; %bb.28:
	mov	x0, x22
	bl	_urldecode
	cmp	w0, #0
	b.le	LBB0_34
; %bb.29:
	mov	x1, x0
	mov	x0, x22
	bl	_BIO_new_mem_buf
	cbz	x0, LBB0_33
; %bb.30:
	mov	x22, x0
	bl	_BIO_f_base64
	bl	_BIO_new
	cbz	x0, LBB0_33
; %bb.31:
	mov	x23, x0
Lloh34:
	adrp	x8, _BIO_FLAGS_BASE64_NO_NL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BIO_FLAGS_BASE64_NO_NL@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_BIO_set_flags
	mov	x0, x23
	mov	x1, x22
	bl	_BIO_push
	mov	x21, x0
	b	LBB0_14
LBB0_32:
	mov	x0, x20
	mov	x1, #0
	bl	_d2i_OCSP_REQUEST_bio
	mov	x20, x0
	cbnz	x20, LBB0_19
	b	LBB0_18
LBB0_33:
Lloh37:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_23
LBB0_34:
Lloh42:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh43:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh45:
	adrp	x1, l_.str.4@PAGE
Lloh46:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_23
LBB0_35:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GET "

	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"Invalid request -- bad URL: %s"

l_.str.2:                               ; @.str.2
	.asciz	" HTTP/1."

l_.str.3:                               ; @.str.3
	.asciz	"Invalid request -- bad HTTP version: %s"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid request -- bad URL encoding: %s"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.5:                               ; @.str.5
	.asciz	"Could not allocate base64 bio: %s"

	.comm	_BIO_FLAGS_BASE64_NO_NL,4,2     ; @BIO_FLAGS_BASE64_NO_NL
l_.str.6:                               ; @.str.6
	.asciz	"POST "

l_.str.7:                               ; @.str.7
	.asciz	"Invalid request -- bad HTTP verb: %s"

l_.str.8:                               ; @.str.8
	.asciz	"Error parsing OCSP request"

	.comm	_INVALID_SOCKET,8,3             ; @INVALID_SOCKET
	.comm	_acfd,4,2                       ; @acfd
	.no_dead_strip	_do_responder
.subsections_via_symbols
