	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_assoc                     ## -- Begin function read_assoc
	.p2align	4, 0x90
_read_assoc:                            ## @read_assoc
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	4(%rsi), %edi
	movl	4(%r14), %esi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movzbl	12(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_4
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.3:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_4:
	leaq	12(%rbx), %r15
	movzbl	13(%rbx), %eax
	movb	$0, 14(%rbx,%rax)
	addq	$2, %r15
	movl	(%rbx), %esi
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	callq	_mac2str
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_printf
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_send_assoc
	jmp	LBB0_6
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"weird pr %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Assoc request for [%s] from %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_assoc                     ; -- Begin function read_assoc
	.p2align	2
_read_assoc:                            ; @read_assoc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	w0, [x1, #4]
	ldr	w1, [x19, #4]
	mov	w2, #6
	bl	_memcmp
	cbnz	x0, LBB0_5
; %bb.1:
	mov	x8, x20
	ldrb	w9, [x8, #12]!
	cbz	w9, LBB0_3
; %bb.2:
	str	x9, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	b	LBB0_5
LBB0_3:
	ldrb	w9, [x20, #13]
	add	x9, x8, x9
	strb	wzr, [x9, #2]
	add	x21, x8, #2
	ldr	w1, [x20]
	add	x22, sp, #22
	add	x0, sp, #22
	bl	_mac2str
	stp	x21, x22, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w1, [x19]
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_send_assoc
LBB0_5:
	ldr	x8, [sp, #40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"weird pr %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Assoc request for [%s] from %s\n"

.subsections_via_symbols
