	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_enet_configure_clock
_xgene_enet_configure_clock:            ## @xgene_enet_configure_clock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_clk_get_parent
	movl	(%rbx), %ecx
	cmpl	$128, %ecx
	movl	$25000000, %edx                 ## imm = 0x17D7840
	movl	$125000000, %edi                ## imm = 0x7735940
	cmovel	%edx, %edi
	cmpl	$129, %ecx
	movl	$2500000, %esi                  ## imm = 0x2625A0
	cmovnel	%edi, %esi
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_clk_set_rate                   ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xgene_enet_configure_clock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_enet_configure_clock
_xgene_enet_configure_clock:            ; @xgene_enet_configure_clock
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_clk_get_parent
	ldr	w8, [x19]
	mov	w9, #22848
	movk	w9, #1907, lsl #16
	mov	w10, #30784
	movk	w10, #381, lsl #16
	cmp	w8, #128
	csel	w9, w10, w9, eq
	mov	w10, #9632
	movk	w10, #38, lsl #16
	cmp	w8, #129
	csel	w1, w10, w9, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clk_set_rate
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xgene_enet_configure_clock
.subsections_via_symbols
