	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function g_gatec_start
_g_gatec_start:                         ## @g_gatec_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_reconnect@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_recv_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_recvtd@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_pthread_create
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movq	_unit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_g_gate_destroy
	movl	%ebx, %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_g_gate_xlog
LBB0_2:
	xorl	%eax, %eax
	callq	_pthread_self
	movq	_sendtd@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%edi, %edi
	callq	_send_thread
	movq	_sendfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_close
	movq	_recvfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_close                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_reconnect,8,3                  ## @reconnect
	.comm	_recvtd,4,2                     ## @recvtd
	.comm	_recv_thread,4,2                ## @recv_thread
	.comm	_unit,4,2                       ## @unit
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pthread_create(recv_thread): %s."

	.comm	_sendtd,4,2                     ## @sendtd
	.comm	_sendfd,4,2                     ## @sendfd
	.comm	_recvfd,4,2                     ## @recvfd
	.no_dead_strip	_g_gatec_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function g_gatec_start
_g_gatec_start:                         ; @g_gatec_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _reconnect@GOTPAGE
Lloh1:
	ldr	x8, [x8, _reconnect@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x8, _recv_thread@GOTPAGE
Lloh4:
	ldr	x8, [x8, _recv_thread@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x0, _recvtd@GOTPAGE
Lloh7:
	ldr	x0, [x0, _recvtd@GOTPAGEOFF]
	mov	x1, #0
	mov	x3, #0
	bl	_pthread_create
	cbz	w0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh8:
	adrp	x8, _unit@GOTPAGE
Lloh9:
	ldr	x8, [x8, _unit@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_g_gate_destroy
	mov	x0, x19
	bl	_strerror
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_g_gate_xlog
LBB0_2:
	bl	_pthread_self
Lloh13:
	adrp	x8, _sendtd@GOTPAGE
Lloh14:
	ldr	x8, [x8, _sendtd@GOTPAGEOFF]
Lloh15:
	str	w0, [x8]
	mov	x0, #0
	bl	_send_thread
Lloh16:
	adrp	x8, _sendfd@GOTPAGE
Lloh17:
	ldr	x8, [x8, _sendfd@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_close
Lloh19:
	adrp	x8, _recvfd@GOTPAGE
Lloh20:
	ldr	x8, [x8, _recvfd@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_close
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_reconnect,8,3                  ; @reconnect
	.comm	_recvtd,4,2                     ; @recvtd
	.comm	_recv_thread,4,2                ; @recv_thread
	.comm	_unit,4,2                       ; @unit
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pthread_create(recv_thread): %s."

	.comm	_sendtd,4,2                     ; @sendtd
	.comm	_sendfd,4,2                     ; @sendfd
	.comm	_recvfd,4,2                     ; @recvfd
	.no_dead_strip	_g_gatec_start
.subsections_via_symbols
