	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar8316_init_globals
_ar8316_init_globals:                   ## @ar8316_init_globals
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$56, %esi
	movl	$-1073740530, %edx              ## imm = 0xC000050E
	callq	_ar8xxx_write
	movq	_AR8216_REG_FLOOD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4128831, %edx                  ## imm = 0x3F003F
	callq	_ar8xxx_write
	movq	_AR8216_REG_GLOBAL_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR8316_GCTRL_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$9028, %ecx                     ## imm = 0x2344
	callq	_ar8xxx_rmw
	movq	_AR8216_REG_MIB_FUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR8216_MIB_FUNC@GOTPCREL(%rip), %rax
	movq	_AR8236_MIB_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %edx
	orl	%edi, %edx
	movq	_AR8216_MIB_FUNC_NO_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_AR8216_MIB_FUNC_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edi, %eax
	movq	%rbx, %rdi
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ar8xxx_rmw                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR8216_REG_FLOOD_MASK,4,2      ## @AR8216_REG_FLOOD_MASK
	.comm	_AR8216_REG_GLOBAL_CTRL,4,2     ## @AR8216_REG_GLOBAL_CTRL
	.comm	_AR8316_GCTRL_MTU,4,2           ## @AR8316_GCTRL_MTU
	.comm	_AR8216_REG_MIB_FUNC,4,2        ## @AR8216_REG_MIB_FUNC
	.comm	_AR8216_MIB_FUNC,4,2            ## @AR8216_MIB_FUNC
	.comm	_AR8236_MIB_EN,4,2              ## @AR8236_MIB_EN
	.comm	_AR8216_MIB_FUNC_NO_OP,4,2      ## @AR8216_MIB_FUNC_NO_OP
	.comm	_AR8216_MIB_FUNC_S,4,2          ## @AR8216_MIB_FUNC_S
	.no_dead_strip	_ar8316_init_globals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar8316_init_globals
_ar8316_init_globals:                   ; @ar8316_init_globals
	.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
	mov	w1, #56
	mov	w2, #1294
	movk	w2, #49152, lsl #16
	bl	_ar8xxx_write
Lloh0:
	adrp	x8, _AR8216_REG_FLOOD_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR8216_REG_FLOOD_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4128831
	bl	_ar8xxx_write
Lloh3:
	adrp	x8, _AR8216_REG_GLOBAL_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR8216_REG_GLOBAL_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _AR8316_GCTRL_MTU@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR8316_GCTRL_MTU@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #9028
	bl	_ar8xxx_rmw
Lloh9:
	adrp	x8, _AR8216_REG_MIB_FUNC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR8216_REG_MIB_FUNC@GOTPAGEOFF]
Lloh11:
	adrp	x9, _AR8216_MIB_FUNC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AR8216_MIB_FUNC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _AR8236_MIB_EN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AR8236_MIB_EN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh18:
	adrp	x8, _AR8216_MIB_FUNC_NO_OP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR8216_MIB_FUNC_NO_OP@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x10, _AR8216_MIB_FUNC_S@GOTPAGE
Lloh22:
	ldr	x10, [x10, _AR8216_MIB_FUNC_S@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w3, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ar8xxx_rmw
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR8216_REG_FLOOD_MASK,4,2      ; @AR8216_REG_FLOOD_MASK
	.comm	_AR8216_REG_GLOBAL_CTRL,4,2     ; @AR8216_REG_GLOBAL_CTRL
	.comm	_AR8316_GCTRL_MTU,4,2           ; @AR8316_GCTRL_MTU
	.comm	_AR8216_REG_MIB_FUNC,4,2        ; @AR8216_REG_MIB_FUNC
	.comm	_AR8216_MIB_FUNC,4,2            ; @AR8216_MIB_FUNC
	.comm	_AR8236_MIB_EN,4,2              ; @AR8236_MIB_EN
	.comm	_AR8216_MIB_FUNC_NO_OP,4,2      ; @AR8216_MIB_FUNC_NO_OP
	.comm	_AR8216_MIB_FUNC_S,4,2          ; @AR8216_MIB_FUNC_S
	.no_dead_strip	_ar8316_init_globals
.subsections_via_symbols
