	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_gbe_mac_mc_addr_list_update
_pch_gbe_mac_mc_addr_list_update:       ## @pch_gbe_mac_mc_addr_list_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	cmpl	%r8d, %ecx
	jge	LBB0_6
## %bb.1:
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movslq	%ecx, %r14
	shlq	$3, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	addq	$8, %rdi
	callq	_ioread32
	btsl	%ebx, %eax
	movq	(%r12), %rsi
	addq	$8, %rsi
	movl	%eax, %edi
	callq	_iowrite32
	movq	(%r12), %rdi
	addq	$8, %rdi
	movq	_PCH_GBE_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pch_gbe_wait_clr_bit
	movq	(%r12), %rax
	movq	(%rax), %rax
	leaq	(%rax,%r14), %rsi
	addq	$4, %rsi
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_iowrite32
	movq	(%r12), %rax
	movq	(%rax), %rsi
	addq	%r14, %rsi
	xorl	%edi, %edi
	callq	_iowrite32
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %r14
	incl	%ebx
	cmpl	%ebx, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_pch_gbe_mac_mar_set
	decl	%r13d
	movq	_PCH_GBE_ETH_ALEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r15,%rax,4), %r15
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCH_GBE_ETH_ALEN,4,2           ## @PCH_GBE_ETH_ALEN
	.comm	_PCH_GBE_BUSY,4,2               ## @PCH_GBE_BUSY
	.no_dead_strip	_pch_gbe_mac_mc_addr_list_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_gbe_mac_mc_addr_list_update
_pch_gbe_mac_mc_addr_list_update:       ; @pch_gbe_mac_mc_addr_list_update
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w3, w4
	b.ge	LBB0_6
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	sbfiz	x24, x20, #3, #32
	mov	w25, #1
Lloh0:
	adrp	x26, _PCH_GBE_BUSY@GOTPAGE
Lloh1:
	ldr	x26, [x26, _PCH_GBE_BUSY@GOTPAGEOFF]
Lloh2:
	adrp	x27, _PCH_GBE_ETH_ALEN@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PCH_GBE_ETH_ALEN@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	add	x0, x8, #8
	bl	_ioread32
	lsl	w8, w25, w20
	orr	w0, w0, w8
	ldr	x8, [x22]
	add	x1, x8, #8
	bl	_iowrite32
	ldr	x8, [x22]
	add	x0, x8, #8
	ldr	w1, [x26]
	bl	_pch_gbe_wait_clr_bit
	ldr	x8, [x22]
	ldr	x8, [x8]
	add	x8, x8, x24
	add	x1, x8, #4
	mov	w0, #0
	bl	_iowrite32
	ldr	x8, [x22]
	ldr	x8, [x8]
	add	x1, x8, x24
	mov	w0, #0
	bl	_iowrite32
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #8
	add	w20, w20, #1
	cmp	w19, w20
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w23, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_pch_gbe_mac_mar_set
	sub	w23, w23, #1
	ldrsw	x8, [x27]
	add	x21, x21, x8, lsl #2
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCH_GBE_ETH_ALEN,4,2           ; @PCH_GBE_ETH_ALEN
	.comm	_PCH_GBE_BUSY,4,2               ; @PCH_GBE_BUSY
	.no_dead_strip	_pch_gbe_mac_mc_addr_list_update
.subsections_via_symbols
