	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6060_setup_global
_mv88e6060_setup_global:                ## @mv88e6060_setup_global
	.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	%rdi, %rbx
	movq	_REG_GLOBAL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_GLOBAL_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GLOBAL_CONTROL_MAX_FRAME_1536@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_reg_write
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	(%r14), %esi
	movq	_GLOBAL_ATU_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GLOBAL_ATU_CONTROL_LEARNDIS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_reg_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_GLOBAL,4,2                 ## @REG_GLOBAL
	.comm	_GLOBAL_CONTROL,4,2             ## @GLOBAL_CONTROL
	.comm	_GLOBAL_CONTROL_MAX_FRAME_1536,4,2 ## @GLOBAL_CONTROL_MAX_FRAME_1536
	.comm	_GLOBAL_ATU_CONTROL,4,2         ## @GLOBAL_ATU_CONTROL
	.comm	_GLOBAL_ATU_CONTROL_LEARNDIS,4,2 ## @GLOBAL_ATU_CONTROL_LEARNDIS
	.no_dead_strip	_mv88e6060_setup_global
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6060_setup_global
_mv88e6060_setup_global:                ; @mv88e6060_setup_global
	.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	x19, x0
Lloh0:
	adrp	x20, _REG_GLOBAL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _REG_GLOBAL@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _GLOBAL_CONTROL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GLOBAL_CONTROL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _GLOBAL_CONTROL_MAX_FRAME_1536@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLOBAL_CONTROL_MAX_FRAME_1536@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_reg_write
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w1, [x20]
Lloh8:
	adrp	x8, _GLOBAL_ATU_CONTROL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GLOBAL_ATU_CONTROL@GOTPAGEOFF]
Lloh10:
	adrp	x9, _GLOBAL_ATU_CONTROL_LEARNDIS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GLOBAL_ATU_CONTROL_LEARNDIS@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	ldr	w3, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_reg_write
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_GLOBAL,4,2                 ; @REG_GLOBAL
	.comm	_GLOBAL_CONTROL,4,2             ; @GLOBAL_CONTROL
	.comm	_GLOBAL_CONTROL_MAX_FRAME_1536,4,2 ; @GLOBAL_CONTROL_MAX_FRAME_1536
	.comm	_GLOBAL_ATU_CONTROL,4,2         ; @GLOBAL_ATU_CONTROL
	.comm	_GLOBAL_ATU_CONTROL_LEARNDIS,4,2 ; @GLOBAL_ATU_CONTROL_LEARNDIS
	.no_dead_strip	_mv88e6060_setup_global
.subsections_via_symbols
