	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip175c_set_state
_ip175c_set_state:                      ## @ip175c_set_state
	.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
	movl	(%rdi), %esi
	movq	16(%rdi), %rax
	movq	88(%rax), %rcx
	movl	96(%rax), %edx
	callq	_SET_PORT_BITS
	movl	4(%r14), %esi
	movq	16(%r14), %rax
	movq	72(%rax), %rcx
	movl	80(%rax), %edx
	movq	%r14, %rdi
	callq	_SET_PORT_BITS
	movq	16(%r14), %rax
	movl	48(%rax), %edi
	callq	_REG_SUPP
	movq	16(%r14), %rcx
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	cmpl	$0, (%rcx)
	jle	LBB0_14
## %bb.2:
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	16(%r14), %rcx
	movslq	(%rcx), %rax
	cmpq	%rax, %rbx
	jge	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	testb	$1, %bl
	sete	%dl
	movl	48(%rcx), %r12d
	cmpq	$0, 16(%rcx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	%ebx, %r12d
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	%dl, %al
	movq	56(%rcx,%rax,8), %r15
	movl	%r12d, %edi
	callq	_REG_SUPP
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%rbx,8), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movq	%r15, %rcx
	callq	_SET_PORT_BITS
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$5, %ebx
	ja	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %esi
	movslq	(%r13,%rsi,4), %rsi
	addq	%r13, %rsi
	jmpq	*%rsi
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	jmp	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$-1, %r12d
	jmp	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$2, %r12d
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	44(%rcx), %r12d
	jmp	LBB0_11
LBB0_14:
	movl	40(%rcx), %edi
	callq	_REG_SUPP
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	movq	_MAX_VLANS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_18
## %bb.16:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	testb	$1, %bl
	sete	%al
	movq	16(%r14), %rsi
	movq	24(%r14), %rdi
	cmpq	$0, 16(%rsi)
	sete	%cl
	movl	%ebx, %edx
	shrl	%cl, %edx
	movq	24(%rsi,%rax,8), %rcx
	addl	40(%rsi), %edx
	movl	(%rdi,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_SET_PORT_BITS
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_17
LBB0_18:
	movq	_MAX_PORTS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_23
## %bb.19:
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_23
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	8(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_REG_SUPP
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	8(%r14), %rax
	movq	16(%r14), %rcx
	movq	8(%rcx), %rcx
	movl	4(%rax,%rbx,8), %edx
	movl	(%rcx,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_setPhy
	testl	%eax, %eax
	jns	LBB0_22
## %bb.24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ip175c_set_flags               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_MAX_VLANS,4,2                  ## @MAX_VLANS
	.comm	_MAX_PORTS,4,2                  ## @MAX_PORTS
	.no_dead_strip	_ip175c_set_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip175c_set_state
_ip175c_set_state:                      ; @ip175c_set_state
	.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
	ldr	w1, [x0]
	ldr	x8, [x0, #16]
	ldr	x3, [x8, #88]
	ldr	w2, [x8, #96]
	bl	_SET_PORT_BITS
	ldr	w1, [x19, #4]
	ldr	x8, [x19, #16]
	ldr	x3, [x8, #72]
	ldr	w2, [x8, #80]
	mov	x0, x19
	bl	_SET_PORT_BITS
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #48]
	bl	_REG_SUPP
	ldr	x8, [x19, #16]
	cbz	x0, LBB0_14
; %bb.1:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_14
; %bb.2:
	mov	x22, #0
	mov	x23, #0
	mov	w24, #56
	mov	w25, #64
Lloh0:
	adrp	x26, lJTI0_0@PAGE
Lloh1:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8]
	add	x22, x22, #8
	cmp	x23, x9
	b.ge	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	tst	w23, #0x1
	csel	x9, x25, x24, eq
	ldr	x20, [x8, x9]
	ldr	w9, [x8, #48]
	ldr	x10, [x8, #16]
	cbz	x10, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w23, w9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w21, w9
	mov	x0, x21
	bl	_REG_SUPP
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x22]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_SET_PORT_BITS
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, #5
	b.hi	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x10, x23, #0xffffffff
	adr	x11, LBB0_6
	ldrb	w12, [x26, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w9, #1
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #-1
	b	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w9, #2
	b	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, #44]
	b	LBB0_6
LBB0_14:
	ldr	w0, [x8, #40]
	bl	_REG_SUPP
Lloh2:
	adrp	x20, _MAX_VLANS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _MAX_VLANS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	x0, #0
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_17
; %bb.15:
	mov	x21, #0
	mov	w22, #24
	mov	w23, #32
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19, #16]
	ldr	w10, [x8, #40]
	tst	w21, #0x1
	csel	x11, x23, x22, eq
	ldr	x3, [x8, x11]
	ldr	x8, [x8, #16]
	cmp	x8, #0
	cset	w8, eq
	lsr	w8, w21, w8
	add	w2, w8, w10
	ldr	w1, [x9, x21, lsl #2]
	mov	x0, x19
	bl	_SET_PORT_BITS
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_16
LBB0_17:
Lloh4:
	adrp	x20, _MAX_PORTS@GOTPAGE
Lloh5:
	ldr	x20, [x20, _MAX_PORTS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.18:
	mov	x21, #0
	mov	w22, #4
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x22, x22, #8
	cmp	x21, x8
	b.ge	LBB0_23
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, x21, lsl #2]
	bl	_REG_SUPP
	cbz	x0, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldp	x9, x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w2, [x9, x22]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_setPhy
	tbz	w0, #31, LBB0_19
; %bb.22:
	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
LBB0_23:
	mov	x0, x19
	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
	b	_ip175c_set_flags
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
                                        ; -- End function
	.comm	_MAX_VLANS,4,2                  ; @MAX_VLANS
	.comm	_MAX_PORTS,4,2                  ; @MAX_PORTS
	.no_dead_strip	_ip175c_set_state
.subsections_via_symbols
