	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handleDiscordJoinRequest
_handleDiscordJoinRequest:              ## @handleDiscordJoinRequest
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rsi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.1(%rip), %r15
	leaq	-28(%rbp), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_prompt
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-28(%rbp), %eax
	cmpb	$110, %al
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$121, %al
	jne	LBB0_1
## %bb.4:
	movq	_DISCORD_REPLY_YES@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_DISCORD_REPLY_NO@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	cmpl	$-1, %esi
	je	LBB0_8
## %bb.7:
	movq	16(%r14), %rdi
	callq	_Discord_Respond
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nDiscord: join request from %s#%s - %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Accept? (y/n)"

	.comm	_DISCORD_REPLY_YES,4,2          ## @DISCORD_REPLY_YES
	.comm	_DISCORD_REPLY_NO,4,2           ## @DISCORD_REPLY_NO
	.no_dead_strip	_handleDiscordJoinRequest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handleDiscordJoinRequest
_handleDiscordJoinRequest:              ; @handleDiscordJoinRequest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	q0, [x0]
	ldr	x8, [x0, #16]
	str	x8, [sp, #16]
	str	q0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_printf
	sub	x0, x29, #20
	mov	w1, #4
	bl	_prompt
	cbz	w0, LBB0_8
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldurb	w8, [x29, #-20]
	cmp	w8, #110
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w8, #121
	b.ne	LBB0_1
; %bb.4:
Lloh4:
	adrp	x8, _DISCORD_REPLY_YES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DISCORD_REPLY_YES@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _DISCORD_REPLY_NO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DISCORD_REPLY_NO@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	cmn	w1, #1
	b.eq	LBB0_8
; %bb.7:
	ldr	x0, [x19, #16]
	bl	_Discord_Respond
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nDiscord: join request from %s#%s - %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Accept? (y/n)"

	.comm	_DISCORD_REPLY_YES,4,2          ; @DISCORD_REPLY_YES
	.comm	_DISCORD_REPLY_NO,4,2           ; @DISCORD_REPLY_NO
	.no_dead_strip	_handleDiscordJoinRequest
.subsections_via_symbols
