	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_look_for_invite                ## -- Begin function look_for_invite
	.p2align	4, 0x90
_look_for_invite:                       ## @look_for_invite
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rax
	movq	_current_state@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_his_machine_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LOOK_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_msg@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rcx
	callq	_ctl_transact
	xorl	%eax, %eax
	cmpl	$128, (%rbx)
	jne	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	callq	_htonl
	movl	%eax, (%r14)
	movl	$1, %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Checking for invitation on caller's machine"

	.comm	_current_state,8,3              ## @current_state
	.comm	_his_machine_addr,4,2           ## @his_machine_addr
	.comm	_msg,4,2                        ## @msg
	.comm	_LOOK_UP,4,2                    ## @LOOK_UP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_look_for_invite                ; -- Begin function look_for_invite
	.p2align	2
_look_for_invite:                       ; @look_for_invite
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _current_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_state@GOTPAGEOFF]
Lloh2:
	adrp	x9, l_.str@PAGE
Lloh3:
	add	x9, x9, l_.str@PAGEOFF
Lloh4:
	str	x9, [x8]
Lloh5:
	adrp	x8, _his_machine_addr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _his_machine_addr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _LOOK_UP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOOK_UP@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x20, _msg@GOTPAGE
Lloh12:
	ldr	x20, [x20, _msg@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x3, x19
	bl	_ctl_transact
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_htonl
	str	w0, [x20]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Checking for invitation on caller's machine"

	.comm	_current_state,8,3              ; @current_state
	.comm	_his_machine_addr,4,2           ; @his_machine_addr
	.comm	_msg,4,2                        ; @msg
	.comm	_LOOK_UP,4,2                    ; @LOOK_UP
.subsections_via_symbols
