	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ks8695_init_partial_multicast
_ks8695_init_partial_multicast:         ## @ks8695_init_partial_multicast
	.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
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	jle	LBB0_4
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	movq	_KS8695_NR_ADDRESSES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	sete	%dil
	callq	_BUG_ON
	movq	(%r12), %rax
	movl	8(%rax), %ecx
	shll	$24, %ecx
	movl	12(%rax), %edx
	shll	$16, %edx
	orl	%ecx, %edx
	movl	16(%rax), %ebx
	shll	$8, %ebx
	orl	%edx, %ebx
	orl	20(%rax), %ebx
	movl	(%rax), %r15d
	shll	$8, %r15d
	orl	4(%rax), %r15d
	movl	%r13d, %edi
	callq	_KS8695_AAL_
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_ks8695_writereg
	movl	%r13d, %edi
	callq	_KS8695_AAH_
	movq	_AAH_E@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r15d
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_ks8695_writereg
	incl	%r13d
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_3
LBB0_4:
	movq	_KS8695_NR_ADDRESSES@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r13d
	jge	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	callq	_KS8695_AAL_
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_ks8695_writereg
	movl	%r13d, %edi
	callq	_KS8695_AAH_
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_ks8695_writereg
	incl	%r13d
	cmpl	(%rbx), %r13d
	jl	LBB0_5
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KS8695_NR_ADDRESSES,4,2        ## @KS8695_NR_ADDRESSES
	.comm	_AAH_E,4,2                      ## @AAH_E
	.no_dead_strip	_ks8695_init_partial_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ks8695_init_partial_multicast
_ks8695_init_partial_multicast:         ; @ks8695_init_partial_multicast
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	mov	w20, #0
Lloh0:
	adrp	x24, _KS8695_NR_ADDRESSES@GOTPAGE
Lloh1:
	ldr	x24, [x24, _KS8695_NR_ADDRESSES@GOTPAGEOFF]
	cmp	w2, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, x1
	cbz	x1, LBB0_6
; %bb.2:
	mov	x21, x2
	mov	w20, #0
Lloh2:
	adrp	x25, _AAH_E@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AAH_E@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	cmp	w20, w8
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x22]
	ldp	w9, w10, [x8, #8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w10, w11, [x8, #16]
	orr	w9, w9, w10, lsl #8
	orr	w23, w9, w11
	ldp	w9, w8, [x8]
	orr	w26, w8, w9, lsl #8
	mov	x0, x20
	bl	_KS8695_AAL_
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	bl	_ks8695_writereg
	mov	x0, x20
	bl	_KS8695_AAH_
	mov	x1, x0
	ldr	w8, [x25]
	orr	w2, w26, w8
	mov	x0, x19
	bl	_ks8695_writereg
	add	w20, w20, #1
	cmp	w20, w21
	b.ge	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x22, #8]
	cbnz	x22, LBB0_3
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_KS8695_AAL_
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_ks8695_writereg
	mov	x0, x20
	bl	_KS8695_AAH_
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_ks8695_writereg
	add	w20, w20, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	cmp	w20, w8
	b.lt	LBB0_5
; %bb.7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_KS8695_NR_ADDRESSES,4,2        ; @KS8695_NR_ADDRESSES
	.comm	_AAH_E,4,2                      ; @AAH_E
	.no_dead_strip	_ks8695_init_partial_multicast
.subsections_via_symbols
