	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at24_setup
_at24_setup:                            ## @at24_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_at24_nvmem@GOTPCREL(%rip), %rbx
	movq	%rdi, (%rbx)
	leaq	-32(%rbp), %rcx
	movl	$256, %esi                      ## imm = 0x100
	movl	$6, %edx
	callq	_nvmem_device_read
	cmpl	$6, %eax
	jne	LBB0_2
## %bb.1:
	movq	_laguna_net_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	callq	_memcpy
LBB0_2:
	movq	(%rbx), %rdi
	leaq	-32(%rbp), %rcx
	movl	$262, %esi                      ## imm = 0x106
	movl	$6, %edx
	callq	_nvmem_device_read
	cmpl	$6, %eax
	jne	LBB0_4
## %bb.3:
	movq	_laguna_net_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$4, %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	callq	_memcpy
LBB0_4:
	movq	(%rbx), %rdi
	leaq	-32(%rbp), %rcx
	movl	$268, %esi                      ## imm = 0x10C
	movl	$6, %edx
	callq	_nvmem_device_read
	cmpl	$6, %eax
	jne	LBB0_6
## %bb.5:
	movq	_laguna_net_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$8, %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	callq	_memcpy
LBB0_6:
	movq	(%rbx), %rdi
	leaq	-32(%rbp), %rcx
	movl	$274, %esi                      ## imm = 0x112
	movl	$6, %edx
	callq	_nvmem_device_read
	cmpl	$6, %eax
	jne	LBB0_8
## %bb.7:
	movq	_laguna_net_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$12, %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	callq	_memcpy
LBB0_8:
	movq	(%rbx), %rdi
	leaq	-32(%rbp), %rcx
	movl	$304, %esi                      ## imm = 0x130
	movl	$16, %edx
	callq	_nvmem_device_read
	cmpl	$16, %eax
	jne	LBB0_10
## %bb.9:
	movq	_laguna_info@GOTPCREL(%rip), %rdi
	addq	$16, %rdi
	leaq	-32(%rbp), %rsi
	movl	$16, %edx
	callq	_memcpy
LBB0_10:
	movq	(%rbx), %rdi
	leaq	-32(%rbp), %rcx
	movl	$320, %esi                      ## imm = 0x140
	movl	$1, %edx
	callq	_nvmem_device_read
	cmpl	$1, %eax
	jne	LBB0_12
## %bb.11:
	movq	_laguna_info@GOTPCREL(%rip), %rdi
	addq	$12, %rdi
	leaq	-32(%rbp), %rsi
	movl	$1, %edx
	callq	_memcpy
LBB0_12:
	movq	(%rbx), %rdi
	leaq	-32(%rbp), %rcx
	movl	$321, %esi                      ## imm = 0x141
	movl	$1, %edx
	callq	_nvmem_device_read
	cmpl	$1, %eax
	jne	LBB0_14
## %bb.13:
	movq	_laguna_info@GOTPCREL(%rip), %rdi
	addq	$8, %rdi
	leaq	-32(%rbp), %rsi
	movl	$1, %edx
	callq	_memcpy
LBB0_14:
	movq	(%rbx), %rdi
	leaq	-32(%rbp), %rcx
	movl	$322, %esi                      ## imm = 0x142
	movl	$4, %edx
	callq	_nvmem_device_read
	cmpl	$4, %eax
	jne	LBB0_16
