	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1c_read_current_addr
_atl1c_read_current_addr:               ## @atl1c_read_current_addr
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_REG_MAC_STA_ADDR@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	leaq	-48(%rbp), %rdx
	callq	_AT_READ_REG
	movq	(%r15), %rsi
	addq	$4, %rsi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_AT_READ_REG
	movq	-48(%rbp), %rdi
	callq	_htonl
	movq	%rax, 8(%r14)
	movl	-40(%rbp), %edi
	callq	_htons
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_is_valid_ether_addr
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MAC_STA_ADDR,8,3           ## @REG_MAC_STA_ADDR
	.no_dead_strip	_atl1c_read_current_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1c_read_current_addr
_atl1c_read_current_addr:               ; @atl1c_read_current_addr
	.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
	mov	x19, x1
	mov	x20, x0
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	x21, _REG_MAC_STA_ADDR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _REG_MAC_STA_ADDR@GOTPAGEOFF]
	ldr	x1, [x21]
	add	x22, sp, #8
	add	x2, sp, #8
	bl	_AT_READ_REG
	ldr	x8, [x21]
	add	x1, x8, #4
	add	x2, x22, #8
	mov	x0, x20
	bl	_AT_READ_REG
	ldr	x0, [sp, #8]
	bl	_htonl
	str	x0, [x19, #8]
	ldr	w0, [sp, #16]
	bl	_htons
	str	w0, [x19]
	mov	x0, x19
	bl	_is_valid_ether_addr
	ldr	x8, [sp, #24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	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_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MAC_STA_ADDR,8,3           ; @REG_MAC_STA_ADDR
	.no_dead_strip	_atl1c_read_current_addr
.subsections_via_symbols
