	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_events_http_group          ## -- Begin function get_events_http_group
	.p2align	4, 0x90
_get_events_http_group:                 ## @get_events_http_group
	.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
	movq	_debug_buff@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_ds@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	___may_wait@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_quick_fix@GOTPCREL(%rip), %r14
	movl	$1, (%r14)
	movl	(%rdi), %eax
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	movl	(%r12), %eax
LBB0_2:
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	movq	_debug_error@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%r15,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	callq	_get_events_http
	incl	%r13d
	cmpq	$0, (%r14)
	je	LBB0_10
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%r15,8), %ebx
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_debug
	movq	___may_wait@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_http_failed@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leal	3(%rbx), %ecx
	testl	%ebx, %ebx
	cmovnsl	%ebx, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rcx
	incq	16(%rax,%rcx,8)
	cmpq	$0, (%r14)
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movl	(%r12), %eax
	cmpq	%rax, %r15
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	movl	(%r12), %eax
	jmp	LBB0_12
LBB0_3:
	xorl	%r13d, %r13d
	jmp	LBB0_15
LBB0_9:
	movq	_quick_fix@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_http_failed@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	24(%rax)
	movq	_buff_overflow_cnt@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	$0, (%r14)
	movq	_debug_buff@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_ds@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	jmp	LBB0_18
LBB0_13:
	cmpl	$2, %eax
	movq	_debug_buff@GOTPCREL(%rip), %rbx
	movq	_quick_fix@GOTPCREL(%rip), %r14
	jl	LBB0_15
## %bb.14:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
LBB0_15:
	movq	___may_wait@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_17
## %bb.16:
	movslq	%r13d, %rax
	movq	_http_failed@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, (%rcx)
LBB0_17:
	movl	$0, (%r14)
LBB0_18:
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug_buff,8,3                 ## @debug_buff
	.comm	_ds,8,3                         ## @ds
	.comm	___may_wait,4,2                 ## @__may_wait
	.comm	_quick_fix,4,2                  ## @quick_fix
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"["

L_.str.1:                               ## @.str.1
	.asciz	"{\"failed\":2,\"err\":%d}"

	.comm	_http_failed,8,3                ## @http_failed
	.comm	_debug_error,8,3                ## @debug_error
	.comm	_buff_overflow_cnt,4,2          ## @buff_overflow_cnt
L_.str.2:                               ## @.str.2
	.asciz	"{\"failed\":3}"

L_.str.3:                               ## @.str.3
	.asciz	","

L_.str.4:                               ## @.str.4
	.asciz	"]"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_events_http_group          ; -- Begin function get_events_http_group
	.p2align	2
_get_events_http_group:                 ; @get_events_http_group
	.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
Lloh0:
	adrp	x20, _debug_buff@GOTPAGE
Lloh1:
	ldr	x20, [x20, _debug_buff@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _ds@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ds@GOTPAGEOFF]
Lloh4:
	str	x8, [x9]
Lloh5:
	adrp	x24, ___may_wait@GOTPAGE
Lloh6:
	ldr	x24, [x24, ___may_wait@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x24]
Lloh7:
	adrp	x23, _quick_fix@GOTPAGE
Lloh8:
	ldr	x23, [x23, _quick_fix@GOTPAGEOFF]
	str	w8, [x23]
	ldr	w8, [x0]
	cmp	w8, #1
	b.le	LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug
	ldr	w8, [x19]
LBB0_2:
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x28, #0
	mov	w26, #0
Lloh11:
	adrp	x20, l_.str.1@PAGE
Lloh12:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh13:
	adrp	x25, _http_failed@GOTPAGE
Lloh14:
	ldr	x25, [x25, _http_failed@GOTPAGEOFF]
Lloh15:
	adrp	x27, _debug_error@GOTPAGE
Lloh16:
	ldr	x27, [x27, _debug_error@GOTPAGEOFF]
Lloh17:
	adrp	x21, l_.str.3@PAGE
Lloh18:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x28, w8, sxtw
	b.ge	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x28, lsl #3]
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_get_events_http
	add	w26, w26, #1
	ldr	x8, [x27]
	cbz	x8, LBB0_8
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	ldr	x22, [x8, x28, lsl #3]
	str	x22, [sp]
	mov	x0, x20
	bl	_debug
	str	wzr, [x24]
	ldr	x8, [x25]
	add	w9, w22, #3
	cmp	w22, #0
	csel	w9, w9, w22, lt
	asr	w9, w9, #2
	add	w9, w9, #2
	sbfiz	x9, x9, #3, #32
	ldr	x10, [x8, x9]
	add	x10, x10, #1
	str	x10, [x8, x9]
	ldr	x8, [x27]
	cbnz	x8, LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x28, #1
	ldr	w8, [x19]
	cmp	x28, x8
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_debug
	ldr	w8, [x19]
	b	LBB0_4
LBB0_10:
	mov	w26, #0
	b	LBB0_14
LBB0_11:
	str	wzr, [x23]
	ldr	x8, [x25]
	ldr	x9, [x8, #24]
	add	x9, x9, #1
	str	x9, [x8, #24]
Lloh19:
	adrp	x8, _buff_overflow_cnt@GOTPAGE
Lloh20:
	ldr	x8, [x8, _buff_overflow_cnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	str	xzr, [x27]
Lloh21:
	adrp	x20, _debug_buff@GOTPAGE
Lloh22:
	ldr	x20, [x20, _debug_buff@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh23:
	adrp	x9, _ds@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ds@GOTPAGEOFF]
Lloh25:
	str	x8, [x9]
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debug
	b	LBB0_17
LBB0_12:
	cmp	w8, #2
Lloh28:
	adrp	x20, _debug_buff@GOTPAGE
Lloh29:
	ldr	x20, [x20, _debug_buff@GOTPAGEOFF]
	b.lt	LBB0_14
; %bb.13:
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_debug
LBB0_14:
	ldr	w8, [x24]
	cbnz	w8, LBB0_16
; %bb.15:
Lloh32:
	adrp	x8, _http_failed@GOTPAGE
Lloh33:
	ldr	x8, [x8, _http_failed@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	ldr	x9, [x8]
	add	x9, x9, w26, sxtw
	str	x9, [x8]
LBB0_16:
	str	wzr, [x23]
LBB0_17:
	ldr	x0, [x20]
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_debug_buff,8,3                 ; @debug_buff
	.comm	_ds,8,3                         ; @ds
	.comm	___may_wait,4,2                 ; @__may_wait
	.comm	_quick_fix,4,2                  ; @quick_fix
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"["

l_.str.1:                               ; @.str.1
	.asciz	"{\"failed\":2,\"err\":%d}"

	.comm	_http_failed,8,3                ; @http_failed
	.comm	_debug_error,8,3                ; @debug_error
	.comm	_buff_overflow_cnt,4,2          ; @buff_overflow_cnt
l_.str.2:                               ; @.str.2
	.asciz	"{\"failed\":3}"

l_.str.3:                               ; @.str.3
	.asciz	","

l_.str.4:                               ; @.str.4
	.asciz	"]"

.subsections_via_symbols
