	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwrap_kill                     ## -- Begin function iwrap_kill
	.p2align	4, 0x90
_iwrap_kill:                            ## @iwrap_kill
	.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
	leaq	L_.str(%rip), %rdi
	callq	_iwrap_mux_send
	movl	$500, %edi                      ## imm = 0x1F4
	callq	__delay_ms
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	cmpb	$10, %al
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	jne	LBB0_1
LBB0_3:
	movq	_rcv_buf@GOTPCREL(%rip), %rbx
	movq	_rcv_tail@GOTPCREL(%rip), %r14
	movslq	(%r14), %rdi
	addq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.15:
	leaq	L_.str.2(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print                          ## TAILCALL
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	testb	$-33, %al
	jne	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	testb	$-33, %al
	jne	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	testb	$-33, %al
	jne	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	testb	$-33, %al
	jne	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	testb	$-33, %al
	jne	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	testb	$-33, %al
	jne	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	testb	$-33, %al
	jne	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	testb	$-33, %al
	jne	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	testb	$-33, %al
	jne	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rcv_deq
	testb	$-33, %al
	jne	LBB0_13
## %bb.14:
	movq	(%rbx), %r15
	movslq	(%r14), %rbx
	leaq	(%r15,%rbx), %r14
	addq	$-5, %r14
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$5, %edx
	callq	_strncpy
	leaq	(%r15,%rbx), %rdi
	addq	$17, %rdi
	leaq	l_.str.4(%rip), %rsi
	movl	$2, %edx
	callq	_strncpy
	movq	%r14, %rdi
	callq	_print_S
	movq	%r14, %rdi
	callq	_iwrap_mux_send
	movl	$500, %edi                      ## imm = 0x1F4
	callq	__delay_ms
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwrap_check_connection         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LIST"

	.comm	_rcv_buf,8,3                    ## @rcv_buf
	.comm	_rcv_tail,4,2                   ## @rcv_tail
L_.str.1:                               ## @.str.1
	.asciz	"LIST "

L_.str.2:                               ## @.str.2
	.asciz	"no connection to kill.\n"

L_.str.3:                               ## @.str.3
	.asciz	"KILL "

	.section	__TEXT,__const
l_.str.4:                               ## @.str.4
	.asciz	"\n\000"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwrap_kill                     ; -- Begin function iwrap_kill
	.p2align	2
_iwrap_kill:                            ; @iwrap_kill
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_iwrap_mux_send
	mov	w0, #500
	bl	__delay_ms
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	cmp	w0, #10
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	and	w8, w0, #0xff
	cbnz	w8, LBB0_1
LBB0_3:
Lloh2:
	adrp	x19, _rcv_buf@GOTPAGE
Lloh3:
	ldr	x19, [x19, _rcv_buf@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh4:
	adrp	x20, _rcv_tail@GOTPAGE
Lloh5:
	ldr	x20, [x20, _rcv_tail@GOTPAGEOFF]
	ldrsw	x9, [x20]
	add	x0, x8, x9
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_print
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	tst	w0, #0xffffffdf
	b.ne	LBB0_5
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	tst	w0, #0xffffffdf
	b.ne	LBB0_6
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	tst	w0, #0xffffffdf
	b.ne	LBB0_7
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	tst	w0, #0xffffffdf
	b.ne	LBB0_8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	tst	w0, #0xffffffdf
	b.ne	LBB0_9
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	tst	w0, #0xffffffdf
	b.ne	LBB0_10
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	tst	w0, #0xffffffdf
	b.ne	LBB0_11
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	tst	w0, #0xffffffdf
	b.ne	LBB0_12
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	tst	w0, #0xffffffdf
	b.ne	LBB0_13
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	bl	_rcv_deq
	tst	w0, #0xffffffdf
	b.ne	LBB0_14
; %bb.15:
	ldr	x8, [x19]
	ldrsw	x9, [x20]
	add	x20, x8, x9
	sub	x19, x20, #5
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_strncpy
	add	x0, x20, #17
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #2
	bl	_strncpy
	mov	x0, x19
	bl	_print_S
	mov	x0, x19
	bl	_iwrap_mux_send
	mov	w0, #500
	bl	__delay_ms
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwrap_check_connection
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LIST"

	.comm	_rcv_buf,8,3                    ; @rcv_buf
	.comm	_rcv_tail,4,2                   ; @rcv_tail
l_.str.1:                               ; @.str.1
	.asciz	"LIST "

l_.str.2:                               ; @.str.2
	.asciz	"no connection to kill.\n"

l_.str.3:                               ; @.str.3
	.asciz	"KILL "

	.section	__TEXT,__const
l_.str.4:                               ; @.str.4
	.asciz	"\n\000"

.subsections_via_symbols
