	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lwapp_control_print            ## -- Begin function lwapp_control_print
	.p2align	4, 0x90
_lwapp_control_print:                   ## @lwapp_control_print
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %r14
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movl	$6, %esi
	callq	_ND_TCHECK2
	leaq	24(%rbx), %r14
LBB0_2:
	movq	(%r14), %rdi
	movl	8(%r14), %esi
	callq	_ND_TCHECK
	movl	(%r14), %edi
	callq	_LWAPP_EXTRACT_VERSION
	movq	_LWAPP_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.7:
	movl	8(%r14), %edi
	callq	_EXTRACT_16BITS
	movl	%eax, %r13d
	movl	(%r14), %edi
	callq	_LWAPP_EXTRACT_VERSION
	movl	(%r14), %edi
	callq	_LWAPP_EXTRACT_CONTROL_BIT
	movl	(%r14), %edi
	callq	_LWAPP_EXTRACT_RID
	movq	_lwapp_header_bits_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	andl	$7, %edx
	leaq	L_.str.4(%rip), %rsi
	callq	_bittok2str
	movslq	%r13d, %rdi
	callq	_ND_PRINT
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_etheraddr_string
	movslq	%eax, %rdi
	callq	_ND_PRINT
	movl	$18, %eax
	testl	%r13d, %r13d
	jg	LBB0_11
	jmp	LBB0_13
LBB0_3:
	movl	(%r14), %edi
	callq	_LWAPP_EXTRACT_VERSION
	movq	%rax, %rdi
	jmp	LBB0_4
LBB0_6:
	movl	(%r14), %edi
	callq	_LWAPP_EXTRACT_VERSION
	movl	(%r14), %edi
	callq	_LWAPP_EXTRACT_CONTROL_BIT
	movq	_lwapp_header_bits_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	andl	$7, %edx
	leaq	L_.str.4(%rip), %rsi
	callq	_bittok2str
	movslq	%r13d, %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
LBB0_8:
	movl	$12, %eax
	testl	%r13d, %r13d
	jle	LBB0_13
LBB0_11:
	leaq	(%rbx,%rax,4), %rbx
	movq	_lwapp_msg_type_values@GOTPCREL(%rip), %r12
	leaq	L_.str.8(%rip), %r14
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	$16, %esi
	callq	_ND_TCHECK2
	movl	12(%rbx), %edi
	callq	_EXTRACT_16BITS
	movl	%eax, %r15d
	movl	(%r12), %edi
	movl	(%rbx), %edx
	movq	%r14, %rsi
	callq	_tok2str
	movl	4(%rbx), %edi
	callq	_EXTRACT_32BITS
	movslq	%eax, %rdi
	callq	_ND_PRINT
	movl	(%rbx), %edi
	movl	%r15d, %esi
	callq	_ND_TCHECK2
	movslq	%r15d, %rax
	leaq	(%rbx,%rax,4), %rbx
	addq	$64, %rbx
	addq	$16, %rax
	subl	%eax, %r13d
	testl	%r13d, %r13d
	jg	LBB0_12
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LWAPP_VERSION,8,3              ## @LWAPP_VERSION
	.comm	_lwapp_header_bits_values,4,2   ## @lwapp_header_bits_values
	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"none"

	.comm	_lwapp_msg_type_values,4,2      ## @lwapp_msg_type_values
L_.str.8:                               ## @.str.8
	.asciz	"Unknown"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lwapp_control_print            ; -- Begin function lwapp_control_print
	.p2align	2
_lwapp_control_print:                   ; @lwapp_control_print
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x23, x1
	cbz	w3, LBB0_2
; %bb.1:
	mov	x23, x20
	ldr	w0, [x23], #24
	mov	w1, #6
	bl	_ND_TCHECK2
LBB0_2:
	ldr	x0, [x23]
	ldr	w1, [x23, #8]
	bl	_ND_TCHECK
	ldr	w0, [x23]
	bl	_LWAPP_EXTRACT_VERSION
Lloh0:
	adrp	x8, _LWAPP_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LWAPP_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x21]
	cmp	w8, #0
	b.le	LBB0_7
; %bb.4:
	ldr	w0, [x23, #8]
	bl	_EXTRACT_16BITS
	mov	x19, x0
	ldr	w0, [x23]
	bl	_LWAPP_EXTRACT_VERSION
	ldr	w0, [x23]
	bl	_LWAPP_EXTRACT_CONTROL_BIT
	ldr	w0, [x23]
	bl	_LWAPP_EXTRACT_RID
Lloh3:
	adrp	x8, _lwapp_header_bits_values@GOTPAGE
Lloh4:
	ldr	x8, [x8, _lwapp_header_bits_values@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w8, [x23]
	and	w2, w8, #0x7
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_bittok2str
	sxtw	x0, w19
	bl	_ND_PRINT
	cbz	w22, LBB0_9
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	bl	_etheraddr_string
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	mov	w8, #18
	cmp	w19, #1
	b.ge	LBB0_10
	b	LBB0_12
LBB0_6:
	ldr	w0, [x23]
	bl	_LWAPP_EXTRACT_VERSION
	b	LBB0_8
LBB0_7:
	ldr	w0, [x23]
	bl	_LWAPP_EXTRACT_VERSION
	ldr	w0, [x23]
	bl	_LWAPP_EXTRACT_CONTROL_BIT
Lloh8:
	adrp	x8, _lwapp_header_bits_values@GOTPAGE
Lloh9:
	ldr	x8, [x8, _lwapp_header_bits_values@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w8, [x23]
	and	w2, w8, #0x7
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_bittok2str
	sxtw	x0, w19
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ND_PRINT
LBB0_9:
	mov	w8, #12
	cmp	w19, #1
	b.lt	LBB0_12
LBB0_10:
	add	x22, x20, x8, lsl #2
Lloh13:
	adrp	x23, _lwapp_msg_type_values@GOTPAGE
Lloh14:
	ldr	x23, [x23, _lwapp_msg_type_values@GOTPAGEOFF]
Lloh15:
	adrp	x20, l_.str.8@PAGE
Lloh16:
	add	x20, x20, l_.str.8@PAGEOFF
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	mov	w1, #16
	bl	_ND_TCHECK2
	ldr	w0, [x22, #12]
	bl	_EXTRACT_16BITS
	mov	x21, x0
	ldr	w0, [x23]
	ldr	w2, [x22]
	mov	x1, x20
	bl	_tok2str
	ldr	w0, [x22, #4]
	bl	_EXTRACT_32BITS
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	ldr	w0, [x22]
	mov	x1, x21
	bl	_ND_TCHECK2
	sxtw	x8, w21
	add	x8, x8, #16
	add	x22, x22, x8, lsl #2
	sub	w19, w19, w8
	cmp	w19, #0
	b.gt	LBB0_11
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LWAPP_VERSION,8,3              ; @LWAPP_VERSION
	.comm	_lwapp_header_bits_values,4,2   ; @lwapp_header_bits_values
	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"none"

	.comm	_lwapp_msg_type_values,4,2      ; @lwapp_msg_type_values
l_.str.8:                               ; @.str.8
	.asciz	"Unknown"

.subsections_via_symbols
