	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ksz_update_port_member         ## -- Begin function ksz_update_port_member
	.p2align	4, 0x90
_ksz_update_port_member:                ## @ksz_update_port_member
	.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	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	movl	%esi, %r15d
	movl	$8, %r12d
	xorl	%ebx, %ebx
	movq	_BR_STATE_FORWARDING@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$16, %r12
	cmpq	%rcx, %rbx
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %r15
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14), %ecx
	cmpq	%rcx, %rbx
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	8(%r14), %rdx
	btq	%rbx, %rdx
	jae	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r14), %rcx
	movq	-8(%rcx,%r12), %rsi
	cmpq	(%r13), %rsi
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdx, (%rcx,%r12)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rax
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	*(%rax)
	movl	(%r14), %eax
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_STATE_FORWARDING,8,3        ## @BR_STATE_FORWARDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ksz_update_port_member         ; -- Begin function ksz_update_port_member
	.p2align	2
_ksz_update_port_member:                ; @ksz_update_port_member
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x0
	mov	x21, #0
	mov	x20, #0
Lloh0:
	adrp	x22, _BR_STATE_FORWARDING@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BR_STATE_FORWARDING@GOTPAGEOFF]
	mov	w23, w1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	add	x21, x21, #16
	cmp	x20, w8, sxtw
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, x20
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x19, #4]
	cmp	x20, x9
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x2, [x19, #8]
	lsr	w9, w2, w20
	tbz	w9, #0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #24]
	ldr	x10, [x9, x21]
	ldr	x11, [x22]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, x21
	ldr	x9, [x9, #8]
	cmp	x9, x2
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	ldr	w8, [x19]
	b	LBB0_2
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_STATE_FORWARDING,8,3        ; @BR_STATE_FORWARDING
.subsections_via_symbols
