	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_mac_address
_get_mac_address:                       ## @get_mac_address
	.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, %r14
	movq	%rdi, %r13
	movl	8(%rdi), %r15d
	movq	(%rdi), %rax
	movl	4(%rax), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movq	(%r13), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_netdev_dbg
	leaq	-46(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$6, %edx
	callq	_memset
	movq	_REQUEST_READ@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_MAC_REG_STATION_L@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CONTROL_TIMEOUT_MS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	movq	%rdx, %rbx
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	xorl	%edx, %edx
	movq	%r15, %r8
	movl	$2, %r9d
	callq	_control_read
	movl	%eax, %r15d
	movl	(%r12), %esi
	movq	_MAC_REG_STATION_M@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %r8
	movl	(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	xorl	%edx, %edx
	movl	$2, %r9d
	callq	_control_read
	movl	%eax, %ebx
	addl	%r15d, %ebx
	movl	(%r12), %esi
	movq	_MAC_REG_STATION_H@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-42(%rbp), %r8
	movq	_CONTROL_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	xorl	%edx, %edx
	movl	$2, %r9d
	callq	_control_read
	addl	%ebx, %eax
	movq	_ETH_ALEN@GOTPCREL(%rip), %rdx
	movq	_EINVAL@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	subl	(%rsi), %ecx
	cmpl	(%rdx), %eax
	movl	$0, %eax
	cmovel	%eax, %ecx
	movb	-41(%rbp), %al
	movb	%al, (%r14)
	movb	-42(%rbp), %al
	movb	%al, 1(%r14)
	movb	-43(%rbp), %al
	movb	%al, 2(%r14)
	movb	-44(%rbp), %al
	movb	%al, 3(%r14)
	movb	-45(%rbp), %al
	movb	%al, 4(%r14)
	movb	-46(%rbp), %al
	movb	%al, 5(%r14)
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get_mac_address:\n\tusbnet VID:%0x PID:%0x\n"

	.comm	_REQUEST_READ,4,2               ## @REQUEST_READ
	.comm	_MAC_REG_STATION_L,4,2          ## @MAC_REG_STATION_L
	.comm	_CONTROL_TIMEOUT_MS,4,2         ## @CONTROL_TIMEOUT_MS
	.comm	_MAC_REG_STATION_M,4,2          ## @MAC_REG_STATION_M
	.comm	_MAC_REG_STATION_H,4,2          ## @MAC_REG_STATION_H
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_get_mac_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_mac_address
_get_mac_address:                       ; @get_mac_address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	w21, [x0, #8]
	ldr	x8, [x0]
	ldr	w0, [x8, #4]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	mov	x3, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_netdev_dbg
	add	x22, sp, #10
	add	x0, sp, #10
	mov	w1, #0
	mov	w2, #6
	bl	_memset
Lloh2:
	adrp	x23, _REQUEST_READ@GOTPAGE
Lloh3:
	ldr	x23, [x23, _REQUEST_READ@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh4:
	adrp	x8, _MAC_REG_STATION_L@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAC_REG_STATION_L@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
Lloh7:
	adrp	x24, _CONTROL_TIMEOUT_MS@GOTPAGE
Lloh8:
	ldr	x24, [x24, _CONTROL_TIMEOUT_MS@GOTPAGEOFF]
	ldr	w6, [x24]
	add	x4, sp, #10
	mov	x0, x20
	mov	w2, #0
	mov	w5, #2
	bl	_control_read
	mov	x21, x0
	ldr	w1, [x23]
Lloh9:
	adrp	x8, _MAC_REG_STATION_M@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAC_REG_STATION_M@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x4, x22, #2
	ldr	w6, [x24]
	mov	x0, x20
	mov	w2, #0
	mov	w5, #2
	bl	_control_read
	add	w21, w0, w21
	ldr	w1, [x23]
Lloh12:
	adrp	x8, _MAC_REG_STATION_H@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAC_REG_STATION_H@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	add	x4, x22, #4
	ldr	w6, [x24]
	mov	x0, x20
	mov	w2, #0
	mov	w5, #2
	bl	_control_read
Lloh15:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh17:
	adrp	x9, _EINVAL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	add	w10, w21, w0
	cmp	w10, w8
	csneg	w0, wzr, w9, eq
	ldrb	w8, [sp, #15]
	strb	w8, [x19]
	ldrb	w8, [sp, #14]
	strb	w8, [x19, #1]
	ldrb	w8, [sp, #13]
	strb	w8, [x19, #2]
	ldrb	w8, [sp, #12]
	strb	w8, [x19, #3]
	ldrb	w8, [sp, #11]
	strb	w8, [x19, #4]
	ldrb	w8, [sp, #10]
	strb	w8, [x19, #5]
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get_mac_address:\n\tusbnet VID:%0x PID:%0x\n"

	.comm	_REQUEST_READ,4,2               ; @REQUEST_READ
	.comm	_MAC_REG_STATION_L,4,2          ; @MAC_REG_STATION_L
	.comm	_CONTROL_TIMEOUT_MS,4,2         ; @CONTROL_TIMEOUT_MS
	.comm	_MAC_REG_STATION_M,4,2          ; @MAC_REG_STATION_M
	.comm	_MAC_REG_STATION_H,4,2          ; @MAC_REG_STATION_H
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_get_mac_address
.subsections_via_symbols
