	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __lpc_params_setup
___lpc_params_setup:                    ## @__lpc_params_setup
	.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
	movq	(%rdi), %r12
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	16(%rdi), %edi
	callq	_LPC_ENET_MAC2
	movl	%eax, %edi
	callq	_readl
	movl	%eax, %r15d
	movq	_LPC_MAC2_FULL_DUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpq	%r13, %r12
	jne	LBB0_2
## %bb.1:
	orl	%r15d, %ebx
	movl	16(%r14), %edi
	callq	_LPC_ENET_MAC2
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_writel
	movl	16(%r14), %edi
	callq	_LPC_ENET_COMMAND
	movl	%eax, %edi
	callq	_readl
	movl	%eax, %ebx
	movq	_LPC_COMMAND_FULLDUPLEX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	$21, %r15d
	jmp	LBB0_3
LBB0_2:
	notl	%ebx
	andl	%ebx, %r15d
	movl	16(%r14), %edi
	callq	_LPC_ENET_MAC2
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_writel
	movl	16(%r14), %edi
	callq	_LPC_ENET_COMMAND
	movl	%eax, %edi
	callq	_readl
	movq	_LPC_COMMAND_FULLDUPLEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	$18, %r15d
LBB0_3:
	movl	16(%r14), %edi
	callq	_LPC_ENET_COMMAND
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_writel
	movl	%r15d, %edi
	callq	_LPC_IPGT_LOAD
	movl	%eax, %ebx
	movl	16(%r14), %edi
	callq	_LPC_ENET_IPGT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_writel
	movq	8(%r14), %rax
	movq	_SPEED_100@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_LPC_SUPP_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_5:
	movl	16(%r14), %edi
	callq	_LPC_ENET_SUPP
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_LPC_MAC2_FULL_DUPLEX,4,2       ## @LPC_MAC2_FULL_DUPLEX
	.comm	_LPC_COMMAND_FULLDUPLEX,4,2     ## @LPC_COMMAND_FULLDUPLEX
	.comm	_SPEED_100,8,3                  ## @SPEED_100
	.comm	_LPC_SUPP_SPEED,4,2             ## @LPC_SUPP_SPEED
	.no_dead_strip	___lpc_params_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __lpc_params_setup
___lpc_params_setup:                    ; @__lpc_params_setup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	w0, [x0, #16]
	bl	_LPC_ENET_MAC2
	bl	_readl
Lloh3:
	adrp	x8, _LPC_MAC2_FULL_DUPLEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LPC_MAC2_FULL_DUPLEX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x20, x21
	b.ne	LBB0_2
; %bb.1:
	orr	w20, w8, w0
	ldr	w0, [x19, #16]
	bl	_LPC_ENET_MAC2
	mov	x1, x0
	mov	x0, x20
	bl	_writel
	ldr	w0, [x19, #16]
	bl	_LPC_ENET_COMMAND
	bl	_readl
Lloh6:
	adrp	x8, _LPC_COMMAND_FULLDUPLEX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LPC_COMMAND_FULLDUPLEX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w21, w8, w0
	mov	w20, #21
	b	LBB0_3
LBB0_2:
	bic	w20, w0, w8
	ldr	w0, [x19, #16]
	bl	_LPC_ENET_MAC2
	mov	x1, x0
	mov	x0, x20
	bl	_writel
	ldr	w0, [x19, #16]
	bl	_LPC_ENET_COMMAND
	bl	_readl
Lloh9:
	adrp	x8, _LPC_COMMAND_FULLDUPLEX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LPC_COMMAND_FULLDUPLEX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	bic	w21, w0, w8
	mov	w20, #18
LBB0_3:
	ldr	w0, [x19, #16]
	bl	_LPC_ENET_COMMAND
	mov	x1, x0
	mov	x0, x21
	bl	_writel
	mov	x0, x20
	bl	_LPC_IPGT_LOAD
	mov	x20, x0
	ldr	w0, [x19, #16]
	bl	_LPC_ENET_IPGT
	mov	x1, x0
	mov	x0, x20
	bl	_writel
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _SPEED_100@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SPEED_100@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _LPC_SUPP_SPEED@GOTPAGE
Lloh16:
	ldr	x10, [x10, _LPC_SUPP_SPEED@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w20, w10, wzr, eq
	ldr	w0, [x19, #16]
	bl	_LPC_ENET_SUPP
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_LPC_MAC2_FULL_DUPLEX,4,2       ; @LPC_MAC2_FULL_DUPLEX
	.comm	_LPC_COMMAND_FULLDUPLEX,4,2     ; @LPC_COMMAND_FULLDUPLEX
	.comm	_SPEED_100,8,3                  ; @SPEED_100
	.comm	_LPC_SUPP_SPEED,4,2             ; @LPC_SUPP_SPEED
	.no_dead_strip	___lpc_params_setup
.subsections_via_symbols
