	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp702x_read_mac_addr
_vp702x_read_mac_addr:                  ## @vp702x_read_mac_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	%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
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	(%rbx), %r12
	movq	_READ_EEPROM_REQ@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$6, %edx
	movl	$1, %ecx
	movq	%r12, %r8
	movl	$1, %r9d
	callq	_vp702x_usb_in_op
	movl	(%r13), %esi
	leaq	4(%r12), %r8
	movq	%r14, %rdi
	movl	$7, %edx
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_vp702x_usb_in_op
	movl	(%r13), %esi
	leaq	8(%r12), %r8
	movq	%r14, %rdi
	movl	$8, %edx
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_vp702x_usb_in_op
	movl	(%r13), %esi
	leaq	12(%r12), %r8
	movq	%r14, %rdi
	movl	$9, %edx
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_vp702x_usb_in_op
	movl	(%r13), %esi
	leaq	16(%r12), %r8
	movq	%r14, %rdi
	movl	$10, %edx
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_vp702x_usb_in_op
	movl	(%r13), %esi
	leaq	20(%r12), %r8
	movq	%r14, %rdi
	movl	$11, %edx
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_vp702x_usb_in_op
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	$6, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ_EEPROM_REQ,4,2            ## @READ_EEPROM_REQ
	.no_dead_strip	_vp702x_read_mac_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vp702x_read_mac_addr
_vp702x_read_mac_addr:                  ; @vp702x_read_mac_addr
	.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	x20, x1
	mov	x22, x0
	ldr	x21, [x0]
	add	x19, x21, #8
	mov	x0, x19
	bl	_mutex_lock
	ldr	x21, [x21]
Lloh0:
	adrp	x23, _READ_EEPROM_REQ@GOTPAGE
Lloh1:
	ldr	x23, [x23, _READ_EEPROM_REQ@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	mov	w2, #6
	mov	w3, #1
	mov	x4, x21
	mov	w5, #1
	bl	_vp702x_usb_in_op
	ldr	w1, [x23]
	add	x4, x21, #4
	mov	x0, x22
	mov	w2, #7
	mov	w3, #1
	mov	w5, #1
	bl	_vp702x_usb_in_op
	ldr	w1, [x23]
	add	x4, x21, #8
	mov	x0, x22
	mov	w2, #8
	mov	w3, #1
	mov	w5, #1
	bl	_vp702x_usb_in_op
	ldr	w1, [x23]
	add	x4, x21, #12
	mov	x0, x22
	mov	w2, #9
	mov	w3, #1
	mov	w5, #1
	bl	_vp702x_usb_in_op
	ldr	w1, [x23]
	add	x4, x21, #16
	mov	x0, x22
	mov	w2, #10
	mov	w3, #1
	mov	w5, #1
	bl	_vp702x_usb_in_op
	ldr	w1, [x23]
	add	x4, x21, #20
	mov	x0, x22
	mov	w2, #11
	mov	w3, #1
	mov	w5, #1
	bl	_vp702x_usb_in_op
	mov	x0, x20
	mov	x1, x21
	mov	w2, #6
	bl	_memcpy
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_READ_EEPROM_REQ,4,2            ; @READ_EEPROM_REQ
	.no_dead_strip	_vp702x_read_mac_addr
.subsections_via_symbols