## %bb.15:
	movq	_laguna_info@GOTPCREL(%rip), %rdi
	addq	$4, %rdi
	leaq	-32(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_16:
	movq	(%rbx), %rdi
	leaq	-32(%rbp), %rcx
	movl	$326, %esi                      ## imm = 0x146
	movl	$4, %edx
	callq	_nvmem_device_read
	cmpl	$4, %eax
	jne	LBB0_18
## %bb.17:
	movq	_laguna_info@GOTPCREL(%rip), %rdi
	leaq	-32(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_at24_nvmem,8,3                 ## @at24_nvmem
	.comm	_laguna_net_data,8,3            ## @laguna_net_data
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_laguna_info,20,2               ## @laguna_info
	.no_dead_strip	_at24_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at24_setup
_at24_setup:                            ; @at24_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x19, _at24_nvmem@GOTPAGE
Lloh4:
	ldr	x19, [x19, _at24_nvmem@GOTPAGEOFF]
	str	x0, [x19]
	add	x3, sp, #8
	mov	w1, #256
	mov	w2, #6
	bl	_nvmem_device_read
Lloh5:
	adrp	x21, _laguna_net_data@GOTPAGE
Lloh6:
	ldr	x21, [x21, _laguna_net_data@GOTPAGEOFF]
Lloh7:
	adrp	x20, _ETH_ALEN@GOTPAGE
Lloh8:
	ldr	x20, [x20, _ETH_ALEN@GOTPAGEOFF]
	cmp	w0, #6
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x21]
	ldr	w2, [x20]
	add	x1, sp, #8
	bl	_memcpy
LBB0_2:
	ldr	x0, [x19]
	add	x3, sp, #8
	mov	w1, #262
	mov	w2, #6
	bl	_nvmem_device_read
	cmp	w0, #6
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x21]
	add	x0, x8, #4
	ldr	w2, [x20]
	add	x1, sp, #8
	bl	_memcpy
LBB0_4:
	ldr	x0, [x19]
	add	x3, sp, #8
	mov	w1, #268
	mov	w2, #6
	bl	_nvmem_device_read
	cmp	w0, #6
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x21]
	add	x0, x8, #8
	ldr	w2, [x20]
	add	x1, sp, #8
	bl	_memcpy
LBB0_6:
	ldr	x0, [x19]
	add	x3, sp, #8
	mov	w1, #274
	mov	w2, #6
	bl	_nvmem_device_read
	cmp	w0, #6
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x21]
	add	x0, x8, #12
	ldr	w2, [x20]
	add	x1, sp, #8
	bl	_memcpy
LBB0_8:
	ldr	x0, [x19]
	add	x3, sp, #8
	mov	w1, #304
	mov	w2, #16
	bl	_nvmem_device_read
Lloh9:
	adrp	x20, _laguna_info@GOTPAGE
Lloh10:
	ldr	x20, [x20, _laguna_info@GOTPAGEOFF]
	cmp	w0, #16
	b.ne	LBB0_10
; %bb.9:
	add	x0, x20, #16
	add	x1, sp, #8
	mov	w2, #16
	bl	_memcpy
LBB0_10:
	ldr	x0, [x19]
	add	x3, sp, #8
	mov	w1, #320
	mov	w2, #1
	bl	_nvmem_device_read
	cmp	w0, #1
	b.ne	LBB0_12
; %bb.11:
	add	x0, x20, #12
	add	x1, sp, #8
	mov	w2, #1
	bl	_memcpy
LBB0_12:
	ldr	x0, [x19]
	add	x3, sp, #8
	mov	w1, #321
	mov	w2, #1
	bl	_nvmem_device_read
	cmp	w0, #1
	b.ne	LBB0_14
; %bb.13:
	add	x0, x20, #8
	add	x1, sp, #8
	mov	w2, #1
	bl	_memcpy
LBB0_14:
	ldr	x0, [x19]
	add	x3, sp, #8
	mov	w1, #322
	mov	w2, #4
	bl	_nvmem_device_read
	cmp	w0, #4
	b.ne	LBB0_16
; %bb.15:
	add	x0, x20, #4
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
LBB0_16:
	ldr	x0, [x19]
	add	x3, sp, #8
	mov	w1, #326
	mov	w2, #4
	bl	_nvmem_device_read
	cmp	w0, #4
	b.ne	LBB0_18
; %bb.17:
Lloh11:
	adrp	x0, _laguna_info@GOTPAGE
Lloh12:
	ldr	x0, [x0, _laguna_info@GOTPAGEOFF]
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
LBB0_18:
	ldr	x8, [sp, #24]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_at24_nvmem,8,3                 ; @at24_nvmem
	.comm	_laguna_net_data,8,3            ; @laguna_net_data
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_laguna_info,20,2               ; @laguna_info
	.no_dead_strip	_at24_setup
.subsections_via_symbols
