	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %ebx
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rsi), %rdi
	callq	_basename
	movq	_progname@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r14
	leaq	LJTI0_0(%rip), %r15
	movq	_optarg@GOTPCREL(%rip), %r12
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rax), %edi
	callq	_usage
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-66(%rax), %ecx
	cmpl	$49, %ecx
	ja	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movslq	(%r15,%rcx,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	(%r12), %rax
	movq	_board_id@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	_strip_padding@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_5
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$-1, %eax
	je	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_12:
	movq	_board_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.13:
	callq	_find_board
	movq	_board@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_21
## %bb.15:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.16:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_26
## %bb.17:
	movq	%rax, %r13
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_fseek
	movq	%r13, %rdi
	callq	_ftell
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_rewind
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_27
## %bb.18:
	movq	%rax, %r12
	movq	(%r15), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	movq	%r13, %rcx
	callq	_meraki_build_hdr
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_fclose
	jmp	LBB0_28
LBB0_19:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_23
LBB0_20:
	movq	_board_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_ERR
	jmp	LBB0_24
LBB0_21:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_23
LBB0_22:
	leaq	L_.str.4(%rip), %rdi
LBB0_23:
	xorl	%eax, %eax
	callq	_ERR
LBB0_24:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_25:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	leaq	L_.str.6(%rip), %rdi
	movq	%r14, %rsi
	callq	_ERRS
	jmp	LBB0_24
LBB0_27:
	leaq	L_.str.8(%rip), %rdi
	movq	%rbx, %rsi
	callq	_ERRS
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_28:
	movq	%r13, %rdi
	callq	_fclose
	jmp	LBB0_25
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_1
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_progname,4,2                   ## @progname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"B:i:o:sh"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_board_id,8,3                   ## @board_id
	.comm	_strip_padding,4,2              ## @strip_padding
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"no board specified"

	.comm	_board,8,3                      ## @board
L_.str.2:                               ## @.str.2
	.asciz	"unknown board \"%s\""

L_.str.3:                               ## @.str.3
	.asciz	"no input file specified"

L_.str.4:                               ## @.str.4
	.asciz	"no output file specified"

L_.str.5:                               ## @.str.5
	.asciz	"r"

L_.str.6:                               ## @.str.6
	.asciz	"could not open \"%s\" for reading: %s"

	.comm	_SEEK_END,4,2                   ## @SEEK_END
L_.str.7:                               ## @.str.7
	.asciz	"w"

L_.str.8:                               ## @.str.8
	.asciz	"could not open \"%s\" for writing: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x26, _EXIT_FAILURE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _EXIT_FAILURE@GOTPAGEOFF]
	ldr	w8, [x26]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x0, [x1]
	bl	_basename
	stp	xzr, xzr, [sp, #16]             ; 16-byte Folded Spill
Lloh2:
	adrp	x8, _progname@GOTPAGE
Lloh3:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh4:
	adrp	x24, l_.str@PAGE
Lloh5:
	add	x24, x24, l_.str@PAGEOFF
Lloh6:
	adrp	x27, lJTI0_0@PAGE
Lloh7:
	add	x27, x27, lJTI0_0@PAGEOFF
Lloh8:
	adrp	x28, _optarg@GOTPAGE
Lloh9:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
Lloh10:
	adrp	x25, _board_id@GOTPAGE
Lloh11:
	ldr	x25, [x25, _board_id@GOTPAGEOFF]
Lloh12:
	str	w0, [x8]
Lloh13:
	adrp	x19, _EXIT_SUCCESS@GOTPAGE
Lloh14:
	ldr	x19, [x19, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh15:
	adrp	x20, _strip_padding@GOTPAGE
Lloh16:
	ldr	x20, [x20, _strip_padding@GOTPAGEOFF]
	mov	w21, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19]
	bl	_usage
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_getopt
	sub	w8, w0, #66
	cmp	w8, #49
	b.hi	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
	str	x8, [x25]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w21, [x20]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	bl	_usage
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_10:
	ldr	x0, [x25]
	cbz	x0, LBB0_17
; %bb.11:
	bl	_find_board
Lloh17:
	adrp	x19, _board@GOTPAGE
Lloh18:
	ldr	x19, [x19, _board@GOTPAGEOFF]
	str	x0, [x19]
	cbz	x0, LBB0_18
; %bb.12:
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	cbz	x21, LBB0_19
; %bb.13:
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	cbz	x20, LBB0_20
; %bb.14:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_fopen
	cbz	x0, LBB0_24
; %bb.15:
	mov	x22, x0
Lloh21:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_fseek
	mov	x0, x22
	bl	_ftell
	mov	x21, x0
	mov	x0, x22
	bl	_rewind
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_fopen
	cbz	x0, LBB0_25
; %bb.16:
	mov	x23, x0
	ldr	x0, [x19]
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	bl	_meraki_build_hdr
	mov	x19, x0
	mov	x0, x23
	bl	_fclose
	b	LBB0_26
LBB0_17:
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_21
LBB0_18:
	ldr	x8, [x25]
	str	x8, [sp]
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_19:
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_20:
Lloh32:
	adrp	x0, l_.str.4@PAGE
Lloh33:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_21:
	bl	_ERR
LBB0_22:
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
LBB0_23:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_24:
Lloh34:
	adrp	x0, l_.str.6@PAGE
Lloh35:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x21
	bl	_ERRS
	b	LBB0_22
LBB0_25:
Lloh36:
	adrp	x0, l_.str.8@PAGE
Lloh37:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x20
	bl	_ERRS
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
LBB0_26:
	mov	x0, x22
	bl	_fclose
	b	LBB0_23
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)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-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
                                        ; -- End function
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_progname,4,2                   ; @progname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"B:i:o:sh"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_board_id,8,3                   ; @board_id
	.comm	_strip_padding,4,2              ; @strip_padding
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"no board specified"

	.comm	_board,8,3                      ; @board
l_.str.2:                               ; @.str.2
	.asciz	"unknown board \"%s\""

l_.str.3:                               ; @.str.3
	.asciz	"no input file specified"

l_.str.4:                               ; @.str.4
	.asciz	"no output file specified"

l_.str.5:                               ; @.str.5
	.asciz	"r"

l_.str.6:                               ; @.str.6
	.asciz	"could not open \"%s\" for reading: %s"

	.comm	_SEEK_END,4,2                   ; @SEEK_END
l_.str.7:                               ; @.str.7
	.asciz	"w"

l_.str.8:                               ; @.str.8
	.asciz	"could not open \"%s\" for writing: %s"

.subsections_via_symbols
