	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6390_g2_avb_port_ptp_read
_mv88e6390_g2_avb_port_ptp_read:        ## @mv88e6390_g2_avb_port_ptp_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$1, %r8d
	jne	LBB0_1
## %bb.2:
	movq	_MV88E6390_G2_AVB_CMD_OP_READ@GOTPCREL(%rip), %r9
	jmp	LBB0_3
LBB0_1:
	movq	_MV88E6390_G2_AVB_CMD_OP_READ_INCR@GOTPCREL(%rip), %r9
LBB0_3:
	shll	$8, %esi
	movq	_MV88E6352_G2_AVB_CMD_BLOCK_PTP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$5, %eax
	orl	%edx, %esi
	orl	(%r9), %esi
	orl	%eax, %esi
	movq	%rcx, %rdx
	movl	%r8d, %ecx
	popq	%rbp
	jmp	_mv88e6xxx_g2_avb_read          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6390_G2_AVB_CMD_OP_READ,4,2 ## @MV88E6390_G2_AVB_CMD_OP_READ
	.comm	_MV88E6390_G2_AVB_CMD_OP_READ_INCR,4,2 ## @MV88E6390_G2_AVB_CMD_OP_READ_INCR
	.comm	_MV88E6352_G2_AVB_CMD_BLOCK_PTP,4,2 ## @MV88E6352_G2_AVB_CMD_BLOCK_PTP
	.no_dead_strip	_mv88e6390_g2_avb_port_ptp_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6390_g2_avb_port_ptp_read
_mv88e6390_g2_avb_port_ptp_read:        ; @mv88e6390_g2_avb_port_ptp_read
	.cfi_startproc
; %bb.0:
	cmp	w4, #1
Lloh0:
	adrp	x8, _MV88E6390_G2_AVB_CMD_OP_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MV88E6390_G2_AVB_CMD_OP_READ@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MV88E6390_G2_AVB_CMD_OP_READ_INCR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MV88E6390_G2_AVB_CMD_OP_READ_INCR@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _MV88E6352_G2_AVB_CMD_BLOCK_PTP@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MV88E6352_G2_AVB_CMD_BLOCK_PTP@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	orr	w10, w2, w1, lsl #8
	orr	w8, w10, w8
	orr	w1, w8, w9, lsl #5
	mov	x2, x3
	mov	x3, x4
	b	_mv88e6xxx_g2_avb_read
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6390_G2_AVB_CMD_OP_READ,4,2 ; @MV88E6390_G2_AVB_CMD_OP_READ
	.comm	_MV88E6390_G2_AVB_CMD_OP_READ_INCR,4,2 ; @MV88E6390_G2_AVB_CMD_OP_READ_INCR
	.comm	_MV88E6352_G2_AVB_CMD_BLOCK_PTP,4,2 ; @MV88E6352_G2_AVB_CMD_BLOCK_PTP
	.no_dead_strip	_mv88e6390_g2_avb_port_ptp_read
.subsections_via_symbols
