	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_worker
_http_worker:                           ## @http_worker
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_threaded@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_4
## %bb.1:
	movq	_statep@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$12, %rdi
	callq	_pthread_barrier_wait
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	_PTHREAD_BARRIER_SERIAL_THREAD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edi
	callq	_err
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_signal_barrier_wait
LBB0_5:
	movq	_statep@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	cmpl	$0, (%rdi)
	je	LBB0_6
LBB0_10:
	cmpq	$0, (%r14)
	je	LBB0_14
## %bb.11:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_QUIET@GOTPCREL(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	4(%rbx)
	movq	(%r15), %rdi
	movl	(%rdi), %eax
	testl	%eax, %eax
	jne	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rdi), %esi
	addq	$8, %rdi
	movl	(%r12), %edx
	callq	_http_fetch
	testq	%rax, %rax
	js	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15), %rdi
	cmpl	$0, (%rdi)
	jne	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	incl	(%rbx)
	xorl	%eax, %eax
	testl	%eax, %eax
	je	LBB0_7
	jmp	LBB0_10
LBB0_14:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_threaded,8,3                   ## @threaded
	.comm	_statep,8,3                     ## @statep
	.comm	_PTHREAD_BARRIER_SERIAL_THREAD,4,2 ## @PTHREAD_BARRIER_SERIAL_THREAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pthread_barrier_wait"

	.comm	_QUIET,4,2                      ## @QUIET
	.no_dead_strip	_http_worker
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_worker
_http_worker:                           ; @http_worker
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _threaded@GOTPAGE
Lloh1:
	ldr	x20, [x20, _threaded@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _statep@GOTPAGE
Lloh3:
	ldr	x21, [x21, _statep@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x21]
	add	x0, x8, #12
	bl	_pthread_barrier_wait
Lloh4:
	adrp	x8, _PTHREAD_BARRIER_SERIAL_THREAD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PTHREAD_BARRIER_SERIAL_THREAD@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, #0
	ccmp	w0, w8, #4, ne
	b.eq	LBB0_4
; %bb.2:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #-1
	bl	_err
	b	LBB0_4
LBB0_3:
	bl	_signal_barrier_wait
LBB0_4:
	ldr	x8, [x21]
	ldr	w9, [x8]
	cbz	w9, LBB0_7
LBB0_5:
	ldr	x8, [x20]
	cbz	x8, LBB0_12
; %bb.6:
	mov	x0, #0
	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
LBB0_7:
Lloh9:
	adrp	x22, _QUIET@GOTPAGE
Lloh10:
	ldr	x22, [x22, _QUIET@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	ldr	x8, [x21]
	ldr	w9, [x8]
	cbnz	w9, LBB0_5
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x8, #8
	ldr	w1, [x8, #4]
	ldr	w2, [x22]
	bl	_http_fetch
	tbnz	x0, #63, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x21]
	ldr	w9, [x8]
	cbnz	w9, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x19]
	add	w9, w9, #1
	str	w9, [x19]
	cbz	wzr, LBB0_9
	b	LBB0_5
LBB0_12:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_threaded,8,3                   ; @threaded
	.comm	_statep,8,3                     ; @statep
	.comm	_PTHREAD_BARRIER_SERIAL_THREAD,4,2 ; @PTHREAD_BARRIER_SERIAL_THREAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pthread_barrier_wait"

	.comm	_QUIET,4,2                      ; @QUIET
	.no_dead_strip	_http_worker
.subsections_via_symbols
