	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6xxx_g1_set_switch_mac    ## -- Begin function mv88e6xxx_g1_set_switch_mac
	.p2align	4, 0x90
_mv88e6xxx_g1_set_switch_mac:           ## @mv88e6xxx_g1_set_switch_mac
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edx
	shll	$8, %edx
	orl	4(%rsi), %edx
	movq	_MV88E6XXX_G1_MAC_01@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mv88e6xxx_g1_write
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	8(%rbx), %edx
	shll	$8, %edx
	orl	12(%rbx), %edx
	movq	_MV88E6XXX_G1_MAC_23@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mv88e6xxx_g1_write
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	16(%rbx), %edx
	shll	$8, %edx
	orl	20(%rbx), %edx
	movq	_MV88E6XXX_G1_MAC_45@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mv88e6xxx_g1_write             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6XXX_G1_MAC_01,4,2        ## @MV88E6XXX_G1_MAC_01
	.comm	_MV88E6XXX_G1_MAC_23,4,2        ## @MV88E6XXX_G1_MAC_23
	.comm	_MV88E6XXX_G1_MAC_45,4,2        ## @MV88E6XXX_G1_MAC_45
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6xxx_g1_set_switch_mac    ; -- Begin function mv88e6xxx_g1_set_switch_mac
	.p2align	2
_mv88e6xxx_g1_set_switch_mac:           ; @mv88e6xxx_g1_set_switch_mac
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldp	w8, w9, [x1]
	orr	w2, w9, w8, lsl #8
Lloh0:
	adrp	x8, _MV88E6XXX_G1_MAC_01@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MV88E6XXX_G1_MAC_01@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mv88e6xxx_g1_write
	cbnz	w0, LBB0_2
; %bb.1:
	ldp	w8, w9, [x20, #8]
	orr	w2, w9, w8, lsl #8
Lloh3:
	adrp	x8, _MV88E6XXX_G1_MAC_23@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MV88E6XXX_G1_MAC_23@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mv88e6xxx_g1_write
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldp	w8, w9, [x20, #16]
	orr	w2, w9, w8, lsl #8
Lloh6:
	adrp	x8, _MV88E6XXX_G1_MAC_45@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MV88E6XXX_G1_MAC_45@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mv88e6xxx_g1_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6XXX_G1_MAC_01,4,2        ; @MV88E6XXX_G1_MAC_01
	.comm	_MV88E6XXX_G1_MAC_23,4,2        ; @MV88E6XXX_G1_MAC_23
	.comm	_MV88E6XXX_G1_MAC_45,4,2        ; @MV88E6XXX_G1_MAC_45
.subsections_via_symbols
