	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_attr_text
_mesh_attr_text:                        ## @mesh_attr_text
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r13
	leaq	-112(%rbp), %rdx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_ieee802_11_parse_elems
	movq	_ParseFailed@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_32
LBB0_2:
	movl	-112(%rbp), %edi
	testl	%edi, %edi
	jle	LBB0_32
## %bb.3:
	incl	%edi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %r15
	movl	-112(%rbp), %edx
	movl	-72(%rbp), %esi
	movq	%rax, %rdi
	callq	_os_memcpy
	movslq	-112(%rbp), %rax
	movb	$0, (%r15,%rax)
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r14d
	subl	%r13d, %r14d
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_os_snprintf
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_os_free
	movl	%r14d, %edi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_32
## %bb.5:
	movslq	%r12d, %rdi
	addq	%r13, %rdi
	cmpl	$7, -108(%rbp)
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jl	LBB0_8
## %bb.6:
	movl	%r14d, %ebx
	subl	%edi, %ebx
	movq	-80(%rbp), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %r8d
	movl	8(%rax), %r9d
	movl	12(%rax), %r10d
	movl	16(%rax), %r11d
	movl	20(%rax), %r14d
	movl	24(%rax), %r15d
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %esi
	xorl	%eax, %eax
	pushq	%r15
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_os_snprintf
	addq	$32, %rsp
	movl	%eax, %r14d
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	movl	%r12d, %ebx
	testq	%rax, %rax
	jne	LBB0_32
## %bb.7:
	movslq	%r14d, %rax
	addq	%rax, -48(%rbp)                 ## 8-byte Folded Spill
LBB0_8:
	movl	-100(%rbp), %edi
	addl	-104(%rbp), %edi
	callq	_os_malloc
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_32
## %bb.9:
	movq	%rax, %r12
	movl	-104(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.10:
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rax
	movslq	%ecx, %rdx
	cmpq	%rdx, %rax
	jge	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %rdx
	movl	(%rdx,%rax,4), %edx
	testb	$-128, %dl
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	andb	$127, %dl
	movzbl	%dl, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movslq	%r14d, %rdx
	incl	%r14d
	movb	%cl, (%r12,%rdx)
	movl	-104(%rbp), %ecx
	jmp	LBB0_11
LBB0_15:
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_16:
	movl	-100(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_21
## %bb.17:
	xorl	%eax, %eax
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%rax
	movslq	%ecx, %rdx
	cmpq	%rdx, %rax
	jge	LBB0_21
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rdx
	movl	(%rdx,%rax,4), %edx
	testb	$-128, %dl
	je	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	andb	$127, %dl
	movzbl	%dl, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movslq	%r14d, %rdx
	incl	%r14d
	movb	%cl, (%r12,%rdx)
	movl	-100(%rbp), %ecx
	jmp	LBB0_18
LBB0_21:
	testl	%r14d, %r14d
	jle	LBB0_31
## %bb.22:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ebx
	subl	%r15d, %ebx
	movsbl	(%r12), %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_os_snprintf
	movl	%ebx, %edi
	movl	%eax, %ebx
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_31
## %bb.23:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %rax
	addq	%rax, %r15
	cmpl	$2, %r14d
	movq	%r15, %r12
	jb	LBB0_27
## %bb.24:
	movl	%r14d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r14d
	subl	%r12d, %r14d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movsbl	(%rax,%r15), %ecx
	movq	%r12, %rdi
	movl	%r14d, %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_os_snprintf
	movl	%eax, %ebx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movslq	%ebx, %rax
	addq	%rax, %r12
	incq	%r15
	cmpq	%r15, -48(%rbp)                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_25
	jmp	LBB0_28
LBB0_27:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_28:
	subl	%r12d, %ebx
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_os_snprintf
	movl	%eax, %r14d
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_30
## %bb.29:
	movslq	%r14d, %rax
	addq	%rax, %r12
LBB0_30:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_31:
	movq	%r12, %rdi
	callq	_os_free
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subl	%r13d, %eax
	movl	%eax, %ebx
LBB0_32:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ParseFailed,8,3                ## @ParseFailed
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mesh_id=%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"active_path_selection_protocol_id=0x%02x\nactive_path_selection_metric_id=0x%02x\ncongestion_control_mode_id=0x%02x\nsynchronization_method_id=0x%02x\nauthentication_protocol_id=0x%02x\nmesh_formation_info=0x%02x\nmesh_capability=0x%02x\n"

L_.str.2:                               ## @.str.2
	.asciz	"bss_basic_rate_set=%d"

L_.str.3:                               ## @.str.3
	.asciz	" %d"

L_.str.4:                               ## @.str.4
	.asciz	"\n"

	.no_dead_strip	_mesh_attr_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_attr_text
_mesh_attr_text:                        ; @mesh_attr_text
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x19, x2
	add	x2, sp, #64
	mov	w3, #0
	bl	_ieee802_11_parse_elems
Lloh0:
	adrp	x8, _ParseFailed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ParseFailed@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #-1
	b	LBB0_15
LBB0_2:
	ldr	w8, [sp, #64]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.3:
	add	w0, w8, #1
	bl	_os_malloc
	cbz	x0, LBB0_1
; %bb.4:
	mov	x21, x0
	ldr	w1, [sp, #104]
	ldr	w2, [sp, #64]
	bl	_os_memcpy
	ldrsw	x8, [sp, #64]
	strb	wzr, [x21, x8]
	sub	w23, w20, w19
	str	x21, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x23
	bl	_os_snprintf
	mov	x22, x0
	mov	x0, x21
	bl	_os_free
	mov	x0, x23
	mov	x1, x22
	bl	_os_snprintf_error
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_15
; %bb.5:
	add	x21, x19, w22, sxtw
	ldr	w8, [sp, #68]
	cmp	w8, #7
	b.lt	LBB0_8
; %bb.6:
	sub	w24, w20, w21
	ldr	x8, [sp, #96]
	ldp	w9, w10, [x8]
	ldp	w11, w12, [x8, #8]
	ldp	w13, w14, [x8, #16]
	ldr	w8, [x8, #24]
	stp	x14, x8, [sp, #40]
	stp	x12, x13, [sp, #24]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	stp	x10, x11, [sp, #8]
	str	x9, [sp]
	mov	x0, x21
	mov	x1, x24
	bl	_os_snprintf
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_os_snprintf_error
	mov	x8, x0
	mov	x0, x22
	cbnz	x8, LBB0_15
; %bb.7:
	add	x21, x21, w23, sxtw
LBB0_8:
	ldp	w8, w9, [sp, #72]
	add	w0, w9, w8
	bl	_os_malloc
	cbz	x0, LBB0_1
; %bb.9:
	mov	x22, x0
	ldr	w8, [sp, #72]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x9, #0
	mov	w25, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x9, x9, #1
	cmp	x9, w8, sxtw
	b.ge	LBB0_17
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [sp, #80]
	ldr	w10, [x10, x9, lsl #2]
	tbz	w10, #7, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	and	w8, w10, #0x7f
	add	w8, w8, w8, lsl #2
	strb	w8, [x22, w25, sxtw]
	add	w25, w25, #1
	ldr	w8, [sp, #72]
	b	LBB0_11
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_16:
	mov	w25, #0
LBB0_17:
	ldr	w8, [sp, #76]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.18:
	mov	x9, #0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x9, x9, #1
	cmp	x9, w8, sxtw
	b.ge	LBB0_22
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [sp, #88]
	ldr	w10, [x10, x9, lsl #2]
	tbz	w10, #7, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	and	w8, w10, #0x7f
	add	w8, w8, w8, lsl #2
	strb	w8, [x22, w25, sxtw]
	add	w25, w25, #1
	ldr	w8, [sp, #76]
	b	LBB0_19
LBB0_22:
	cmp	w25, #1
	b.lt	LBB0_30
; %bb.23:
	sub	w24, w20, w21
	ldrsb	x8, [x22]
	str	x8, [sp]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x1, x24
	bl	_os_snprintf
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_os_snprintf_error
	cbnz	x0, LBB0_30
; %bb.24:
	add	x21, x21, w23, sxtw
	cmp	w25, #2
	b.lo	LBB0_28
; %bb.25:
	mov	w8, w25
	add	x26, x22, #1
	sub	x27, x8, #1
Lloh9:
	adrp	x23, l_.str.3@PAGE
Lloh10:
	add	x23, x23, l_.str.3@PAGEOFF
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	sub	w25, w20, w21
	ldrsb	x8, [x26]
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x23
	bl	_os_snprintf
	mov	x24, x0
	mov	x0, x25
	mov	x1, x24
	bl	_os_snprintf_error
	cbnz	x0, LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x21, x21, w24, sxtw
	add	x26, x26, #1
	subs	x27, x27, #1
	b.ne	LBB0_26
LBB0_28:
	sub	w23, w20, w21
Lloh11:
	adrp	x2, l_.str.4@PAGE
Lloh12:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x1, x23
	bl	_os_snprintf
	mov	x20, x0
	mov	x0, x23
	mov	x1, x20
	bl	_os_snprintf_error
	cbnz	x0, LBB0_30
; %bb.29:
	add	x21, x21, w20, sxtw
LBB0_30:
	mov	x0, x22
	bl	_os_free
	sub	w0, w21, w19
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ParseFailed,8,3                ; @ParseFailed
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mesh_id=%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"active_path_selection_protocol_id=0x%02x\nactive_path_selection_metric_id=0x%02x\ncongestion_control_mode_id=0x%02x\nsynchronization_method_id=0x%02x\nauthentication_protocol_id=0x%02x\nmesh_formation_info=0x%02x\nmesh_capability=0x%02x\n"

l_.str.2:                               ; @.str.2
	.asciz	"bss_basic_rate_set=%d"

l_.str.3:                               ; @.str.3
	.asciz	" %d"

l_.str.4:                               ; @.str.4
	.asciz	"\n"

	.no_dead_strip	_mesh_attr_text
.subsections_via_symbols
